Some cameras split a sigle video into multiple files during recoding due to the limit of the maximum file size in the file system(e.g. maximum single file size for FAT32 is 4GB).
Therefore, we will take advantage of
FFmpeg to merge back our video fragments into a continued single video.
First, we put all our video fragments into the same folder, and create another file called
We add the names of the files into
clips.txt in order which we want to concatenate.
Below is an example of the file format.
file 'first.mp4' file 'second.mp4' ...
Last, run the following command will produce the concatenated video named
ffmpeg -f concat -i clips.txt -c copy output.mp4