Skip to content

Instantly share code, notes, and snippets.

@upq
Created June 12, 2017 14:01
Show Gist options
  • Save upq/25f46edd1afa5c429cd1dc5335fb012d to your computer and use it in GitHub Desktop.
Save upq/25f46edd1afa5c429cd1dc5335fb012d to your computer and use it in GitHub Desktop.
ffmpeg commands
## mov to mp4
ffmpeg -i input.mov -r 30000/1001 -vcodec libx264 output.mp4
## Trim
ffmpeg -i input.mov -ss 00:00:00 -t 00:05:08 -r 30000/1001 -vcodec libx264 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment