Last active
March 21, 2025 11:47
-
-
Save ToshY/38107d8edb0b6f74d60793c9a8bd3b5a to your computer and use it in GitHub Desktop.
FFmpeg MP4 to WebP 10 second 24FPS fragment
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.mp4" -vcodec libwebp -filter:v fps=fps=23.976 -lossless 1 -loop 0 -preset default -an -vsync 0 -s 320:180 -ss 00:00:15 -t 00:00:10 "output.webp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting at 20 seconds, every 7 minutes, create a 3 second segment with 23.976 FPS, scaled to 720:-2 (keep aspect ratio).