Skip to content

Instantly share code, notes, and snippets.

Created July 25, 2015 16:35
Show Gist options
  • Save anonymous/552f5dc73950542718cd to your computer and use it in GitHub Desktop.
Save anonymous/552f5dc73950542718cd to your computer and use it in GitHub Desktop.
Simplest lossy web ready x.264 ffmpeg command
#!/bin/bash
# strict 2 is required to use the built in aac codec
# Fast start may not be needed when using the built in aac, but it is for h264
ffmpeg -i input.mov -vcodec h264 -acodec aac -strict -2 -movflags faststart output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment