Skip to content

Instantly share code, notes, and snippets.

@blgnksy
Last active October 27, 2019 16:00
Show Gist options
  • Save blgnksy/9521aff7bd132b1757b79946fe770b47 to your computer and use it in GitHub Desktop.
Save blgnksy/9521aff7bd132b1757b79946fe770b47 to your computer and use it in GitHub Desktop.

Crop frames from a video

-ss start pointer

-t end duration

ffmpeg -ss 00:03:08.000 -i _-AmJTHa0be6Q.mp4 -t 00:00:18.000  ./output/frame%07d.png

Concat multiple videos

ffmpeg -i aws_demo1.mov -i aws_demo2.mov -i aws_demo3.mov -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0]concat=n=3:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" output.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment