# On Linux/Mac cat segment_*.ts > all.ts ffmpeg -i all.ts -c copy final.mp4 copy /b segment_*.ts all.ts