-
Notifications
You must be signed in to change notification settings - Fork 360
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
Cannot flush AudioResampler before it is used #537
Comments
I had the same problem when copying audio from one video to another video. I followed the instructions in https://github.com/mikeboers/PyAV/blob/develop/examples/basics/remux.py |
Looking at the code for a minute, it seems like a pretty pointless exception. It should just return I'll try to to dig a little deeper in the near future, and remove it. |
I removed the exception and just return |
It doesn't actually serve any purpose. Fixes PyAV-Org#537.
I am trying to convert a short .WAV file into another .WAV file but slightly modified. I have about 403 other files that successfully export using this function:
Until it runs into this exception:
Here is the data being passed to the function before the function, documented from my log:
Filename: BT-Snare CR78 Rim.wav, selected_codec: pcm_s16le, selected_frame_rate: 6000, channel_layout: stereo
It seems other files have no problems using the resampler except this one. All test files were taken from the same audio libraries as well. Any idea what's going on?
The text was updated successfully, but these errors were encountered: