Skip to content

Instantly share code, notes, and snippets.

@shawnhermans
Created September 21, 2015 17:33
Show Gist options
  • Save shawnhermans/8c712344500908977c40 to your computer and use it in GitHub Desktop.
Save shawnhermans/8c712344500908977c40 to your computer and use it in GitHub Desktop.
Example of command line encoding with ffmpeg
ffmpeg -i $1 -codec:v libx264 -profile:v high -preset slower -crf 25 -threads 0 -codec:a libfdk_aac -b:a 128k -f mp4 $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment