MKV and MP4 Files - Merge into a Single File

How to Combine Multiple MKV or MP4 Segments into 1 File


If you have multiple .MKV or MP4 files that you would like to to merge together, forming a single MKV file, without recoding, this tutorial will show you how.​


You will need MKV merge for this task.


For MeGUI Users:
The MKV Merge GUI can be found in the 'Tools" folder in the installation directory.
By default: "C:\Program Files (x86)\MeGUI\Tools\mkvmerge\mmg.exe​

toolsfolder.jpg

Download

If you do not have MeGUI, or MKVToolNix, you can get it here:
Index of /videotools/mkvtoolnix/win32/

Scroll down to the bottom for the latest versions.
download.jpg


There will be 2 versions.
1 is a installer version, one is a zip file containing all thats needed.​

For the purposes of MKV merge, it does not need to be installed, and the 7-zip package is perfectly fine, unless you wish to install it. Your Choice here.​

Once extracted, you will have a folder called, mkvtoolnix.
It contents will be the exact same as the MeGUI/Tools/MKVMerge Folder.​




((Please make note, you will still need Haali Splitter))


How to Merge the Files

1) Open MKVMerge by Double Clicking the MMG.Exe file the toolkit.
You will have a GUI that looks like one in Step 2​

2) Click the Add button, and add the first video clip.​

Guiadding-1.jpg


Please not, that it does not have to be a MKV file as the source. This works for MP4 as well.​

As usual with MKV Merge, you will have a list of all streams this video contains.​




3) Next, to "merge" another video:
Click the Append button, and choose the next clip you wish to add
Do not add!

The next clip will follow the 1st in play order.​

append.jpg


As you can see, as indicated by the ++> symbol, this will be merged into the first video, imediatly following it.​



4) Repeat the append step for each video you wish to add.​


5) Once you have added all you wish too add, Click the Browse button in the Output section at the bottom, and choose a save location, and name you Combined Video as you see fit.​


6) Press Start Muxing.​




Thats it :)
Hope this is useful.​
 
  • Like
Reactions: Arc
Nice. I'm a fan of MKV but alas its not a very popular format. We need more info and tuts like yours. Cheers!
 

My Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Thank you for the kind words :)
 

My Computer

Computer Manufacturer/Model Number
Custom (Self Build)
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i7 2700k
Motherboard
eVGA P67 SLI
Memory
8GB Mushkin Redline Ridgebacks @1866
Graphics Card(s)
EVGA GTX570 SC
Sound Card
XiFi Titanium HD
Monitor(s) Displays
LG W2453V
Screen Resolution
1920x1080
Hard Drives
Intel 320 80GB -- Intel X25-V 40GB --WD Black 1TB x2 -- WD Blue 640GB
PSU
Seasonic x750
Case
Corsair 600T SE White
Cooling
eVGA Superclocked CPU Cooler
Keyboard
Saitek Cyborg
Antivirus
Kaspersky
Browser
IE
Other Info
LG BD/DVD
MKV is coming on big time. Seems like everyone is using it for HD videos, Thanks for the headsup on this app.
 

My Computer

Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Home Premium
CPU
Intel Core2 Quad Q9505
Motherboard
Intel DP45SG
Memory
8GB SDRAM DDR3
Graphics Card(s)
ATI Radeon HD 8500
Sound Card
onboard
Monitor(s) Displays
HDTV
Screen Resolution
1080p
Hard Drives
WD 500GB

2x Seagate 500GB 7200.11
Case
Thermaltake Spedo
Why where is no thumbnail after merging? I have thumbnails for all my mkv's except for ones I merged with mkvmerge. Any ideas how to fix it? Thanks
 

My Computer

OS
Windows 7 Ultimate x64
Are you using Sharks codec package with the DIVx thumbnailer?

The only reason I can think of ATM, is its catching it a point where the image is black to create the thumb.

I have run into this problem on just a few MKVs, but overall the thumbs work properly.

There have also been a couple that I was able to fix by dleteing the thumb cache, and re-making them. Bear in mind, this deletes all thumbs however.
 

My Computer

Computer Manufacturer/Model Number
Custom (Self Build)
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i7 2700k
Motherboard
eVGA P67 SLI
Memory
8GB Mushkin Redline Ridgebacks @1866
Graphics Card(s)
EVGA GTX570 SC
Sound Card
XiFi Titanium HD
Monitor(s) Displays
LG W2453V
Screen Resolution
1920x1080
Hard Drives
Intel 320 80GB -- Intel X25-V 40GB --WD Black 1TB x2 -- WD Blue 640GB
PSU
Seasonic x750
Case
Corsair 600T SE White
Cooling
eVGA Superclocked CPU Cooler
Keyboard
Saitek Cyborg
Antivirus
Kaspersky
Browser
IE
Other Info
LG BD/DVD
I must admit, I am not familiar with K-Lite, only Sharks.

I do know MKVs often show a black thumbnail, but the Divx MKV thumbnailer works nicely, included in his pack.

being as thats the only one I use, and am familiar with, Im really not sure what to suggest. Perhaps other K-Lite users would have more info.
 

My Computer

Computer Manufacturer/Model Number
Custom (Self Build)
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i7 2700k
Motherboard
eVGA P67 SLI
Memory
8GB Mushkin Redline Ridgebacks @1866
Graphics Card(s)
EVGA GTX570 SC
Sound Card
XiFi Titanium HD
Monitor(s) Displays
LG W2453V
Screen Resolution
1920x1080
Hard Drives
Intel 320 80GB -- Intel X25-V 40GB --WD Black 1TB x2 -- WD Blue 640GB
PSU
Seasonic x750
Case
Corsair 600T SE White
Cooling
eVGA Superclocked CPU Cooler
Keyboard
Saitek Cyborg
Antivirus
Kaspersky
Browser
IE
Other Info
LG BD/DVD
If you plan on using WMC or WMP x64, yes.

If you only use the x32 WMP, the 32bit should be all thats needed.

None the less, I would go ahead and install both. Just be sure to completely remove K-Lite first.
 

My Computer

Computer Manufacturer/Model Number
Custom (Self Build)
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i7 2700k
Motherboard
eVGA P67 SLI
Memory
8GB Mushkin Redline Ridgebacks @1866
Graphics Card(s)
EVGA GTX570 SC
Sound Card
XiFi Titanium HD
Monitor(s) Displays
LG W2453V
Screen Resolution
1920x1080
Hard Drives
Intel 320 80GB -- Intel X25-V 40GB --WD Black 1TB x2 -- WD Blue 640GB
PSU
Seasonic x750
Case
Corsair 600T SE White
Cooling
eVGA Superclocked CPU Cooler
Keyboard
Saitek Cyborg
Antivirus
Kaspersky
Browser
IE
Other Info
LG BD/DVD
I have installed Sharks codecs and still dont have thumbnails for merged files. Thumbnails working for .mkv files, but not for merged ones. Do I need to set something in Sharks codecs or MKVToolNix? Also maybe problem is because I am trying merge .vob files? Its DVD from 4 separate files and I want to do single file.


P.S. MKVToolNix with none compression on video file is the same - no thumbnails.
 

My Computer

OS
Windows 7 Ultimate x64
Thanks Wishmaster

Thanks for creating this tutorial. :)

I was having all sorts of problems until I stumbled across this tutorial.

For some reason I can't Rep you though.
Sorry. :(
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
How to Combine Multiple MKV or MP4 Segments into 1 File

I've tried as you suggested but only get an error message saying "The track parameters do not match" Any suggestions?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Win 7 Ult. 64 bit
CPU
E7300 2.93 Ghz
What i can do when MKVTOOLNIX says: The track parameters do not match.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Ultimate 64 bits
CPU
AMD FX
Motherboard
1
Memory
2
Graphics Card(s)
1
Hard Drives
1
Antivirus
AVG FREE
Browser
Chrome
Back
Top