VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Hello!

    I have a mkv-file with "Doc type version: 2" as seen in mkvinfo.

    When I'm using mkvmerge to create a new video file from this source, it gets the "Doc type version: 4" specifications.
    The command I run: mkvmerge -o y.mkv --split timecodes:00:03:30.000,00:05:15.000 video-file.mkv

    How can I use mkvmerge to specify which Doc type version should be used when creating the new file?

    I checked all of the documentation under mkvmerge -h, and read here https://mkvtoolnix.download/doc/mkvmerge.html but was unable to find out how.
    I'm using the same version of mkvmerge that was used to create the original file.
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    From the author of mkvtoolnix himself @ reddit dot com:

    «The latest version of the Matroska specs (not Matroška, just plain Matroska) is v4.

    The version of a file depends on the features used. For example, mkvmerge can easily create v2 files by leaving out features such as cue duration elements.

    Sometimes certain codecs require container-level features that set the minimum version that can be used. For example, if you use the Opus audio codec its pre-roll value has to be stored on the container level. The element used for that is a v4 feature, meaning mkvmerge must use v4 or later.

    The version itself is stored in two header values in the EBML head: doc type version and doc type read version. The doc type version contains the maximum specs version that was used in the file. The doc type read version determines the minimum spec version a reader must support in order to make sense of most of the file.

    For example, if you have a file that only uses v2 features with the exception of cue duration elements (a v4 element), the writer would set doc type version to 4 but doc type read version to 2. The reason is that cue duration elements are only required for very precise seeking with displaying overlapping subtitles immediately upon seeking. A reader that only supports v2 elements could easily use a less optimal seeking algorithm and only display the next following subtitles but not the overlapping ones.

    You can see both elements either in mkvinfo's output or in the info tool of MKVToolNix GUI.»


    source: https://www.reddit.com/r/mkvtoolnix/comments/9ftlhs/how_to_know_the_version_of_a_mkv_file/
    "Programmers are human-shaped machines that transform alcohol into bugs."
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!