Skip to content

Instantly share code, notes, and snippets.

@mrofi
Created July 25, 2018 00:16
Show Gist options
  • Save mrofi/4cd49aedbac52a1d15f406edab9f3174 to your computer and use it in GitHub Desktop.
Save mrofi/4cd49aedbac52a1d15f406edab9f3174 to your computer and use it in GitHub Desktop.
change video ration 16:9 to 9:16
ffmpeg -i video169.mp4 -lavfi '[0:v]scale=iw:ih*16/9,crop=w=iw*9/16' video916.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment