Closed FredHappyface closed 6 months ago
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: https://github.com/PyAV-Org/pyav-ffmpeg/compare/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 https://github.com/PyAV-Org/pyav-ffmpeg/pull/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. }}