You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wow; thanks for the detailed report! This looks like a tricky edge case; we can certainly make our parsing more robust.
One simple option would be to also require the line (after stripping) to start with Stream . I'm not familiar enough with FFmpeg's output format to be certain that this is always how the output looks, but it would certainly rule out erroneous confusion with the description field.
Version: 2.1.9
It is possible to fool audioread into determining there are 0 channels in the audio file when it does actually have an audio channel.
This occurs when metadata in the file contains the string "audio:"
Test case:
audioread assumes the first line on stderr containing "audio:" is ffmpeg outputting stream information
audioread/audioread/ffdec.py
Line 231 in 5afc8a6
As seen in the following output, the description containing "audio: broken" occurs before "Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s"
The text was updated successfully, but these errors were encountered: