Basic video editing with ffmpeg
The following is my cheat sheet for basic video editing with ffmpeg split When I want to split a video input.mkv from 10s to 30s and save it as output.mkv: ffmpeg -i input.mkv -ss 10 -t 30 -vcodec copy -acodec copy output.mkv concatenate Let’s say, I want to join (concatenate) 2 video (or audio) files: part1.mkv, part2.mkv into a single file: joined.mkv. I will first create a file: input.txt with the following content:...