Skip to content

Instantly share code, notes, and snippets.

View HugoCortell's full-sized avatar
🖋️
Writing silly docs

HugoCortell

🖋️
Writing silly docs
View GitHub Profile
@HugoCortell
HugoCortell / Useful FFMPEG Commands
Created March 2, 2021 20:27
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.
=== 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