Skip to content

Instantly share code, notes, and snippets.

@graven
Created August 25, 2010 05:30
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 graven/548916 to your computer and use it in GitHub Desktop.
Save graven/548916 to your computer and use it in GitHub Desktop.
QuickTime MOV to MP4 using H.264
#!/bin/bash
# Converts QuickTime MOV to MP4 using H.264 (aka MPEG-4 Part 10) as video encoder
# Used for screencasts
#
# keywords: convert MOV to H.264, QuickTime, iMovie, MP4, MPEG, ffmpeg
# platform: OS X
# note: to get HD output from iMovie, export through "Share using QuickTime"
#
ffmpeg -i $1.mov -vcodec libx264 -vpre hq -b 800k $1.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment