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
How do I read back errors? #165
Comments
With some finagling I came up with this:
|
tanx was usefull
|
Hi, I also run into this problem, have you fixed it? |
Just ran into this as well (could not figure out how to read stderr coming from probe). Finally (after a lot of unsuccessful googling) I found the answer in a nicely placed comment in the the source code: From ffmpeg-python/ffmpeg/_probe.py:
So this is what worked for me:
|
AttributeError: 'NoneType' object has no attribute 'decode' |
@Keramatfar You might be using |
This wrapper is so fantastic and yet the error handling and logging is so poorly implemented, it seems. I wish some attention was payed to this. for example, passing the loglevel of the function to ffprobe funciton, so you can suppress the headers in the error, and fetch the actual error. Also , does this lib allow tracking of progress? I know ffmpeg spits this info out. This is a way to use this to generate a progress bar. |
When I get this back from ffmpeg
ffprobe error (see stderr output for detail)
I do not know how to check the stderr output for the details.Couldn't find an example of this in the documentation and couldn't figure it out myself.
The text was updated successfully, but these errors were encountered: