-
Notifications
You must be signed in to change notification settings - Fork 366
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 write to webp? #1352
Comments
Right now, we don't currently build wheels with webp support. |
@WyattBlue Why not though? I have successfully built ffmpeg with libwebp then build pyav with libwebp-enabled ffmpeg without problem. My fork of pyav-ffmpeg that can build libwebp-enabled ffmpeg: https://github.com/laggykiller/pyav-ffmpeg/tree/enable-libwebp The built pyav wheels could be downloaded from here: https://github.com/laggykiller/PyAV/releases/tag/6.1.0-libwebp-1 I can open PR for this: PyAV-Org/pyav-ffmpeg@main...laggykiller:pyav-ffmpeg:enable-libwebp If you don't want to enable libwebp in pyav, I can just maintain my fork and upload to pypi. |
@laggykiller You should make a PR for https://github.com/PyAV-Org/pyav-ffmpeg |
@WyattBlue Opened PR PyAV-Org/pyav-ffmpeg#96 |
I have merged @laggykiller, once CI completes I will point PyAV's build to the new binaries. |
Thanks for the awesome project, I was kindly informed about this when investigating performance when converting tgs/lottie using python-rlottie + pillow
Overview
I've been able to use pyav to write to 'gif' and 'apng' sucessfully, however, I cannot work out if webp is supported, the errors suggest not but I just wanted to clarify as I'm pretty new to using this library
Expected behavior
A list of supported codecs somewhere would be really useful as I've not been able to find these
Actual behavior
'webp' codec is not available, same behaviour when using 'libwebp'
Traceback:
Investigation
Tried searching the docs for supported codecs, tried looking through the code and searching the repo for 'gif' 'webp' etc and have found no results. Searching webp and ffmpeg suggests it is supported
Research
I have done the following:
Additional context
{{ Add any other context about the problem here. }}
The text was updated successfully, but these errors were encountered: