FFmpeg - Merging multiple videos containing chapters into one with chapters from originals

Pavouk106
2023-10-29T15:20:48Z

Hello,

I have quite some technical question and my DuckDuckGo-fu seems very weak on this one. I hope it is ok to post questions on Tildes, as it is not really discussion material... but someone can still learn and use whatever come from this.

I have Live Aid concert that I ripped from my DVDs and I wanted to merge the individual video files (there are four) into one long video. I'm on Linux and I'm used to ffmpeg in command line, though I do not know it that much. Each of the input videos has its own chapters and I would like to transfer those chapters into the final video as well. Preferably adding a chapter in between every input video.

I was unable to find if ffmpeg allows for something like that in a single inline command. I may have to export chapters from each input video and add them into one "chapter" file and redo times by hand on them and then use this file as "chapter" input when merging the videos, but all this is just a theory on my part.

Is there some FFmpeg expert here who has done something like that?

Comments URL: https://tildes.net/~comp/1bq4/ffmpeg_merging_multiple_videos_containing_chapters_into_one_with_chapters_from_originals

Votes: 12

Comments: 13