Error merging 1VID, 2AUD, 2SUB, 1CHAP in two mkv files with 0.8.4
Original reporter: andrea.cisternino@nch.it
Hi Moritz,
Thanks for a great set of tools!
I've been trying to create a split Matroska video (two mkv files) out of the following streams:
1 OpenDML AVI Video-only XviD 1.0RC2 1.05MBytes Encoded with VirtualDubMod 1.5.10.1 2 MP3 soundtracks CBR 128kbs Encoded with lame 3.95.1 2 Subtitles in textual SRT format Ripped with SubRip 1 Chapters definition in OGG format Extracted with ChapterExtractor
The platform is WinXP/SP1 and the movie is LOTR The Two Towers standard edition PAL in Italian. I have used the last version of the tools (0.8.4) and the runtime. The bug was there in 0.8.3 as well but not in 0.8.2.
Here is the output of the mkvmerge command with the error message:
C:\AV\LOTR> mkvmerge @mkvmerge_cmd.txt mkvmerge v0.8.4, built on Feb 11 2004 09:20:14 Using AVI demultiplexer for C:\AV\LOTR\lotr.avi. Opening file. This may take some time depending on the file's size. +-> Using video output module for video track ID 0. Using MP2/MP3 demultiplexer for C:\AV\LOTR\ita.mp3. +-> Using MPEG audio output module for audio stream. Using MP2/MP3 demultiplexer for C:\AV\LOTR\eng.mp3. +-> Using MPEG audio output module for audio stream. Using SRT subtitle reader for C:\AV\LOTR\it.srt. +-> Using text subtitle output module for subtitles. Using SRT subtitle reader for C:\AV\LOTR\en.srt. +-> Using text subtitle output module for subtitles. Opened 'C:\AV\LOTR\lotr_1.mkv' for writing. progress: 127542/249325 frames (51%)
Writing cue entries (the index)... Opened 'C:\AV\LOTR\lotr_2.mkv' for writing. Assertion failed: CheckMandatory(), file ../../src/EbmlMaster.cpp, line 139
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
The error shows up whenever I try to mux 2 MP3 and split the file. Every other combination, provided that there's only one audio track, works. It also works when producing a single mkv file.
The crash happens when it start muxing the second file.
I use a file for the command line options. Here is the content (slightly edited for clarity)
-o C:\AV\LOTR\lotr_%d.mkv
Video
-d 0 --track-name 0:Video --default-track 0 --display-dimensions 0:672x320 --fourcc 0:XVID -A -S C:\AV\LOTR\lotr.avi
Audio 1
-a 0 --language 0:ita --track-name 0:Italiano --default-track 0 -D -S C:\AV\LOTR\ita.mp3
Audio 2
-a 0 --language 0:eng --track-name 0:English -D -S C:\AV\LOTR\eng.mp3
Subtitles 1
-s 0 --language 0:ita --track-name 0:Italiano --default-track 0 -D -A C:\AV\LOTR\it.srt
Subtitles 2
-s 0 --language 0:eng --track-name 0:English -D -A C:\AV\LOTR\en.srt
Global opts
--title "Il Signore Degli Anelli - Le Due Torri" --link --split 697m --chapter-language eng --chapters C:\AV\LOTR\chapters-ogg.txt
Hope this helps.