Tag Archives: Matroska

MKVToolNix v9.8.0 released

A nice new release is here, v9.8.0. Couple of enhancements, a couple of bug fixes, especially for the new caching functionality introduced in 9.7.0. I recommend upgrading.

Notes for package maintainers: important changes were made to the build process. Please see the NEWS section below for details (both the “important news” and the “build system changes” sections).

You can download the source code or one of the binaries. The Windows and Mac OS 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:

Important notes

  • build system: the included version of the "drake" build tool has been removed. Since Ruby 2.1 rake has supported parallel builds, too. The MKVToolNix build system has been adjusted to enable parallel builds by default.

New features and enhancements

  • mkvmerge: VobSub in Matroska: mkvmerge will now create and use a default index for VobSub tracks read from Matroska files that are missing their CodecPrivate element (which normally contains said index). Implements #1854.
  • GUI: added checks for several common problems with the installation. These checks will be executed when the GUI starts, and any problems will be reported to the user.
  • mkvmerge: added the ISO 639-2 language codes "qaa" and "qad" (both are titled "reserved for local use") as both are used often in France. See #1848 for more information.
  • mkvmerge: the JSON identification result now includes a track’s codec delay if set (only for Matroska source files). The JSON schema version has been bumped to 6.
  • mkvmerge: MPEG TS: added a workaround for files where the subtitle packets are multiplexed properly, but where their timestamps are way off from the audio and video timestamps. Implements #1841.
  • mkvmerge: added support for Digital Video Broadcasting (DVB) subtitles (CodecID `S_DVBSUB`). They can be read from MPEG transport streams and from Matroska files. Implements #1843.

Bug fixes

  • mkvmerge: MP4 reader: when an MP4 file contained fewer entries for timestamps than frames (which they never should), mkvmerge would use 0 as the timestamp for all the other frames. This resulted in effects such as the last frame of an output file having a timestamp of 0 and in split files having a much longer duration than they should have. Fixes #1847.
  • GUI: the cache cleanup process that’s run automatically when the GUI starts no longer blocks file identification until it is finished. Additionally the process will only be run once per release of MKVToolNix. Fixes #1860.
  • GUI: certain failures during file identification that can be traced to broken installations (e.g. mkvmerge being too old) won’t be stored in the cache anymore. Without this fix the GUI would still use the cached failed identification result even though the underlying might have already been fixed.
  • mkvmerge: fixed that the error message "not enough space on disk" was shown twice on some operating systems. Fixes #1850.
  • mkvmerge, Matroska: if a codec delay is set for a track in the input file, it is kept. Fixes #1849.
  • GUI: multiplexer: changing default values in the preferences (e.g. the default track language to set) did not affect files whose identification results had already been cached.
  • mkvmerge, MP4: fixed detection of MP3 audio when the object type ID in the ESDS signals MP2 and the track headers have invalid values for number of channels or sampling frequency. Fixes #1844.

Build system changes

  • nlohman json-cpp: configure now looks for a system-wide installed version of the nlohmann json-cpp header-only library. If one is found, it is used; otherwise the included version will be used. Implements #1858.
  • If MKVToolNix is built with rake v10.0.0 or newer, its "multitask" feature will be turned on allowing automatic parallel builds.
  • CURL is no longer used by MKVToolNix and is therefore not required for building anymore.

Other changes

  • GUI: the update check now uses Qt’s networking classes instead of CURL.
  • The command line option "–check-for-updates" has been removed, even though the deprecation warning in release 9.7.0 stated that it would be removed in 2018.

Have fun :)

MKVToolNix v9.7.1 released

Here’s v9.7.1, a hotfix for v9.7.0, which in turn was a more substantial release. There were a lot of enhancements to the GUI all over the place, several bug fixes in mkvmerge, a couple of enhancements there, too.

Note that this release deprecates the options (e.g. “--identify-verbose“) and features. These are scheduled to be removed early in 2018. See the first top-most entry in the ChangeLog below for details.

Notes for package maintainers: MKVToolNix now requires a compiler that supports certain features of the C++14 standard. For gcc v4.9.x or later will work, for clang v3.4 or newer is required. Additionally Qt v5.3.x is now required.

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

Here’s the full ChangeLog since the previous release:

  • 2016-12-27 Moritz Bunkus <moritz@bunkus.org>
    • Released v9.7.1 "Pandemonium".
    • MKVToolNix GUI: multiplex tool bug fix: under certain circumstances the GUI was creating invalid JSON files when starting to multiplex resulting in an error message ("JSON option files must contain a JSON array consisting solely of JSON strings").
    • Released v9.7.0 "Numbers".
    • Deprecation warning: Several options and features are now deprecated and will be removed at the start of 2018. These are:
      • mkvmerge: the options "--identify-verbose", "identify-for-gui", "identify-for-mmg" and "identification-format verbose". Please convert existing users of these interfaces to use mkvmerge’s JSON identification output which can be invoked with "–identification-format json –identify …".
      • all command line tools: the old, proprietary format used for option files. Please convert users of this interface to the new JSON option file format introduced in this release.
      • all command line tools: the option "–check-for-updates" (the GUI will keep its online check for updates, though). There is and will be no equivalent interface in the tools themselves. Users of this interface can switch to retrieving the information about available updates directly from the MKVToolNix website. The information is available as JSON and XML files at the following URLs:
        • https://mkvtoolnix.download/latest-release.json.gz
        • https://mkvtoolnix.download/latest-release.xml.gz
  • 2016-12-26 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: enhancement: added a new track property in JSON/verbose identification mode called "multiplexed_tracks". It’s an array of track IDs that describe which of the tracks mkvmerge reports as separate ones were originally part of the same source track (e.g. TrueHD+AC-3 in a single track in MPEG transport streams). Implements #1835.
  • 2016-12-23 James Almer <jamrial@gmail.com>
    • mkvmerge: added support for skipping APE(v2) tags in TTA files.
  • 2016-12-22 Moritz Bunkus <moritz@bunkus.org>
    • mkvextract: enhancement: added support for reporting progress in --gui-mode the same way mkvmerge does.
    • mkvmerge: bug fix: when using --track-order without specifying all tracks, the track numbers could end up in a way the user did not expect. Now mkvmerge will always assign track numbers for those tracks that are listed in –track-order first. The other tracks are assigned numbers afterwards. Fixes the second part of #1832.
    • mkvmerge: bug fix: when reading Matroska files the movie title was always taken from the first Matroska source file, even if that file didn’t have a title set. Fixes one part of #1832.
  • 2016-12-19 Moritz Bunkus <moritz@bunkus.org>
    • all: new feature: all command line tools can now read JSON-formatted option files. Such a file’s name must have an extension of ".json" (e.g. "mkvmerge @options.json"). Its content must be a valid JSON array consisting solely of JSON strings.
  • 2016-12-17 Moritz Bunkus <moritz@bunkus.org>
    • build system: building the GUI components of MKVToolNix now requires Qt v5.3.0 or newer.
  • 2016-12-16 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: header editor & job output enhancement: added menu entries for saving or closing all open tabs.
  • 2016-12-13 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: chapter editor enhancement: added menu entries for saving or closing all open tabs.
    • build system: MKVToolNix now requires a compiler that supports the following features of the C++14 standard: "std::make_unique()", "digit separators", "binary literals" and "generic lambdas". For the GNU Compiler Collection (gcc) this means v4.9.x or newer; for clang it means v3.4 or newer.
  • 2016-12-11 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: MPEG TS/MPLS reader improvements: added support for subtitle tracks that are referenced from the MPLS file as sub-paths in other M2TS files than the main tracks.
  • 2016-12-08 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: re-worked the startup code not to use lock files when trying to open a socket for communicating with an already-running instance. This aims to prevent situations with stale lock files not being cleaned up and the GUI not starting anymore as a result. This might fix or prevent issues like #1805.
    • mkvmerge: teletext subtitle bug fix: fixed the handling of DVB teletext subtitles signaled with data unit ID 0x02 and that contain pages from multiple magazines.
  • 2016-12-05 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: multiplexer enhancement: the file identification process has been re-written to be properly multi-threaded. This allows the user to continue working with the GUI while e.g. playlists from a Blu-ray are identified.
  • 2016-12-03 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: enhancement: mkvmerge can now handle Blu-ray playlists from the "BACKUP" sub-directory of a Blu-ray disc.
    • MKVToolNix GUI: new multiplexer feature: added a menu entry for copying the title to the destination file name. It will replace the destination file’s base name but keep its path & extension.
    • MKVToolNix GUI: new multiplexer feature: all positive file identification results will now be cached between runs. This speeds up adding the same file a lot, especially when scanning the same Blu-ray playlists again. Cached results are invalidated automatically with newer MKVToolNix releases or when the source file changes.
  • 2016-12-02 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: multiplexer enhancement: when the user tries to add one of the main Blu-ray index files (index.bdmv, MovieObject.bdmv) the GUI will automatically scan the Blu-ray playlist files and offer them for selection.
    • mkvmerge: bug fix: files smaller than 4 bytes were wrongly identified as MPEG transport streams.
    • MKVToolNix GUI: multiplexer enhancement: tracks, chapters, tags, attachments not selected for multiplexing will be displayed the same way as other disabled controls. Implements #1819.
  • 2016-11-30 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: bug fix: the MPEG transport stream reader was using an outdated format for the "CodecPrivate" element for HDMV TextST subtitles. This has been updated to the current format which only contains the "dialog style element". Existing Matroska files using this outdated scheme can be fixed by running them through mkvmerge v9.6.0 itself or any later release as the old format is automatically converted to the new one when it is read from Matroska files.

Have fun :)

MKVToolNix v9.7.0 released

this is a more substantial release. There were a lot of enhancements to the GUI all over the place, several bug fixes in mkvmerge, a couple of enhancements there, too.

Note that this release deprecates the options (e.g. “--identify-verbose“) and features. These are scheduled to be removed early in 2018. See the first top-most entry in the ChangeLog below for details.

Notes for package maintainers: MKVToolNix now requires a compiler that supports certain features of the C++14 standard. For gcc v4.9.x or later will work, for clang v3.4 or newer is required. Additionally Qt v5.3.x is now required.

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

Here’s the full ChangeLog since the previous release:

  • 2016-12-27 Moritz Bunkus <moritz@bunkus.org>
    • Released v9.7.0 "Numbers".
    • Deprecation warning: Several options and features are now deprecated and will be removed at the start of 2018. These are:
      • mkvmerge: the options "--identify-verbose", "identify-for-gui", "identify-for-mmg" and "identification-format verbose". Please convert existing users of these interfaces to use mkvmerge’s JSON identification output which can be invoked with "–identification-format json –identify …".
      • all command line tools: the old, proprietary format used for option files. Please convert users of this interface to the new JSON option file format introduced in this release.
      • all command line tools: the option "–check-for-updates" (the GUI will keep its online check for updates, though). There is and will be no equivalent interface in the tools themselves. Users of this interface can switch to retrieving the information about available updates directly from the MKVToolNix website. The information is available as JSON and XML files at the following URLs:
        • https://mkvtoolnix.download/latest-release.json.gz
        • https://mkvtoolnix.download/latest-release.xml.gz
  • 2016-12-26 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: enhancement: added a new track property in JSON/verbose identification mode called "multiplexed_tracks". It’s an array of track IDs that describe which of the tracks mkvmerge reports as separate ones were originally part of the same source track (e.g. TrueHD+AC-3 in a single track in MPEG transport streams). Implements #1835.
  • 2016-12-23 James Almer <jamrial@gmail.com>
    • mkvmerge: added support for skipping APE(v2) tags in TTA files.
  • 2016-12-22 Moritz Bunkus <moritz@bunkus.org>
    • mkvextract: enhancement: added support for reporting progress in --gui-mode the same way mkvmerge does.
    • mkvmerge: bug fix: when using --track-order without specifying all tracks, the track numbers could end up in a way the user did not expect. Now mkvmerge will always assign track numbers for those tracks that are listed in –track-order first. The other tracks are assigned numbers afterwards. Fixes the second part of #1832.
    • mkvmerge: bug fix: when reading Matroska files the movie title was always taken from the first Matroska source file, even if that file didn’t have a title set. Fixes one part of #1832.
  • 2016-12-19 Moritz Bunkus <moritz@bunkus.org>
    • all: new feature: all command line tools can now read JSON-formatted option files. Such a file’s name must have an extension of ".json" (e.g. "mkvmerge @options.json"). Its content must be a valid JSON array consisting solely of JSON strings.
  • 2016-12-17 Moritz Bunkus <moritz@bunkus.org>
    • build system: building the GUI components of MKVToolNix now requires Qt v5.3.0 or newer.
  • 2016-12-16 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: header editor & job output enhancement: added menu entries for saving or closing all open tabs.
  • 2016-12-13 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: chapter editor enhancement: added menu entries for saving or closing all open tabs.
    • build system: MKVToolNix now requires a compiler that supports the following features of the C++14 standard: "std::make_unique()", "digit separators", "binary literals" and "generic lambdas". For the GNU Compiler Collection (gcc) this means v4.9.x or newer; for clang it means v3.4 or newer.
  • 2016-12-11 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: MPEG TS/MPLS reader improvements: added support for subtitle tracks that are referenced from the MPLS file as sub-paths in other M2TS files than the main tracks.
  • 2016-12-08 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: re-worked the startup code not to use lock files when trying to open a socket for communicating with an already-running instance. This aims to prevent situations with stale lock files not being cleaned up and the GUI not starting anymore as a result. This might fix or prevent issues like #1805.
    • mkvmerge: teletext subtitle bug fix: fixed the handling of DVB teletext subtitles signaled with data unit ID 0x02 and that contain pages from multiple magazines.
  • 2016-12-05 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: multiplexer enhancement: the file identification process has been re-written to be properly multi-threaded. This allows the user to continue working with the GUI while e.g. playlists from a Blu-ray are identified.
  • 2016-12-03 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: enhancement: mkvmerge can now handle Blu-ray playlists from the "BACKUP" sub-directory of a Blu-ray disc.
    • MKVToolNix GUI: new multiplexer feature: added a menu entry for copying the title to the destination file name. It will replace the destination file’s base name but keep its path & extension.
    • MKVToolNix GUI: new multiplexer feature: all positive file identification results will now be cached between runs. This speeds up adding the same file a lot, especially when scanning the same Blu-ray playlists again. Cached results are invalidated automatically with newer MKVToolNix releases or when the source file changes.
  • 2016-12-02 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: multiplexer enhancement: when the user tries to add one of the main Blu-ray index files (index.bdmv, MovieObject.bdmv) the GUI will automatically scan the Blu-ray playlist files and offer them for selection.
    • mkvmerge: bug fix: files smaller than 4 bytes were wrongly identified as MPEG transport streams.
    • MKVToolNix GUI: multiplexer enhancement: tracks, chapters, tags, attachments not selected for multiplexing will be displayed the same way as other disabled controls. Implements #1819.
  • 2016-11-30 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: bug fix: the MPEG transport stream reader was using an outdated format for the "CodecPrivate" element for HDMV TextST subtitles. This has been updated to the current format which only contains the "dialog style element". Existing Matroska files using this outdated scheme can be fixed by running them through mkvmerge v9.6.0 itself or any later release as the old format is automatically converted to the new one when it is read from Matroska files.

Have fun :)

MKVToolNix v9.6.0 released

This release fixes one major bug in mkvmerge (an endless loop) when appending files. It mostly occurred when muxing MPLS playlists. Several other minor bug fixes and usability enhancements were implemented.

Nothing’s been changed regarding the packaging since v9.5.0.

You can download the source code or one of the binaries. All of the binaries that I provide myself have been built already and are available for download.

Here’s the full ChangeLog since the previous release:

  • 2016-11-29 Moritz Bunkus <moritz@bunkus.org>
    • Released v9.6.0 "Slave To Your Mind".
  • 2016-11-28 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge & mkvextract: added support for HDMV TextST subtitles.
  • 2016-11-20 Moritz Bunkus <moritz@bunkus.org>
    • mkvextract: VobSub bug fix: mkvextract will add a "langidx" line to the .idx file upon extraction. Fixes #1810.
  • 2016-11-14 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: multiplexer enhancement: added a column "source file’s directory" to the track list. Implements #1809.
    • MKVToolNix GUI: multiplexer enhancement: added an option for selecting all tracks of the currently selected source files in the source file context menu. Inspired by #1809.
  • 2016-11-07 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: job output tool bug fix: the button for acknowledging warnings & errors wasn’t properly disabled when the user used outside methods of acknowledging them (e.g. via the menu or via the job queue). Fixes #1802.
  • 2016-10-31 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: MPLS parser bug fix: fixed reading the "in" & "out" timestamps for "play items". This bug resulted in mkvmerge not reading the correct range from the referenced M2TS file under certain rare circumstances.
  • 2016-10-30 Moritz Bunkus <moritz@bunkus.org>
    • mkvmerge: bug fix: mkvmerge was entering endless loops under certain conditions when appending files. This was a regression introduced with the fix to #1774 (using very large –sync values causing mkvmerge to abort).
  • 2016-10-23 Moritz Bunkus <moritz@bunkus.org>
    • MKVToolNix GUI: new feature: added options in the preferences to only show the list of often used languages/country codes/character sets in their respective selections instead of both the often used and the full list. Implements #1796.