Skip to content

Instantly share code, notes, and snippets.

@pwlin
Forked from johnjohndoe/vimeo.com.ffpreset
Created January 12, 2014 02:04
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 pwlin/8379645 to your computer and use it in GitHub Desktop.
Save pwlin/8379645 to your computer and use it in GitHub Desktop.
// FFmpeg settings for vimeo.com
// =============================
// Trying to find the best settings for encoding videos as described here: http://vimeo.com/help/compression
//
// Input file: MTS
// Video: H264, 1920x1080, 50fps
// Audio: A52 Audio (aka AC3), Stereo, 48kHz, 256kbps
ffmpeg -i input.mts -vcodec libx264 -acodec aac -strict experimental -vpre hq -s hd720 -b 5000k -ab 320k -r 25 -g 25 -threads 0 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment