Skip to content

Instantly share code, notes, and snippets.

@hasinhayder
Forked from johnjohndoe/vimeo.com.ffpreset
Created July 5, 2018 20:34
Show Gist options
  • Save hasinhayder/a91acf72b1624b58d7c3176d3e60373d to your computer and use it in GitHub Desktop.
Save hasinhayder/a91acf72b1624b58d7c3176d3e60373d to your computer and use it in GitHub Desktop.
FFmpeg settings for vimeo.com
// 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