Multimedia

MKVToolNix

5  /  1073 Reviews
21,028,573 Downloads
Aug 30, 2021 Last updated

Downloads

Older Versions

# Change Log

# Version 61.0.0 "So" 2021-08-30

## New features and enhancements

* all: IETF BCP 47/RFC 5646 language tags: implemented support for officially

registered IANA language tag extensions.

* mkvmerge: track selection: when using language tags for selecting which

tracks to keep, mkvmerge will now use component-based language tag matching

instead of comparing them verbatim. This means that only those components

(language, region etc.) the user specified will be required to exist and be

equal. For example, if a file contains three subtitle tracks with languages

`es` (generic Spanish), `es-MX` (Spanish as spoken in Mexico) and `es-ES`

(Spanish as spoken in Spain), the user can use `--stracks es` to match all

three tracks or be more specific with e.g. `--stracks es-MX` which would

only match one track. Similarly inverting the selection with e.g. `--stracks

!es` would get rid of all three tracks, not just the one for the generic

Spanish.

* MKVToolNix GUI: multiplexer: deriving track languages from file names: the

GUI can now detect full BCP 47/RFC 5646 language tags in file names. Part of

the implementation of #3173.

* MKVToolNix GUI: multiplexer: deriving track languages from file names: the

default list of boundary characters now includes `-`. Part of the

implementation of #3173.

* MKVToolNix GUI: multiplexer: the GUI now defaults to the "lower" process

priority setting for new installations in order to leave more room for other

applications, especially interactive ones. Up to and including v59 the

default was the "normal" process priority. v60 changed that to "lowest",

which turned out to be much slower on Windows for no real gain over

"lower". The setting will be auto-corrected by the GUI if the settings file

were saved last with a version between v60.0.0.0 & v60.0.0.17 & "lowest" &

it is still set to "lowest".

* HEVC dumper development tool: the tool has been renamed to `xvc_dump` and

extended to be able to dump AVC/H.264 bitstreams, too. It now also detects

the type of bitstream framing (ISO 14496-15 vs. ITU-T H.264/H.265 Annex B).

## Bug fixes

* all: IETF BCP 47/RFC 5646 language tags: fixed a corner case of wrongfully

allowing scripts/variants not listed in any of the entries in the prefix

list when the prefix list contains prefixes restricting scripts/variants and

a prefix solely with the language at the same time (example: the variant

`ekavsk` with its prefixes `sr`, `sr-Cyrl` and `sr-Latn` where

e.g. `sr-ekavsk` and `sr-Cyrl-ekavsk` should be allowed but not

`sr-Bali-ekavsk`).

* mkvmerge: HEVC/H.265: the frame type of B frames was often wrongfully

signalled as P frames instead, both with `BlockGroup` (missing second

references) and `SimpleBlock` ("discardable" flag not set) elements.

* mkvmerge: SSA/ASS packetizer: the frame numbers will now be re-calculated

when appending SSA/ASS tracks so that frame numbers of appended tracks are

always strictly higher than frame numbers of the track they're appended to.

* mkvmerge, MKVToolNix GUI's chapter editor: BCP 47/RFC 5646 language tags:

when BCP 47 language tags are used with a language code that isn't part of

ISO 639-2, the programs will now write a legacy language element set to

`und` ("undetermined") instead of not writing such an element at all or

writing one with an invalid code. Fixes #3174.

* mkvmerge, MKVToolNix GUI's chapter editor: BCP 47/RFC 5646 language tags:

the programs will ensure that the legacy and IETF language elements written

will be unique within the scope of the same "chapter display" element.

* mkvinfo, MKVToolNix GUI's info tool: in summary mode the frame type was

reported wrong for `BlockGroup` elements in which the `ReferenceBlock`

elements were located behind the `Block` element.

## Build system changes

* all: `std::codecvt_utf8` is now used instead of Boost's

`utf8_codecvt_facet`. The bundled copy the latter in `lib/boost` has

therefore been removed.

Description

MKVToolNix is a small collection of tools (mkvmerge, mkvinfo, mkvextract, mkvpropedit and mmg) that allows you to manipulate Matroska (MKV) files in several ways.

You can use MKVToolNix to create, split, edit, mux, demux, merge, extract or inspect Matroska files. The program will also work with other video formats (AVI, MPEG, MP4, MPEG, Ogg/OGM, RealVideo, MPEG1/2, h264/AVC, Dirac, VC1) including some video codecs (such as VP9 video codec support - reading from IVF/Matroska/WebM files, extract to IVF files). Audio formats (AAC, FLAC, MP2, MP3, (E)AC3, DTS/DTS-HD, Vorbis, RealAudio) and also most subtitle formats (SRT, PGS/SUP, VobSub, ASS, SSA, etc.). MKVToolNix is a cross-platform application that will work on Windows® (both 32 and 64-bit versions), Mac® OS X® and Linux. Please note that from this page you can download the Windows® (installer and portable) and Mac® OS X® versions. If you're looking for a Linux version, you can download one from MKVToolNix homepage.

Trademark Note 1: Microsoft®, Windows® and other product names are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

Trademark Note 2: Mac and OS X are trademarks of Apple Inc., registered in the U.S. and other countries.

MKVToolNix Review

Note: I tested MKVToolNix on Windows® 7 Ultimate 32-bit using mkvmerge GUI and several other tools opened from the Command Prompt such as mkvinfo. Therefore, if you're looking for more information on how to compile MKVToolNix yourself, check the README file (online). I wanted to test two things: the mkvmerge GUI (software interface) and see how easy or hard is to use the command line for all the other tools such as "mkvinfo."

The software interface (mkvmerge GUI)

As soon as the setup finished, I opened the "mkvmerge GUI" shortcut from my desktop. At a first look, the interface seems quite intuitive, so my first action was to open an MKV file, select an option and see the result. I went to program interface at the "Input" tab and used the "Add" button (it also works using the "drag and drop" method. 

I selected a 710 MB MKV file and I wanted to split this (from "Global" tab - select "Split Mode" - "split after size" and then I specified the size - in this case 50M = 50MB) in smaller files with a size of 50 MB for each. Finally, I clicked on "Start Muxing" button. 

The program required just 45 seconds for this operation, and the result was 14 smaller MKV files. After this, I wanted to mux the content of an AVI file in MKV format. Again, I went to "Input" tab and used the "Add" button, I selected an AVI file from my computer, and I noticed that the program displayed the Output filename automatically with the name of the same file but this time in MKV (Matroska) format. 

Again, the same button called "Start Muxing" was doing all the magic. This time the process was even faster - at the end I could read the following message "Muxing took 34 seconds".

Other command line tools (example: mkvinfo)

To use all the other command line tools in Windows®, open a Command Prompt window. Just hit the "Start" button, click on "Search programs and files" (Windows® 7 and Vista) or "Run" (Windows® XP and others) and type either "cmd" or "command prompt" (without the quotes). 

In the command prompt, you can try each program (mkvmerge, mkvinfo, mkvextract, mkvpropedit) by typing its name and the usage parameters. An example would be: "mkvinfo --help" that will display a list with all the commands available. I tried mkvinfo using this command: "mkvinfo -g" and the result was a small interface that allowed me to open an MKV file and see all kind of technical details about it. I was also able to save the results in the TXT format.

Tips

You can launch an instance of mkvmerge GUI (software interface) directly from the command prompt. Just type "mmg" and hit "Enter."

Besides of the usual standard documentation from the command prompt (I hate it because it's hard to read) you can find and read the online documentation available on MKVToolNix documentation homepage here: (use the blue links for mkvmerge, mkvinfo, mkvextract, mkvpropedit and mmg to access the online help).

Final Conclusion

You can learn how to use several main features in minutes but to master the program, it does require more time. Your best bet is to experiment all of his options and whenever you need some help, check the FAQ section (filled with great answers to common issues), start with the guide of mkvmerge GUI here and check the documentation for all the other tools - here (provided once again). MKVToolNix is a "must-have" software if you work with MKV files. It has an incredible amount of features that are not listed on the homepage. Ultimately, if you appreciate this tool, please consider a DONATION to support the work of Mr. Moritz Bunkus, the author of MKVToolNix.

Found this software useful? Please consider a donation to the author.