Dolby vision profile 5 in MKV

Profile 7 is dual-layer Dolby Vision. This means the video contains an HDR10 layer, and an extra DV enhancement layer.

Unfortunately, these are not supported on any Apple devices at this time, but Infuse would be able to play the HDR10 layer.

1 Like

Please add support for Profile 8 too on the new 2021 Apple TV 4K.

Is profile 8 supported by the AppleTV hardware? It can only playback whatever the hardware supports.

web-dl with dolby vision profile 05.06 but still not trigger DV
btw an Apple Original TV show.

Mediainfo

General
Unique ID :
Format : Matroska
Format version : Version 4
File size : 4.84 GiB
Duration : 27 min 53 s
Overall bit rate : 24.9 Mb/s
Movie name : Trying - S02E01 - A Nice Boy
Encoded date : UTC 2021-07-16 08:33:54
Writing application : mkvmerge v59.0.0 (‘Shining Star’) 64-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.4
IMDB : tt10982034
TMDB : tv/98177

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@High
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : V_MPEGH/ISO/HEVC
Duration : 27 min 53 s
Bit rate : 24.1 Mb/s
Width : 3 840 pixels
Height : 1 920 pixels
Display aspect ratio : 2.000
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Original frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.136
Stream size : 4.69 GiB (97%)
Default : Yes
Forced : No

@james do you still need samples for this? Can quite easily go from mkv to mp4 using mp4muxer/dlb_mp4base and the file plays fine. Do you think it’s something that can be supported at some point or a limitation of the OS/hardware?

Strictly talking profile 5 in a mkv container here, I completely understand how unlikely and complicated the other profiles can be.

@james yes, this is still happening. Exactly what the poster above me stated. Only happens with MKV and not MP4. Both are profile 5.

1 Like

Make sure to use the latest MKVToolNix to remux the file: older versions were not writing the proper DV metadata so the file was not recognised as DV.
.

Are you saying that you have played Dolby vision p5 in mkv on infuse then?

An DV mp4 is giving me trouble, it’s not triggering dolby vision (or indeed any hdr) on my Appletv. The color space is probably wrong as well as the picture comes back green and purple. Here is the video metadata for the file from mediainfo:

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.2@Main
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : V_MPEGH/ISO/HEVC
Duration : 25 min 4 s
Bit rate : 22.4 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.112
Stream size : 3.92 GiB (99%)
Default : Yes
Forced : No
Color range : Full

For comparison, here is a similar file which works (the codec ID is different, unsure if that’s the cause):

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.2@Main
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 21 min 29 s
Bit rate : 22.3 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.112
Stream size : 3.34 GiB (99%)
Default : Yes
Alternate group : 1
Tagged date : UTC 2021-06-11 10:05:40
Color range : Full
Codec configuration box : hvcC+dvcC

Is this affecting all videos like this, or just this one?

Are you using the latest 7.1 version of Infuse?

I have the same problem on infuse 7.1,
DV content from infuse plays with a green and purple tint.

ATV4k and LG C9

The file says:

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@High
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : V_MPEGH/ISO/HEVC
Bit rate : 24.0 Mb/s
Width : 3 840 pixels
Height : 2 080 pixels
Original height : 2 076 pixels
Display aspect ratio : 1.85:1
Original display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.125
Stream size : 18.7 GiB (97%)
Default : Yes
Forced : No

Hi James,

I made a mistake, the file I’m having trouble with is actually an mkv file. I’m not sure if the container makes a difference in this case.

Moved to a related thread, as this is on our radar.

Just update to 7.1. DV in mkv container is still showing in green and purple tint.

I’m having the same issue with DV profile 5 playing back with wrong (green and purple) colors when in an MKV file. I’m using Infuse Pro 7.1 (3799) on an Apple TV 4K (2nd generation) connected to an LG B7 OLED.

I’m testing with Dolby’s test file here:
http://media.developer.dolby.com/DolbyVision_Atmos/mp4/iOS_P5_GlassBlowing2_3840x2160%4059.94fps_15200kbps.mp4

Playing it back as downloaded in the MP4 container works perfectly in Infuse, and triggers the DV logo on the TV.

When I trivially remux it to MKV using MKVToolNix GUI, playing back the MKV in Infuse gives the wrong green and purple colors. It also doesn’t show the “DV” indicator in the metadata in Infuse.

I’d be happy to upload the offending file if useful?

Here is its MediaInfo:

General
Unique ID                                : 319621905211249475848749429265709071740 (0xF074F097931716FCC09A45D3EDFEFD7C)
Complete name                            : iOS_P5_GlassBlowing2_3840x2160%4059.94fps_15200kbps.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 330 MiB
Duration                                 : 2 min 58 s
Overall bit rate                         : 15.6 Mb/s
Encoded date                             : UTC 2021-08-21 01:24:09
Writing application                      : mkvmerge v60.0.0 ('Are We Copies?') 64-bit
Writing library                          : libebml v1.4.2 + libmatroska v1.6.4

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@Main
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.09, BL+RPU
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 min 55 s
Bit rate                                 : 15.2 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.031
Stream size                              : 317 MiB (96%)
Default                                  : Yes
Forced                                   : No
Color range                              : Full

Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Format settings                          : Dolby Surround EX
Codec ID                                 : A_EAC3
Duration                                 : 2 min 58 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 13.6 MiB (4%)
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

I can confirm that neither Infuse nor Plex can play a DV in a MKV container on ATV.
The same file plays correctly on Android TV using Plex player (it doesn’t need to be a Shield, mine is Sony Android TV).

Same problem here (green and purple colours when MKV container is used). It would be great to get this fixed.

I thought all variants of profile 5 is supported by Infuse to display proper Dolby Vision? I get the usual discoloration of the movie. Here is the mediainfo:

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 12 min
Bit rate : 17.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV

There’s already a thread about this. It has to do with the MKV container.

And moved there. Thanks :wink: