Skip to content

Instantly share code, notes, and snippets.

@gin1314
Created April 9, 2012 08:37
Show Gist options
  • Save gin1314/2342328 to your computer and use it in GitHub Desktop.
Save gin1314/2342328 to your computer and use it in GitHub Desktop.
ffmpeg: transcode a 4:3 to 16:9 aspect ratio with padding
-vf "pad=ih*16/9:ih:(ow-iw)/2:(oh-ih)/2,scale=640:360"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment