Licson Lee says to YSITD ffmpeg -i ”concat:1.ts|2.ts|3.ts|4.ts|5.ts“ -c:v libx264 -c:a aac output.mp4