This will only work if the files have the same resolution and the same video and audio formats. It's used like this:įfmpeg -i "concat:file1.mp4|file2.mp4|file3.mp4" MyFineOutput.mp4 You can simply cat these into one file:Ĭat VTS_01_0.VOB VTS_01_1.VOB > $HOME/MyDVDRIPedFile.mpg Merging video files with ffmpeg įfmpeg has an option called concat for joining two files which have identical formats. If you have mounted a DVD on say /mnt/tmp/ you will have a /mnt/tmp/VIDEO_TS/ folder with MPEG2-formatted files called VTS_01_0.VOB, VTS_01_1.VOB and so on. Multiple MPEG2 files of the same resolution can simply be squished into one file with cat. This is actually the simplest of the simple examples of how files can be merged. You have to convert if they don't, see HOWTO Convert video files. Video file merging requires that the files you want to merge have the same resolution and file format. It gets dicey very quickly if they don't. It's super-easy if resolution as well as audio format, video format and container match. Merging two video files into one is easy or impossible depending on what tool you use for the job and what kind of files you want to merge.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |