How to concatenate two MP4 files using FFmpeg?

后端 未结 22 3407
遇见更好的自我
遇见更好的自我 2020-11-22 02:32

I\'m trying to concatenate two mp4 files using ffmpeg. I need this to be an automatic process hence why I chose ffmpeg. I\'m converting the two files into .ts files and th

22条回答
  •  一向
    一向 (楼主)
    2020-11-22 03:04

    For .mp4 files, I found it works better and faster to use the opensource command line tool: mp4box. Then You can use it this way:

    mp4box.exe -add video1.mp4 -cat video2.mp4 destvideo.mp4
    

    Download it here for most platforms: https://gpac.wp.imt.fr/mp4box/

提交回复
热议问题