Created
March 6, 2017 05:31
-
-
Save dreampiggy/52c658253de3ba22fd3dec4d3f3182ab to your computer and use it in GitHub Desktop.
ffmpeg MOV to Animated WebP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.mov -vcodec libwebp -lossless 1 -q:60 -preset default -loop 0 -an -vsync 0 output.webp |
-q:60 should be -q 60
ffmpeg -i input.mov -loop 1 -an -vf scale=750:-2 -r 24 output.webp
ffmpeg -i input.mov -loop 1 -an -vf scale=750:-2 -r 24 output.webp
tried this in May 2025 and it works
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
better gist -> https://gist.github.com/witmin/1edf926c2886d5c8d9b264d70baf7379