MKVmerge & Dolby Vision video stream

Hello there: has anyone else come across this issue as well…..

mkvmerge cannot/does not recognize the *secondary* Dolby Vision file within a Blu-ray video stream.

Seeing as there are always 2 video streams in this arrangement, the primary video is the 2160p 4K HDR stream & the Dolby stream is a separate 1080p 2k stream.

The muxer has no issue detecting the primary stream but cannot see the secondary stream at all.

When one is muxing the video & audio from a M2TS or TS file (right off the disc) the Dolby stream is never muxed into the mkv container.

What’s causing this?…………..thx

Welcome!

In Matroska both the base layer (BL) & the Dolby Vision enhancement layer (EL) are multiplexed into the same track. This can be the case for M2TS, but it’s also possible that both are located in separate tracks.

As Matroska requires both to be in the same track mkvmerge handles multiplexing the BL & EL layers from different tracks transparently and automatically. For the same reason it doesn’t expose the second source track (the EL track) to the user as the user cannot influence that second source track at all.

Therefore not seeing both tracks in e.g. MKVToolNix GUI is perfectly normal.

mkvmerge supports multiplexing in this way for M2TS, or rather: only for M2TS at the moment (not for MP4, neither for elementary streams).

How did you determine that this doesn’t work? Note that not a lot of players don’t support reading Dolby Vision from Matroska.

aaaaaah…….that clears this up, so the way the muxer handles the separate Dolby Vision stream there is no way to duplicate the stream layout as it is presented in the m2ts file…in other words keeping the Dolby Vision a separate entity. So what is happening here is the finished mkv file does have the Dolby vision hard encoded into the primary video file……. the player I use is MPC-BE, it will properly play an mkv that has a Dolby Vision encoded video file.

Yes. How Matroska does it is the same as it’s usually stored in MP4, too (and might be stored in M2TS, too). We don’t invent our own thing here. The same kind of multiplexing of BL+EL into the same track. It’s how Dolby themselves specify the storage in their document “Dolby Vision Streams Within the ISO Base Media File Format” chapter 3.2 “Single-track ISO base media file”, just adjusted for Matroska’s elements. A player that already supports that should be easy to extend to support Matroska’s way, too (assuming it already supports Matroska in general).

I do not know about MPC-BE or -HC in particular; I simply do not have experience with it in combination with Dolby Vision.

Ok, thx for the assistance, in any m2ts or ts file the Dolby entry is always a separate entity to the primary 4k HDR video file…when I rip a Blu-ray 4k HDR disc to hard drive one will be able to see using Mediainfo the two video entries that are located in the container.

VIDEO:

Codec Bitrate Description

MPEG-H HEVC Video 63013 kbps 2160p / 23.976 fps / 16:9 / Main 10 @ Level 5.1 @ High / 4:2:0 / 10 bits / 4000nits / HDR10 / BT.2020
* MPEG-H HEVC Video 5802 kbps (8.43%) 1080p / 23.976 fps / 16:9 / Main 10 @ Level 5.1 @ High / 4:2:0 / 10 bits / 4000nits / Dolby Vision FEL / BT.2020

AUDIO:

Codec Language Bitrate Description

Dolby TrueHD/Atmos Audio English 3376 kbps 7.1+11 objects / 48 kHz / 2928 kbps / 16-bit (AC3 Core: 5.1 / 48 kHz / 448 kbps)
Dolby Digital Audio English 192 kbps 2.0 / 48 kHz / 192 kbps