Skip to content

Instantly share code, notes, and snippets.

@HugoCortell
Created March 2, 2021 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HugoCortell/29b2aa27b13f4277c891765bf0ee6308 to your computer and use it in GitHub Desktop.
Save HugoCortell/29b2aa27b13f4277c891765bf0ee6308 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment