Friday, 18 May 2018

Cutting and Merging 2 Clips in Bash

Lets say you have a prank compilation and you only want to keep 2 specific cuts.

1 Cutting Clip
ffmpeg -ss <start time> -i original.mp4 -to <duration in seconds> cut.mp4
example: ffmpeg -ss 00:03:02 -i original.mp4 -to 0:33 cut.mp4

2 Merge
mencoder file1.mp4 file2.mp4 -ovc copy -oac pcm  -o merged.mp4

Both cuts need to be taken from the same original video

Featured Post

USO Fresh Ride Eastbourne

Another enjoyable ride, I'm well used to going down this route. There are some places where the road doesn't allow a car and a cyc...