Log in

View Full Version : How can I join two mkv files into other mkv?


Affar
23rd November 2003, 11:36
I have two files of matroska, and i need to merge in one file.

I try to join them with mkvmerge 0.7.7 but I get one error:


Warning: Another default track for audio tracks has already been set. Not setting the 'default' flag for this track.
Warning: matroska_reader: Could not keep the track UID 1441291208 because it is already allocated for the new file.


The two files have been cut before with mkvmerge (1video, 2audio,1 sub srt).

Regards :)

Tuning
23rd November 2003, 12:52
Try VirtualDubMod. [http://virtualdubmod.sf.net]

-Tuning-

Affar
23rd November 2003, 13:28
Thanks for your answer but you can't append matroska with virtualdub (atleast if the file has subtitles)

Regards

Tuning
23rd November 2003, 13:50
Yes, You can append MKVs in VDM. You have to select "All files" when you open second file. ( Subtitles are also supported )

Affar
23rd November 2003, 14:22
I've tried the virtualdub thing but i get this error:

An out-of-bounds memory access (access violation) occurred in module 'VirtualDubMod'... ...while running thread "Dub-I/O" (thread.cpp:105).


Version VDM = 1.5.4.1 (build 2092)

Regards

bond
23rd November 2003, 14:47
Affar, as rule #1 says:
read before asking!
especially the matroska FAQ and use the search function

Tuning
23rd November 2003, 17:38
@bond
FAQ says there is some issues in output file when using VDM.

Is there as much problem to abandon VirtualDubMod for appending ?

By the way, I tested before posting above posts and i could not find any output failures.
The original MKV was first created with VDM, and then made two clips again in VDM and finally muxed with VDM. No Problem !

The MKV was a mux of DivX 5.1.1 video + ac3 audio + srt subs.

May be the problem is gone :).

Hiro2k
23rd November 2003, 17:52
@tuning
The new lacing that is used when you create an MKV in mkvtoolinux is not supported by virtualdubmod. So you can't expect to open any mkv created with mkvtoolinux until VDubMod is updated again. The reason your's worked is because you created it with vdubmod and then edited it with vdubmod again, so there is no problem. But if you want to use some more advaced things that have recently come out in mkvtoolinux, then you have to mux them with mkvtoolinux and you won't be able to open those files with vdubmod.

Tuning
23rd November 2003, 18:02
Thanks Hero2K,

I have never done testing on files that are originally done with mkvmerge.
Thanks for pointing out.

So that is the problem occured to Affar. Now I understand. So Affar need to use AVI-MUX for this task.

Bye

pixolex
23rd November 2003, 18:05
AVI-MUX GUI do that for you... ;) i have also put that question but to merge 2 avi...

Atamido
23rd November 2003, 18:30
AVI-Mux GUI will do it. The Matroska Stream Editor will also do it. You could also remux the files with MKVMerge with lacing disabled and then join them with VDM.