stitching videos together using ffmpeg on the command line

quinn picture quinn · Dec 11, 2009 · Viewed 7k times · Source

Does anybody know how to stitch two (or more) videos together using ffmpeg (or another cli)? This is assuming that all the videos are in the same format and the video format being used allows for lossless stitching (no transcode, just end-to-end stitching).

Answer

rogerdpack picture rogerdpack · Aug 8, 2012

for newer ffmpeg's there is a "concat" input option too: http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f

See also Concatenate two mp4 files using ffmpeg