PDA

View Full Version : Editing a Chapterfile inside of an mkv file?


Stingrey
11th March 2006, 10:52
Hi,
my problem is that I encoded a video and muxed it with two audio tracks and four substreams in an mkv with a chapter file.
But now I recognized that some entries in the chapter file are incorrect, is there a way that I can edit the chapters without demuxing and remuxing the whole content, or how is the best way to do that?

End_of_Eternity
11th March 2006, 11:44
Hi,
my problem is that I encoded a video and muxed it with two audio tracks and four substreams in an mkv with a chapter file.
But now I recognized that some entries in the chapter file are incorrect, is there a way that I can edit the chapters without demuxing and remuxing the whole content, or how is the best way to do that?

Hi!

From my personal experience, I think its best if you make an external .xml chapter file and build a new mkv file (demuxing and remuxing). In my experience mkvmerge GUI tends output very wierd files when saving chapters in an existing mkv file.

These are just my observations and they could be specific to my setup (although I must say I tend to keep my machine pretty organized).

Haali
11th March 2006, 11:55
Demuxing everything is not needed. Add your existing file to mmg, add corrected chapters, then mux to a new file.

Stingrey
11th March 2006, 13:00
@end of eternity
when I´m demuxing the mkv file with mkvextract how should I extract the video stream so that I can add it to mkvmerge?

@Haali
When I do it like you say I get more and more "Editions" showed in Haali Media Splitter. But I want only 1 with the correct ones!

End_of_Eternity
11th March 2006, 15:51
@end of eternity
when I´m demuxing the mkv file with mkvextract how should I extract the video stream so that I can add it to mkvmerge?

I believe this can be done with mkvmergeGUI, just load up the mkv file in question. Tweak your chapter file, save it as chapters.xml. Then under global settings, load the the chapters.xml file and save the the whole thing as new mkv file.

As I understand, mkvmergegui also has an option to save chapter files into existing mkv files, but for me this option is pretty buggy, rendering the mkv file unplayable.

LeMoi
11th March 2006, 17:10
Edit your chapters with the chapter editor of mmg, then menu "Chapter Editor/Save to Matroska File" :)