Concatenate Files

File Concatenation

This is what i used to concatenate multiple files together:

ffmpeg -f concat -i files.txt -c copy rsyncFullVideo.mkv

the files.txt portion is a list of all the files in their relevant directories wrapped in single quotes with the word "file" preceding each line like this:

file '~/Movie1.mkv'
file '~/Movie2.mkv'
file '~/Movie3.mkv'

after the copy command you list the output file/path/extension all of that and it works!

$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'

$ ffmpeg -f concat -i mylist.txt -c copy output.mp4