Similar to the previous two posts (Cut a video from desired time intervals and Creating a custom animated gif from a selected duration of a video), I have now a requirement to stich videos together!
The way I can accomplish this using ffmpeg is. Create a list of inputs in a file called
input.txt looks like this:
file IMG_4592.m4v file IMG_4594.m4v file IMG_4595.m4v
This is in same folder as the video input files where I plan to run the code to stitch!
The command to stitch (here concatenate) the videos together is:
ffmpeg -f concat -i inputs.txt -vcodec copy -acodec copy intl_clown_fest_final.m4v
Subscribe to Santosh writes here
Get the latest posts delivered right to your inbox