[FFmpeg-user] How to save chapters to mkv

Ulf Zibis Ulf.Zibis at gmx.de
Sat Jan 5 02:44:34 EET 2019

Thanks for your ideas ...

Am 04.01.19 um 23:04 schrieb Paul B Mahol:
> On 1/4/19, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
>> Hi,
>> as far as I know, the Matroska format is able to save chapter information.
>> As input I have 23 VOB files, each represents a chapter. I want to
>> transcode this to MPEG-4 in a single MKV file with chapter markers.
>> How does this work?
> Write manually chapter metadata file, or use mkvmerge somehow.

Hm, this sounds difficult, because the timestamps of the input files are
little corrupted (but -i "concat:file1|file2.. -c copy repairs it). So I
don't have an idea, how to get the correct timestamps and manually
preparing the metadata file for 23 input files seems a lot of work.


More information about the ffmpeg-user mailing list