FFmpeg snippets
# filelist.txt
file '/path/to/file1.ts'
file '/path/to/file2.ts'
file '/path/to/file3.ts'$ ffmpeg -f concat -i list.txt -c copy merged.tsOr
$ ffmpeg -i "concat:file1.ts|file2.ts|file3.ts" -c copy merged.tsreference: https://trac.ffmpeg.org/wiki/Concatenate
$ ffmpeg -i input.ts -acodec copy -vcodec copy output.mp4