Skip to content

Instantly share code, notes, and snippets.

Avatar
📽️
Studying at VFS

HugoCortell

📽️
Studying at VFS
View GitHub Profile
@HugoCortell
HugoCortell / Useful FFMPEG Commands
Created Mar 2, 2021
A list of useful FFMPEG Commands, such as how to make a gif. Because FFMPEG is too complicated for the averge user and you should not have to spend several hours reading documentation and debugging just to process a video.
View Useful FFMPEG Commands
=== I will update this gist in the future with more stuff ===
Got a command you want to add to the list? There is a comment section below this gist just for that!
=== MAKING A GIF ===
ffmpeg -i YOURVIDEO.mp4 -vf "fps=24,scale=800:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif