-
Notifications
You must be signed in to change notification settings - Fork 2.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
Add ffmpeg4 installation instructions in warnings #5167
Add ffmpeg4 installation instructions in warnings #5167
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks !
To make it warn only once, feel free to use a global counter in python - and if the warning has already been done, you don't do it again |
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the same formatting for the error message :) thanks !
Oh and regarding the warning counter, you can do it in another PR maybe ?
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
nice!! thank you!
Yes, more warnings is better then no warnings.... I'll merge when the CI passes |
Adds instructions on how to install
ffmpeg=4
on Linux (relevant for Colab users).Looks pretty ugly because I didn't find a way to check
ffmpeg
version from python (withoutsubprocess.call()
;ctypes.util.find_library
doesn't work`), so the warning is raised on each decoding. Any suggestions on how to make it look nice are welcome!This is how it looks on Colab: