ffmpeg文件合並 文件1.ts~ 100.ts 流媒體文件
1.txt 格式
file 1.ts file 2.ts ... file 100.ts
命 令 (-vcodec copy -acodec copy 等於 -c copy)
.\ffmpeg.exe -f concat -i .\1.txt -c copy .\output.mkv
注意如果直接生成mp4文件會卡頓,所以先生成相同類型的mkv,再轉成MP4
.\ffmpeg.exe -i output.ts output.mp4