Skip to content

Instantly share code, notes, and snippets.

@bnerd
Created November 23, 2012 08:44
Show Gist options
  • Save bnerd/4134577 to your computer and use it in GitHub Desktop.
Save bnerd/4134577 to your computer and use it in GitHub Desktop.
Simple Encoding with ffmpeg
ffmpeg -i input -r 25 -b:v 1M -bt:v 1.6M -vcodec libx264 -preset medium -acodec -acodec libfaac -ac 2 -ar 44100 -b:a 128k output.mp4
ffmpeg -i input -preset libvpx-720p -b:v 1850k -acodec libvorbis -b:a 128k -f webm output.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment