Hacking Windows 7 Media Center

Merge Multiple Part Videos into a Single MKV Format File

by @ 6:15 am on March 27th, 2009 in converting files, mkv matroska, programs, subtitles with 26 Comments

MKVToolnix Have a multipart video you’d like to merge into a single MKV file? MKVToolnix has just the tool for you! Using this handy little app you can pack those multipart AVIs, MP4s, even MKVs and more into a single MKV video file. Just choose the part and let it do it’s thing. MKVToolnix’s MKVMerge GUI takes what could be an otherwise painful task and makes it simple as can be.

To get started download and install the MKVToolnix program from the MKVToolnix website. This amazing little open source product comes in a variation for almost every platform. Once you’ve got it install run the MKVMerge GUI from the programs menu to open the merging program. The interface is simple for beginners but has enough features to satisfy most any user.

MKVMerge Interface

For the basic user, getting started is as simple as adding the separate parts of your video to the input files box using the “Add” button to the right. This will create separate tracks for director commentary, special features, etc. To play one part immediately after another, add the first file then use the “Append” button to add subsequent parts.

The files will be read by the program and display the track information below in the “Tracks” box. Separate video and audio tracks should appear for each part added to the input files. Currently, MKVMerge doesn’t support WMA audio however and can’t be merged. An error will appear in the tracks section if this occurs.

Add files to MKVMerge

From here just set the output filename in the input at the bottom of the dialog and press “Start Muxing” to begin the merge. No flash, no fuss, this is one of those apps that just works and that’s the best kind.

Set merged MKV file output

For more advanced users (or perhaps just more demanding) there are also options to include attachments, split files, set chapters and more. All for the same basic interface you have the ability to attach subtitle files and set chapters for your MKV files. There really isn’t much you can’t do with MKVMerge if you have the time or desire to do so.

Attach subtitles and more

Once the process has started merging the files into a new MKV file takes almost no time at all since re-encoding isn’t required to create the new file. This narrows the time spent converting videos down from hours to mere minutes, especially nice for those with larger collections need work. In a matter of minutes MKVMerge will spit out your fresh new MKV file.

Start Muxing MKV file

This really is one of the simplest programs available and the ability to simply remux videos into MKV as opposed to converting them frame by frame is a godsend. Time is precious, save yourself some time by using MKVMerge from MKVToolnix and you won’t regret it. Best of all it’s free!

Become a subscriber to Hack7MC’s RSS Feed or become on of our followers on Twitter and join in the conversation!

26 Comments


Justin
Comment #250 from Justin [Reply]

Hi I am new to combining several mkv files into one and I downloaded mkv merge.I have Transformers in mkv split into 2 files part one is 7.93 GB and part two is 4.35 GB.I tried to combine the two using mkv merge but when I play it in vlc or media player classic it opens two windows and plays both parts that I tried to merge at the same time with audio only for the first part.If I open it in windows media player it will only play the first part.What did I do wrong I just want to combine the 2 parts into one 12.2 GB mkv file please help

Comment left April 6, 2009 at 9:06 am Permanent Link
Comment #251 from Michael Healy [Reply]

To play split parts one after another use the Append button after adding the first file. So use “Add” for the first part, then “Append” the other parts. Sorry, I left that out originally.

Using only the “Add” function creates multiple streams for when you want seperate director’s commentary, features, etc. included in a single file.

Comment left April 6, 2009 at 9:34 am Permanent Link

Anonymous
Comment #1542 from Anonymous [Reply]

That is the best program I’ve ever seen for this. This website is a lifesaver. (My daughter is a harsh critic when her movies don’t work right).

Comment left June 9, 2009 at 4:21 pm Permanent Link

Randy
Comment #1558 from Randy [Reply]

Using MkvToolnix splitting a Mkv into parts to fit on dvd5′s, then using tsmuxer to create an avchd disc works, but each time the movie will pause for a few seconds and skip (about 30sec) of the movie.
Is this a fault of the player Sony BDP-S301 or something in the splitting?

Comment left June 10, 2009 at 8:11 am Permanent Link

Anonymous
Comment #1734 from Anonymous [Reply]

So…. what do we dl… on the website… there’s like a million links that don’t work

Comment left June 19, 2009 at 8:28 pm Permanent Link

Gad
Comment #6353 from Gad [Reply]

MKVmerge really does seem to be a great program, but I’ve had some trouble getting it work exactly the way I want it to work; maybe someone can help me out.

Here’s the problem: let’s say you were going to rip a film and then add the trailer, “making of” video, etc. and you wanted to put it all in one file. Clearly you would want to use the “add” function and not the “append” function (which I suppose would work, but it would be a bit like extra features used to be back in the VHS days — anyone remember those?). Well, here’s the problem if you open this merged file in VLC it does play all the videos merge at the same time; opening it in Media Player Classic, works a bit better, but it still has an awkward feel to it: if you want to switch to a different section it becomes necessary to change the video option, and then switch over the audio option — it works, but it is all very clumsy.

I have seen video files (in MKV format) which, when opened in VLC will play the video file with it’s corresponding audio (meaning the tracks set to default), but when a user selects another video file (such as “Trailer”) from the “Video Track” menu it loads up that video with ITS corresponding audio.

So basically, what I’m talking about is a video file which when opened in VLC or MPC plays just like any other video file, but which works almost like a DVD menu in the sense that a user can jump to which ever conjoined video file he wishes (without having to change the video and audio separately); it seems to me that this would be the far better way of joining files. Can anyone out there explain to me how this can be done? I suspect that everything I need lies in MKVmerge (or the MKVtoolkit or whatever), but that I simply haven’t found what settings to use.

Comment left January 5, 2010 at 6:28 pm Permanent Link

Anonymous
Comment #9364 from Anonymous [Reply]

Well maybe you are to look in to Chapters…

second to that – how can i merge 2 or more parts of a movie in a single mkv? The catch is every part has its own corresponding .srt file with subtitles?

Comment left April 14, 2010 at 12:29 pm Permanent Link
@Reply #9841 from enTRAPAG [Reply]

It’s lierally as easy as you want it to be. You just add the first video and append the rest in order. Then Add the first .SRT and append the rest in order. You can do multiple streams of everything as long as the time code of each split file jives.

Jap.Aud1
++>Jap.Aud2
++>Jap.Aud3
Video1
++>Video2
++>Video3
SRT.Eng1
++>SRT.Eng2
++>SRT.Eng3
FunFact.teletext1
++>FunFact.teletext2
++>FunFact.teletext3
AudioOfActorKissingDirectorsAss1
++>AudioOfActorKissingDirectorsAss2
++>AudioOfActorKissingDirectorsAss3

Comment left April 16, 2010 at 12:08 am Permanent Link

bob
Comment #17551 from bob [Reply]

I’m trying to do what Gad is doing. I have multiple videos that I want to combine, like the main movie, a trailer, a deleted scene, etc. Ideally, each video is it’s own track. After selecting a video, the chapters menu should change according to that particular video track. For example, the main movie as 16 chapters. The trailer has 1 chapter. The deleted scenes video has 3 chapters because there are 3 outtakes.

Does this make sense? Each of my videos are already in .mkv files with appropriate chapters. It’s just a matter of combining them. I can only seem to get 1 video’s chapters working on that tab. I create a new subchapter, and add the second video, but that resets the whole tab.

Basically, I want to have 1 .mkv file with everything in it. It’s basically like a DVD iso, but instead of a menu, you right click and choose a video. After choosing a video track, the appropriate chapters, audio, and subtitles should load. Is this doable?

Comment left September 17, 2010 at 9:31 pm Permanent Link

John Pham
Comment #27702 from John Pham [Reply]

Please help.

I used the MKVmerge to add a second audio files to the movie. The software is awesome and output so quickly than most of the software out there. It seem to work perfectly… output the MKV file and can be play using the VLC media player. The only problem that I’m running into is trying to play it with my media player (Osus or Western digital media player). The movie will not play or nothing show up on my HDTV. Does anyone know what I did wrong or how to solve this issue please do repply or e-mail me some information regarding of this issue I will bre greatly appreciated.

Thank you all

Comment left December 29, 2010 at 6:28 pm Permanent Link

Anonymous
Comment #33448 from Anonymous [Reply]

tnx that was nice :)

Comment left February 18, 2011 at 4:39 pm Permanent Link

Chris
Comment #38881 from Chris [Reply]

Well I tried to combine .mkv (12) with this and it always open me 12 windows of each part.
Even when using Append.

Help?

Comment left April 16, 2011 at 11:56 pm Permanent Link

Nico Mac
Comment #41820 from Nico Mac [Reply]

Problem: When I merge two MKV of different bluray rips (they have correct preview icons), the final mkv plays ok, but the preview icon DOES NOT SHOW on vlc, neither shows in mediaplayer or in divx player. And it takes ages before the operating system scans the whole file (trying to identify it?).
Takes ages also when copying or moving those files, unless I copy them from command prompt.
What could be the problem?

Comment left May 16, 2011 at 6:55 am Permanent Link
Comment #44592 from sew [Reply]

Friends Its really awesome

Comment left June 19, 2011 at 5:54 am Permanent Link

Altaf`
Comment #46730 from Altaf` [Reply]

This is a gr8 relief….thanx bro.

Comment left August 18, 2011 at 6:28 am Permanent Link

Anonymous
Comment #50213 from Anonymous [Reply]

Error: ‘- Hindi’ is neither a valid ISO639-2 nor a valid ISO639-1 code. See ‘mkvmerge –list-languages’ for a list of all languages and their respective ISO639-2 codes.

Comment left November 2, 2011 at 8:14 am Permanent Link

Jigar
Comment #50214 from Jigar [Reply]

Error: ‘- Hindi’ is neither a valid ISO639-2 nor a valid ISO639-1 code. See ‘mkvmerge –list-languages’ for a list of all languages and their respective ISO639-2 codes.

Comment left November 2, 2011 at 8:15 am Permanent Link

Jigar
Comment #50215 from Jigar [Reply]

please help me out

Comment left November 2, 2011 at 8:15 am Permanent Link
Comment #56862 from Chaos [Reply]

ERROR: The formats do not match, any help?

Comment left January 5, 2012 at 7:32 pm Permanent Link
Comment #60597 from Juan [Reply]

Wow! I was searching about how to merge a parts videos in one, and I landed on this site. I was try it if this will work. I was surprised that this small application did what I want exactly. I have so many video tutorial with a lot of parts, now, I can be able to make them as one file.

Thanks for making this program. More power and hope more useful stuff to be release.

Comment left January 28, 2012 at 3:28 pm Permanent Link

Chas
Comment #64153 from Chas [Reply]

The files merge no problem but when i try to play them in MediaBrowser I get colored vertical lines and now sound instead. Any idea why?

Comment left February 28, 2012 at 10:29 am Permanent Link

Randy Johnson
Comment #74881 from Randy Johnson [Reply]

Regarding MKVmerge, I know this is a late post, but is there a limit to the size of a MKV file for it to play in windows media center? I just merged a full season of Weeds and it plays with WMP, but will not play in Media Center.

Also, does anyone know if media center supports MKV chapters? Have been able to find any chapter support for MP4 or MKV.

Comment left July 1, 2012 at 12:48 pm Permanent Link

Pramod Kulkarni
Comment #84789 from Pramod Kulkarni [Reply]

I am having problem.

I have video in mkv in 7 parts. Total size 690 MB.

When I merge I am getting an output file In KMPlayer format with size of 21GB.

The file does not open in MK player at all.

Please help.

Comment left October 8, 2012 at 11:19 am Permanent Link

Anonymous
Comment #96740 from Anonymous [Reply]

For those getting errors because of trying to merge deleted scenes with the main movie or something similiar – it’s because your videos don’t have the following things in common:

- Encoding algorithm (for both audio and/or video; x264 1080p with h264 720p won’t work, you have to encode the entire vid for that)

- different fps rates between the video parts

- multi channel audio vs single channel audio

Comment left December 30, 2012 at 1:02 am Permanent Link

Muhammad Farooq Mirza
Comment #138393 from Muhammad Farooq Mirza [Reply]

Use HJ-Split Software for join and split the files
Thanks

Comment left July 20, 2013 at 12:07 am Permanent Link

Leave A Comment

Post Anonymously, Fill in your details or Use one of the Social Networks below to login and post a comment!