-
Notifications
You must be signed in to change notification settings - Fork 1k
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
EOFError when loading Mp3 #50
Comments
After inspecting the code, this seems to be a problem with the pre-compiled version of ffmpeg in Ubuntu 12.04, which is failing with the error:
After uninstalled the ffmpeg package and compiling it from scratch following https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide, it seems to work fine. This issue aside, it might be a good idea in
to:
so the user can see a more direct error message. Not seeing that wasted a lot of my time. |
I wonder if there is a good way to make this user configurable. How would you feel about capturing |
What about logging? if the user is logging her application she will be able to see the log anyway. |
Checking the exit code for a non-zero value makes sense. |
Hi, I also have a problem with playing an mp3. from pydub import AudioSegment
would anyone help me? Thanks! |
@Ratnaganadi It looks like you don't have ffmpeg installed, or if it is installed, pydub can't find it. |
@Ratnaganadi You may want to take a look at the Getting ffmpeg set up section of the read me :) |
When I try to load audio from an mp3, it throws an EOFError.
The specific file I used is http://gamesplusone.com/thebugle/thebugle035.mp3, which appears to be perfectly valid.
I'm using the current version on PyPI, pydub==0.8.3.
The text was updated successfully, but these errors were encountered: