How to: Merge Multiple Video Files Into One Using ffmpeg

ffmpeg -i video1.avi -sameq video1.mpg
ffmpeg -i video2.avi -sameq video2.mpg
ffmpeg -i video3.avi -sameq video3.mpg
# so on for every file to be merged
cat video1.mpg video2.mpg video3.mpg | ffmpeg -f mpeg -i - -sameq video.avi
Tuesday, September 27th, 2011 Uncategorized

Leave a Reply