The following can be used to join multiple video files into a single large video file.
Note: All videos must be the same resolution
The steps are:
- List the files in the directory and use that as the file list to join
- Put the word “file” at the start of each line, which is what ffmpeg uses
- Run the command to join (concatenate) the video files
The output file will be called output.mp4
ls > filestojoin sed 's/.*/file &/' filestojoin > filelist ffmpeg -f concat -i filelist -c copy output.mp4