Tag Archives: MKVToolNix

MKVToolNix v16.0.0 released

I’ve just released v16.0.0 of MKVToolNix. This release is mostly a bug fix release.

Changes for package maintainers: libMatroska v1.4.8 is now required.

You can download the source code or one of the binaries. The Windows and macOS binaries have been built already and are available for download. The Linux binaries will be available later today.

Here are the NEWS since the previous release:

New features and enhancements

  • mkvmerge: MP4 reader: added support for Vorbis. Implements #2093.

Bug fixes

  • configure: the checks for libEBML and libMatroska have been fixed to require libEBML 1.3.5 and libMatroska 1.4.7 as intended.
  • mkvmerge: AAC reader: mkvmerge will now emit an error message for AAC files whose header fields imply a sampling frequency or number of channels of 0. See #2107.
  • mkvmerge: AVC/h.264 ES parser: fixed the calculation of reference information for P and B frames. This also fixes some P frames being marked as B frames and vice versa.
  • mkvmerge: AVC/h.264 ES parser: only non-key frames that have the NALU header field nal_ref_idc set to 0 will be marked as "discardable" in SimpleBlock elements. Other half of the fix for #2047.
  • mkvmerge: HEVC/h.265: the generation of the HEVCC structure stored in CodecPrivate was wrong in two places: 1. the position of the number of sub-layers was swapped with reserved bits and 2. the VPS/SPS/PPS/SEI lists did not start with a reserved 1 bit.
  • mkvmerge: output: the doc type version will be set at least to 2 if certain elements are written (CodecState, CueCodecState, FlagInterlaced).
  • mkvmerge: output: the track header attributes MinCache and MaxCache will not be written anymore. Fixes #2079.
  • mkvmerge: Matroska reader: the "key" and "discardable" flags of SimpleBlock elements will be kept as they are. Partial fix for #2047.
  • mkvmerge: Matroska reader: if present in the file, the "white colour coordinate x" track header attribute was written to both "white colour coordinate x" and "white colour coordinate y" in the output file.
  • mkvmerge: Opus output: mkvmerge will now put all frames with discard padding into their own block group. Fixes #2100.
  • MKVToolNix GUI: header editor: removed the check for external modification when saving the file. Fixes #2097.
  • MKVToolNix GUI: job queue: fixed calculation of total progress when automatic removal of completed is enabled. Fixes #2105.

Build system changes

  • libEBML v1.3.5 and libMatroska v1.4.8 are now required. In fact v15.0.0 already requires libEBML v1.3.5 and libMatroska v1.4.7 but did not include proper version checks for them (nor was there a NEWS.md entry for the new libMatroska requirement). New is the requirement for libMatroska v1.4.8 due to it fixing writing block groups for tracks with the track number 128 (see #2103).

Have fun :)

MKVToolNix v15.0.0 released

Here’s the brand new version 15.0.0 of MKVToolNix. A lot of work has gone into improving support for new track header elements important for video archival purposes. A couple of bugs have been fixed, too, as usual.

Changes for package maintainers: libEBML v1.3.5 is now required. An option has been added to configure for compiling without the code that checks online for new releases. See below for details.

Deprecation warning

This is a reminder that certain features having been deprecated since v9.7.0. They’re scheduled to be removed in the first release of 2018. These features are:

  • mkvmerge: the options “–identify-verbose”, “–identify-for-gui”, “–identify-for-mmg” and “–identification-format verbose” (use “–identification-format json –identify” or its short form “-J” instead)
  • all command line tools: the old, proprietary format used for option files (use JSON option files instead)

You can download the source code or one of the binaries. The Windows and macOS binaries have been built already and are available for download. The Linux binaries will be available later today.

Here are the NEWS since the previous release:

Important notes

  • mkvmerge, mkvpropedit, GUI’s header and chapter editors: the programs will no longer add most missing Matroska elements that are mandatory but have a default value in the Matroska specification (e.g. the TagLanguage element with a value of und if it isn’t present in its SimpleTag parent). Due to this change libEBML v1.3.5 is now required.

New features and enhancements

  • MKVToolNix GUI: multiplex tool: added a new entry to the "source files" context menu labeled "Set destination file name from selected file’s name". It will force the GUI to consider the selected file to be the reference for automatically setting the file name, no matter which file was originally added as the first file. It will also force setting the destination file name once if automatic destination file name generation is turned off in the preferences. Implements part of #2058.
  • MKVToolNix GUI: multiplex tool: added an option in the preferences on "Multiplexer" → "Output" labeled "Only use the first source file that contains a video track". If enabled, only source files containing video tracks will be used for setting the destination file name. Other files that are added are ignore. Implements the rest of #2058.
  • MKVToolNix GUI: header editor: added support for editing the video colour attributes. Implements the second half of #2038.
  • MKVToolNix GUI: header editor: added support for the "video projection" track header attributes. Part of the implementation of #2064.
  • MKVToolNix GUI: job queue: selected jobs can now be move up and down by pressing the Ctrl+Up and Ctrl+Down keys. Additionally, push buttons to move them up & down are shown if the corresponding option is enabled in the preferences. Implements #2060.
  • mkvmerge: added support for the "video projection" track header attributes. Part of the implementation of #2064.
  • mkvinfo: added support for the "video projection" track header attributes. Part of the implementation of #2064.
  • mkvpropedit: added support for editing the video colour attributes. Implements one half of #2038.
  • mkvpropedit: added support for the "video projection" track header attributes. Part of the implementation of #2064.

Bug fixes

  • all: selecting the program’s language (e.g. via the --ui-language command-line option or via the GUI’s preferences) did not work on Linux & Unix if the LANGUAGE environment variable was set and didn’t include the desired language. Fixes #2070.
  • MKVToolNix GUI: removed the keyboard shortcuts for switching between the different tools (e.g. Ctrl+Alt+1 for the multiplexer). They overlapped with basic functionality on keyboards that use an AltGr key, e.g. German ones, where AltGr+7 emits {. As AltGr+key is implemented as Ctrl+Alt+key under the hood, this means that AltGr+7 is really Ctrl+Alt+7 which the GUI now took to mean "switch to the job queue" instead of "insert {". Fixes #2056.
  • MKVToolNix GUI: header editor: after saving the file the GUI wasn’t updating its internal file modification timestamp. That lead to the GUI wrongfully claiming that the file had been modified externally when the user wanted to save the file once more, requiring a reload of the file losing all modifications made since saving the first time.
  • mkvmerge: DTS handling: some source files provide timestamps for audio tracks only once every n audio frames. In such situations mkvmerge was buffering too much data resulting in a single gap in the timestamps of one frame duration after frame number n - 1 (the second audio timestamp read from the source file was used one output frame too early). Fixes #2071.
  • mkvinfo: fixed a null pointer dereference if an EbmlBinary element’s data pointer is a null pointer. Fixes #2072.

Build system changes

  • configure: added option --disable-update-check. If given, the code checking online for available updates will be disabled. The update check is enabled and included in the GUI by default.
  • libEBML v1.3.5 is now required.

Other changes

  • mkvmerge: the option --colour-matrix has been renamed to --colour-matrix-coefficients in order to match the specification more closely. The old option name will continue to be recognized as well.

Have fun :)

MKVToolNix v14.0.0 released

I’m releasing MKVToolNix v14.0.0. It strikes a nice balance between bug fixes and new features/enhancements.

Changes for package maintainers: a new translation of the programs to Romanian (ro.po) has been added. There are two other minor changes you should be aware of. Please see the NEWS section “Build system changes” below for details.

Deprecation warning

This is a reminder that certain features having been deprecated since v9.7.0. They’re scheduled to be removed in the first release of 2018. These features are:

  • mkvmerge: the options “–identify-verbose”, “–identify-for-gui”, “–identify-for-mmg” and “–identification-format verbose” (use “–identification-format json –identify” or its short form “-J” instead)
  • all command line tools: the old, proprietary format used for option files (use JSON option files instead)

You can download the source code or one of the binaries. The Windows and macOS binaries have been built already and are available for download. The Linux binaries will be available later today.

Here are the NEWS since the previous release:

New features and enhancements

  • mkvmerge: AAC: implemented support for AAC with 960 samples per frame. Implements #2031.
  • mkvmerge: identification: if the encoding/character set of a text subtitle track is known (e.g. because a byte order mark is present in the file), then it will be output during identification as the encoding property. Implements mkvmerge’s part of #2053.
  • mkvmerge: WAV reader: added support for Wave64 files. Implements #2042.
  • mkvmerge, mkvpropedit, MKVToolNix GUI (chapter editor): added support for chapters in WebM files that is spec-compliant by removing all tag elements not supported by the WebM spec. Implements #2002.
  • mkvpropedit: added support for tags in WebM files that is spec-compliant by removing all tag elements not supported by the WebM spec.
  • MKVToolNix GUI: multiplexer: if the encoding/character set of a subtitle track cannot be changed, the GUI will deactivate the "subtitle character set" drop-down box and ignore changes to it when multiple tracks are selected. Additionally, if the track’s encoding is known and cannot be changed (e.g. due to a byte order mark in the file), that encoding will be selected in the drop-down box automatically. Both changes signal to the user that she doesn’t have to take care of the encoding herself. Implements the GUI’s part of #2053.
  • MKVToolNix GUI: chapter editor: added a function to the "additional modifications" dialog for calculating and setting the end timestamps. Implements #1887.
  • MKVToolNix GUI: changed the shortcuts for switching between the various tools from Alt+number (e.g. Alt+1 for the multiplexer tool) to Ctrl+Alt+number in order to avoid clashing with Windows’ input method for arbitrary characters (pressing and holding Alt and typing the codepoint on the number pad). Implements #2034.
  • MKVToolNix GUI: added a "Window" menu and entries with shortcuts for selecting the next (Ctrl+F6) respectively previous tab (Ctrl+Shift+F6) in the current tool. Implements #1972, #2032.
  • MKVToolNix GUI: on Windows the GUI will now determine the default font to use by querying Windows for the default UI/message box font instead of using the hardcoded Segoe UI. This might fix issues such as #2003 (unverified).
  • translations: added a Romanian translation of the programs by Daniel (see AUTHORS).

Bug fixes

  • mkvmerge: AVC/h.264 parser: fixed wrong frame order & timestamp calculation in certain situations when SPS (sequence parameter sets) or PPS (picture parameter sets) change mid-stream. Fixes #2028.
  • mkvmerge: HEVC/h.265 parser: fixed wrong frame order & timestamp calculation in certain situations when SPS (sequence parameter sets) or PPS (picture parameter sets) change mid-stream. This is the HEVC/h.265 equivalent of #2028.
  • mkvmerge: MPEG-1/-2 video: the "remove stuffing bytes" feature introduced in v5.8.0 (feature request #734) was broken. In a lot of situations it did not detect the end of a slice correctly and removed 0 bytes that were actually part of the slice structure. Often there were no visual problems as decoders were able to ignore such errors, but in other cases there are visual artifacts upon decoding. As detecting the slice end properly requires parsing the whole slice structure, this feature has been removed again. Fixes #2045.
  • mkvmerge: MPEG PS reader: fixed mkvmerge trying to handle an "end" code the same way as a "program stream map" code.
  • mkvmerge: MPEG TS reader: mkvmerge won’t emit warnings if the system’s iconv library doesn’t support the ISO 6937 character set. Fixes #2023.
  • mkvmerge: when appending fails the error message details (e.g. "the number of channels differs: 1 and 2") were often not output. Fixes #2046.
  • MKVToolNix GUI: multiplex tool: implemented a workaround for a crash that could occur during drag & drop if at least one of the columns is hidden. Fixes #2009.
  • MKVToolNix GUI: multiplex tool: appended tracks can no longer be enabled (selected for multiplexing) if the track they’re going to be appended to is not enabled. Fixes #2039.
  • MKVToolNix GUI: multiplex tool: if the GUI is set to ensure unique output file names, it will now verify that right before starting to multiplex/adding the job to the queue, too. Fixes #2052.
  • MKVToolNix GUI: fixed the total progress reverting to 0% instead of staying at 100% when all jobs have finished. This was introduced by the attempt at fixing the computation of the value of total progress bar for multiple jobs running. Fixes #2005.
  • configure: fixed DocBook detection if /bin/sh is dash. Patch by Steve Dibb. Fixes #2054.

Build system changes

  • Boost: the minimum required version has been bumped to 1.49.0. Earlier releases fail to build on my current systems and will therefore not be supported anymore.
  • configure: when looking for the "nlohnmann JSON" include files configure will now try the path "nlohmann/json.hpp" first, "json.hpp" second (only "json.hpp" was tried before). If neither is found, the copy included in the MKVToolNix sources will be used. Fixes #2048.

Have fun :)

MKVToolNix v13.0.0 released

Here’s v13.0.0 of MKVToolNix. It contains a few small enhancements and a handful of bug fixes. Nothing major this time around, though I still recommend everyone to update.

There have been no additional changes since v12.0.0 that package maintainers should be aware of.

You can download the source code or one of the binaries. The Windows and macOS binaries have been built already and are available for download. The Linux binaries will be available later today.

Here’s the NEWS since the previous release:

New features and enhancements

  • mkvmerge: MPEG TS reader: information about multiple programs will be output as container properties during verbose/JSON identification. See #1990 for the use case.
  • MKVToolNix GUI: multiplex tool: added a column "program" to the tracks list. Certain container types such as MPEG transport streams can contain multiple programs. The new column will contain the service name (think TV station names such as "arte HD") for such streams. Implements the GUI part of #1990.
  • MKVToolNix GUI: multiplex tool: the dialog asking the user what to do with dropped files (add to current settings, add to new settings etc.) now remembers the previous decision and defaults to it the next time it’s shown. Implements #1997.
  • MKVToolNix GUI: tabs can now be closed by pressing the middle mouse button. Implements #1998.

Bug fixes

  • mkvmerge: MP4 reader: MPEG-1/2 video read from MP4 files was written with an invalid codec ID (e.g. V_MPEG7) in certain cases. Fixes #1995.
  • mkvmerge: MPEG PS reader: made the file type detection less strict so that garbage at the start of the file doesn’t prevent detection. Fixes #2008.
  • mkvmerge: MPEG PS reader: (E-)AC-3 tracks were not detected if the very first packet for that track didn’t contain a full (E-)AC-3 frame. Fixes #2016.
  • mkvmerge: MPEG TS reader: fixed mkvmerge not detecting all tracks in MPEG transport streams containing multiple programs. Fixes one part of #1990.
  • mkvmerge: MPEG TS reader: fixed track content being broken for some tracks read from MPEG transport streams containing multiple programs. Fixes another part of #1990.
  • mkvmerge: JSON identification: the stream_id and sub_stream_id track properties were output as hexadecimal strings instead of unsigned integers. As the ts_pid track property was only used for MPEG transport streams, its value is now output as stream_id instead, and the ts_pid property has been removed. The JSON schema version has been bumped to 8 due to this change.
  • mkvmerge: fixed a crash when appending video tracks where one track has a CodecPrivate member and the other one doesn’t.
  • mkvmerge: track statistics tags: the NUMBER_OF_BYTES tag is supposed to contain the number of bytes in a track before any of the content encoding schemes such as lossless compression is applied; however, mkvmerge was wrongfully using the number of bytes after the schemes had been applied. Fixes #2022.
  • mkvmerge: CLPI & MPLS parsers: MPLS and CLPI files with version number 0300 as used on Ultra HD Blu-ray Discs are now accepted as well. Fixes #2010.
  • mkvpropedit: fixed a crash when the selector used for --tags is invalid.
  • MKVToolNix GUI: fixed computation of value of total progress bar for multiple jobs running. Fixes #2005.
  • MKVToolNix GUI: multiplexer, adding new attachments: when the GUI checks if there’s an attachment with the same name it will now disregard disabled attached files. Fixes #2001.
  • Debian/Ubuntu packaging: during a dpkg-buildpackage run the test suite was failing when a non-English locale was active and MKVToolNix packages had already been installed. Fixes #2011.

Have fun :)