-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Video Reader's get_metadata function fails on videos with sound #8420
Comments
anyone got this resolved? |
Try using a Conda environment. Besides torch still not being able to find my GPU, at least this error ain't showing up for me anymore. |
I've been encountering this bug, too, using |
Thanks all for the reports. This should hopefully be fixed by @stefan-baumann 's #8548. This will be available in the next version within a few months. |
🐛 Describe the bug
With the previous code this error occurs:
This occurs because av.audio.codeccontext.AudioCodecContext does not have the attribute average_rate
A solution could be to check if the stream is a video before adding assigning average_rate to rate
Here's the output of running ffprobe on the video file:
The text was updated successfully, but these errors were encountered: