Skip to content

Instantly share code, notes, and snippets.

@jorgepinon
Last active August 29, 2015 14:12
Show Gist options
  • Save jorgepinon/96e1480dc7d62a17098a to your computer and use it in GitHub Desktop.
Save jorgepinon/96e1480dc7d62a17098a to your computer and use it in GitHub Desktop.
basic ffmpeg web video command
ffmpeg -i input_file.mp4 -codec:v libx264 -profile:v high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -codec:a libfdk_aac -b:a 128k output_file.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment