Skip to content

Instantly share code, notes, and snippets.

@guilhermechapiewski
Created April 5, 2010 23:52
Show Gist options
  • Save guilhermechapiewski/357027 to your computer and use it in GitHub Desktop.
Save guilhermechapiewski/357027 to your computer and use it in GitHub Desktop.
ffmpeg line that converts MPEG-2 video to Vimeo format with HD quality
# Vimeo requirements for HD video:
# -r 30 --> 30 frames per second
# -b 5000k --> bitrate = 5000 k
# -s 1920x1080 --> sets output size
# -vcodec libx264 --> encodes using h.264
ffmpeg -i ~/Desktop/source.mpg -deinterlace -r 30 -b 5000k -vcodec libx264 -vpre libx264-hq -s 1920x1080 ~/Desktop/destination.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment