Ups… I shouldn’t have press the record button so many times…

Given the following videos, which all have the same specs:


Create a file with the list of videos with the following standard:

file '/tmp/video1.mp4'
file '/tmp/video2.mp4'
file '/tmp/video3.mp4' 

TIP: if you have many files, you could do something like this

$ for f in `ls /tmp/*.mp4`; do echo "file '/tmp/$f'"; done > video-list.txt

Run FFMPEG with “concat” filter

$ ffmpeg -f concat -i video-list.txt -c copy video.concat.mp4 

The file video.concat.mp4 should have all the concatenated videos