Skip to content

Instantly share code, notes, and snippets.

@fvztdk
Last active March 27, 2017 13:13
Show Gist options
  • Save fvztdk/aa98ed795d767ac1a208 to your computer and use it in GitHub Desktop.
Save fvztdk/aa98ed795d767ac1a208 to your computer and use it in GitHub Desktop.
Video crop ffmpeg ATC Chameleon
ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4
out_w is the width of the output rectangle
out_h is the height of the output rectangle
x and y specify the top left corner of the output rectangle
ffmpeg.exe -i AW0001.mp4 -filter:v "crop=1280:720:0:0" camera1.mp4
ffmpeg.exe -i AW0001.mp4 -filter:v "crop=1280:720:0:720" camera2.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment