Skip to content

Instantly share code, notes, and snippets.

@hallettj
Created July 7, 2009 08:56
Show Gist options
  • Save hallettj/141973 to your computer and use it in GitHub Desktop.
Save hallettj/141973 to your computer and use it in GitHub Desktop.
# Command to transcode HD video for upload to Vimeo. This assumes that the video started with appropriate dimensions and frame rate.
ffmpeg -i bdd.MP4 -an -pass 1 -vcodec libx264 -vpre fastfirstpass -b 5000k -bt 5000k -g 30 -threads 0 -y -f null /dev/null && ffmpeg -i bdd.MP4 -acodec libfaac -ab 128k -pass 2 -vcodec libx264 -vpre hq -b 5000k -bt 5000k -g 30 -threads 0 -y -f mp4 bdd.prepared.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment