-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck on "analyzing audio" #72
Comments
Maybe try using a MP3 file instead of WAV? |
@hello10293 This is unrelated to audio formats. When it's "reading audio", it's reading the audio of both files into memory as WAV, regardless of the audio format contained in the input. This is how Stammer matches frames by audio. Unfortunately, right now the analyzing step can be extremely slow for long inputs, as it is completely single-threaded and does looped operations to match the frequencies of the entirety of both inputs. It's probably possible to have threads working on chunks of the modulator input, to compare against the entirety of the carrier input. I'd like to experiment with that |
Actually, kinda stumped. There is supposed to be a progress string being printed... |
I do have ffmpeg installed, so there shouldn't be any issues seeing as it does extract the frames. |
The input always gets converted to the same sample rate internally by stammer anyway |
When running
python3 stammer.py SteamedHams.mp4 OnJulySecond1988.wav onjuly.mp4
, the video is processed to have it's frames dumped into memory, but when it comes time to read the audio (of what?) and analyzing it, the process just gets stuck doing nothing using up one core and is unkillable by doing Ctrl+C.This is the current console output.
https://files.catbox.moe/79n9ks.wav
And this is the file "OnJulySecond1988.wav", am I doing something wrong?
The text was updated successfully, but these errors were encountered: