Skip to content

Instantly share code, notes, and snippets.

@sageworksstudio
Created January 23, 2020 23:00
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 sageworksstudio/08c94c47977c8469fa43e23428b875f2 to your computer and use it in GitHub Desktop.
Save sageworksstudio/08c94c47977c8469fa43e23428b875f2 to your computer and use it in GitHub Desktop.
FFMPEG cheatsheet

ffmpeg

Convert with 2 pass

ffmpeg -i input.mp4 -b:v 0 -crf 30 -pass 1 -an -f webm /dev/null

ffmpeg -i input.mp4 -b:v 0 -crf 30 -pass 2 output.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment