Search code examples
videoffmpegvideo-processingvideo-encodingvideo-editing

stitching videos together using ffmpeg on the command line


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).


Solution

  • Using ffmpeg I think the command you want is

    -newvideo

    the help describes this as "add a new video stream to the current output stream"

    although I personally have not tried it.