Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

ArArdin wrote:
Fri Apr 15, 2022 11:59 am
nekno wrote:
Fri Apr 15, 2022 6:19 am
...but in my experience, applying a P5 RPU to an HDR10 BL does not yield the same results as a P7 RPU generated for an HDR10 BL in the DV mastering process.
I absolutely agree. In my early days of cross-injecting RPU, I've experienced significant differences between some HDR10 baselayers with P5 RPU and their native P7 RPU. I wonder if it's because of the different colorspace, or that P5 DV videos are a totally different DV grade because of whatever streaming-service reasons.
Anyone using the metadata from profile 5 files to "hybrid" should be comparing the PQ image to the regular profile 7 HDR10 version.
And in the case of FEL, the HDR10 image should be processed.

If they differ significantly, then the grade is different.

If not, then only the metadata can be different.
But that shouldn't be happening, since Dolby Vision is streamlined with a single source of metadata after grading.

Comparing HDR10 to Dolby Vision is pointless, and so is comparing profile 5 with unprocessed profile 7 FEL.

However it's possible that profile 5 streaming videos are enhanced in comparison to profile 7 MEL, since those are mapped down to a specific brightness.
That still would be caught by comparing the PQ grade.
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

daylightcreative wrote:
Fri Apr 15, 2022 9:30 am
I have been scanning through this thread and find it fascinating and rather insightful. I've pulled down a few "HDR format : Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU" hybrid releases only to find they don't play in my setup.
"dvhe.07.06" means that it's Dolby Vision Profile 7, which is the format used on discs. So those are probably just rips of discs that have Dolby Vision and not what we call hybrids here. What we call hybrids are rips where the HDR10 video is taken from a disc, and then the DV is added from another source (usually a Web-DL), and those are usually (maybe always?) distributed as Dolby Vision Profile 8 files.
daylightcreative wrote:
Fri Apr 15, 2022 9:30 am
All three have an NVIDIA Shield Pro 2019 connected to them
Looking at @RESET_9999's awesome DV playback device summary spreadsheet, I see that the Shield Pro does partially support Profile 7 rips, but they have to be "single-track dual-layer", and yours are presumably "dual-track dual-layer". So you can convert them, but I'm not sure what the right tool for that is. The downsides of the Shield Pro are that it doesn't support FEL (the "Full Enhancement Layer" extra video data which is found on some DV discs and is of debatable importance), and it has some long-standing color inaccuracy issues when playing Dolby Vision.
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

quietvoid wrote:
Fri Apr 15, 2022 1:31 pm
Comparing HDR10 to Dolby Vision is pointless, and so is comparing profile 5 with unprocessed profile 7 FEL.
Of course. In my post I was talking about comparing "Dolby Vision enabled playback" views.
When comparing P5 vs P7 RPU appliance, obviously using the baselayer of a native MEL title would yield the most transparent views.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

ArArdin wrote:
Fri Apr 15, 2022 11:59 am
Wondering if that would work. I have never tried to remux 7.1 EAC3 from a blu-ray to mkv or mp4. Would the different build-up be accepted by either container?
I just tried and it works in all the containers ( mp4 / mkv / ts) ... mkvtoolnix even keep the core intact (unlike the TrueHD tracks)
I didnt try to play the file but i expect it to work.
Image

Code: Select all

Complete name                            : D:\00000_P8_P8_DoVi.sub.au.mp4
Format                                   : mp43
Codec ID                                 : mp43 (isom/mp43/dby1)
File size                                : 4.83 GiB
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 10 min 0 s
Bit rate                                 : 68.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 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.343
Stream size                              : 4.77 GiB (99%)
Default                                  : No
Encoded date                             : UTC 2022-04-15 16:08:42
Tagged date                              : UTC 2022-04-15 16:09:04
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 407 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Format profile                           : Blu-ray Disc
Codec ID                                 : ec-3
Duration                                 : 10 min 0 s
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Maximum bit rate                         : 811 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 55.0 MiB (1%)
Service kind                             : Complete Main
Default                                  : No
Encoded date                             : UTC 2022-04-15 16:08:42
Tagged date                              : UTC 2022-04-15 16:09:04

Text
ID                                       : 3
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 9 min 51 s
Bit rate mode                            : Variable
Bit rate                                 : 44 b/s
Stream size                              : 3.18 KiB (0%)
Title                                    : Grinch.2018.2160p.BluRay.REMUX
Forced                                   : No
Encoded date                             : UTC 2022-04-15 16:09:04
Tagged date                              : UTC 2022-04-15 16:09:04
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
redoine322
Posts: 12
Joined: Fri Apr 15, 2022 2:16 am

Re: Dolby Vision now possible through MP4 Mux.

Post by redoine322 »

RESET_9999 wrote:
Fri Apr 15, 2022 4:11 pm
ArArdin wrote:
Fri Apr 15, 2022 11:59 am
Wondering if that would work. I have never tried to remux 7.1 EAC3 from a blu-ray to mkv or mp4. Would the different build-up be accepted by either container?
I just tried and it works in all the containers ( mp4 / mkv / ts) ... mkvtoolnix even keep the core intact (unlike the TrueHD tracks)
I didnt try to play the file but i expect it to work.
Image

Code: Select all

Complete name                            : D:\00000_P8_P8_DoVi.sub.au.mp4
Format                                   : mp43
Codec ID                                 : mp43 (isom/mp43/dby1)
File size                                : 4.83 GiB
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 10 min 0 s
Bit rate                                 : 68.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 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.343
Stream size                              : 4.77 GiB (99%)
Default                                  : No
Encoded date                             : UTC 2022-04-15 16:08:42
Tagged date                              : UTC 2022-04-15 16:09:04
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 407 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Format profile                           : Blu-ray Disc
Codec ID                                 : ec-3
Duration                                 : 10 min 0 s
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Maximum bit rate                         : 811 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 55.0 MiB (1%)
Service kind                             : Complete Main
Default                                  : No
Encoded date                             : UTC 2022-04-15 16:08:42
Tagged date                              : UTC 2022-04-15 16:09:04

Text
ID                                       : 3
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 9 min 51 s
Bit rate mode                            : Variable
Bit rate                                 : 44 b/s
Stream size                              : 3.18 KiB (0%)
Title                                    : Grinch.2018.2160p.BluRay.REMUX
Forced                                   : No
Encoded date                             : UTC 2022-04-15 16:09:04
Tagged date                              : UTC 2022-04-15 16:09:04
Could you plz explain to Me how to get an mp4 or mkv file to work on my LG C1 with DV please using your script From BDMV thanks for your hard Work Sir
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

RESET_9999 wrote:
Fri Apr 15, 2022 4:11 pm
I just tried and it works in all the containers ( mp4 / mkv / ts) ... mkvtoolnix even keep the core intact (unlike the TrueHD tracks)
I didnt try to play the file but i expect it to work.
Nice going, RESET_9999.
MKVToolnix indeed seems to keep "real core" audiostreams intact. Just like it does with DTS-HD. Good to know it works.
Cheers
moobot
Posts: 1
Joined: Sat Apr 16, 2022 10:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by moobot »

mtotheb wrote:
Thu Jan 27, 2022 12:24 pm
Has anybody tried the new https://www.mi.com/global/product/xiaomi-tv-stick-4k/

it seems to officially support HD Audio (DTS HD) as well as Dolby Vision. When I receive mine i’ll test if FEL playbacks correctly while also having HD Audio Passthrough.
Have you tested the Xiaomi 4k stick with DV yet, any good results?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

redoine322 wrote:
Sat Apr 16, 2022 2:26 am
Could you plz explain to Me how to get an mp4 or mkv file to work on my LG C1 with DV please using your script From BDMV thanks for your hard Work Sir
Theres tutorial video in my scripts link. check out the bluray to profile 8.1 one.

MODE.P7 ----> MODE.1 ----> Workflow.1
then use tsmuxer nightly to mux the output file with audio. you can edit the bat file with notepad so tsmuxer popup at the end of the process
just make sure there is no pgs sub or lossless audio pre-selected at playback. You can use external SRT subs
Image

You can also use the mp4_muxer mode but it will take much longer time to process and some files may stutter on your C1
MODE.M4 ----> MODE.1 ----> Workflow.3
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
redoine322
Posts: 12
Joined: Fri Apr 15, 2022 2:16 am

Re: Dolby Vision now possible through MP4 Mux.

Post by redoine322 »

RESET_9999 wrote:
Sat Apr 16, 2022 1:13 pm
redoine322 wrote:
Sat Apr 16, 2022 2:26 am
Could you plz explain to Me how to get an mp4 or mkv file to work on my LG C1 with DV please using your script From BDMV thanks for your hard Work Sir
Theres tutorial video in my scripts link. check out the bluray to profile 8.1 one.

MODE.P7 ----> MODE.1 ----> Workflow.1
then use tsmuxer nightly to mux the output file with audio. you can edit the bat file with notepad so tsmuxer popup at the end of the process
just make sure there is no pgs sub or lossless audio pre-selected at playback. You can use external SRT subs
Image

You can also use the mp4_muxer mode but it will take much longer time to process and some files may stutter on your C1
MODE.M4 ----> MODE.1 ----> Workflow.3
Thank you for the Reply i did Try that but i got an error here is an Img ( there is plenty of space)
Attachments
1212.jpg
1212.jpg (116.5 KiB) Viewed 17122 times
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

redoine322 wrote:
Sat Apr 16, 2022 2:54 pm
i did Try that but i got an error here is an Img ( there is plenty of space)
yeah DGdemux wont work if you place the folder on your C:\ drive... do you have another drive you can put the folder on?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
redoine322
Posts: 12
Joined: Fri Apr 15, 2022 2:16 am

Re: Dolby Vision now possible through MP4 Mux.

Post by redoine322 »

RESET_9999 wrote:
Sat Apr 16, 2022 10:05 pm
redoine322 wrote:
Sat Apr 16, 2022 2:54 pm
i did Try that but i got an error here is an Img ( there is plenty of space)
yeah DGdemux wont work if you place the folder on your C:\ drive... do you have another drive you can put the folder on?
Same Problem i did try it on two different drives
Attachments
1212.jpg
1212.jpg (102.29 KiB) Viewed 14955 times
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

redoine322 wrote:
Sat Apr 16, 2022 10:24 pm
try 1.2.1, it should work.
https://drive.google.com/drive/u/0/fold ... L2KFZWTqKr
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
redoine322
Posts: 12
Joined: Fri Apr 15, 2022 2:16 am

Re: Dolby Vision now possible through MP4 Mux.

Post by redoine322 »

RESET_9999 wrote:
Sat Apr 16, 2022 10:28 pm
redoine322 wrote:
Sat Apr 16, 2022 10:24 pm
try 1.2.1, it should work.
https://drive.google.com/drive/u/0/fold ... L2KFZWTqKr
thank you So much it working Great Now here is the result the Dv is triggered but No audio on the Tv it says "this video does not support audio" .

Code: Select all

General
ID                                       : 1 (0x1)
Format                                   : MPEG-TS
File size                                : 55.6 GiB
Duration                                 : 2 h 23 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 55.5 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 23 min
Bit rate                                 : 51.2 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.258
Stream size                              : 51.3 GiB (92%)
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 1506 cd/m2
Maximum Frame-Average Light Level        : 459 cd/m2

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : 132
Duration                                 : 2 h 23 min
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 62.500 FPS (768 SPF)
Compression mode                         : Lossy
Stream size                              : 1.54 GiB (3%)
Language                                 : English
Service kind                             : Complete Main
viktrcoim
Posts: 1
Joined: Mon Apr 18, 2022 3:27 am

Re: Dolby Vision now possible through MP4 Mux.

Post by viktrcoim »

Hi guys, Im kinda new to all this so here it goes:

I have some 4K files in p07 that I would love to convert to p8.1 or p5. I saw several messages here but Im kinda lost with this coding and muxes. I was able to instal ffmpeg in my mac (m1) but now i dont know what to do to convert a file. do i need to install anything else? Is there a tutorial for this?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I took a look at the Dolby Vision metadata of The Batman itunes/movies anywhere/HBO and the differences are quite surprising. Itunes RPU is much larger even without L5 and L4. @Quietvoid, any idea why?
Also, why the hell are they all using the old Dolby vision algorithm CMV2.9... CMV4.0 is supposed to be superior, especially for the SDR trim passes. They can do the grade in 4.0 and then export in 2.9 for compatibility reasons though. Another interesting fact about HBO and MA, the colors are not the same(at least for HDR10) but they have the same L1/L2 DV metadata. https://slow.pics/c/axsHELui

Image

The scene around frame 10625
iTunes:
- missing L5
- No L4
- No L6 maxcll/fall
- RPU is considerably larger than the other two
- no full range flag in the HEVC encode

Code: Select all

    "cmv29_metadata": {
      "num_ext_blocks": 5,
      "ext_metadata_blocks": [
        {
          "Level1": {
            "min_pq": 12,
            "max_pq": 2081,
            "avg_pq": 1229
          }
        },
        {
          "Level2": {
            "target_max_pq": 2081,
            "trim_slope": 650,
            "trim_offset": 2052,
            "trim_power": 1227,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level2": {
            "target_max_pq": 2851,
            "trim_slope": 1787,
            "trim_offset": 2071,
            "trim_power": 1955,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level2": {
            "target_max_pq": 3079,
            "trim_slope": 2048,
            "trim_offset": 2049,
            "trim_power": 2048,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level6": {
            "max_display_mastering_luminance": 1000,
            "min_display_mastering_luminance": 1,
            "max_content_light_level": 0,
            "max_frame_average_light_level": 0
MA :
- incorrect L5
- L4 present
- No L6 maxcll/fall

Code: Select all

    "cmv29_metadata": {
      "num_ext_blocks": 7,
      "ext_metadata_blocks": [
        {
          "Level1": {
            "min_pq": 12,
            "max_pq": 2081,
            "avg_pq": 1229
          }
        },
        {
          "Level2": {
            "target_max_pq": 2081,
            "trim_slope": 650,
            "trim_offset": 2052,
            "trim_power": 1227,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level2": {
            "target_max_pq": 2851,
            "trim_slope": 1787,
            "trim_offset": 2071,
            "trim_power": 1955,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level2": {
            "target_max_pq": 3079,
            "trim_slope": 2048,
            "trim_offset": 2049,
            "trim_power": 2048,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level4": {
            "anchor_pq": 220,
            "anchor_power": 180
          }
        },
        {
          "Level5": {
            "active_area_left_offset": 0,
            "active_area_right_offset": 0,
            "active_area_top_offset": 0,
            "active_area_bottom_offset": 0
          }
        },
        {
          "Level6": {
            "max_display_mastering_luminance": 1000,
            "min_display_mastering_luminance": 1,
            "max_content_light_level": 0,
            "max_frame_average_light_level": 0
HBO:
- proper L5
- L4 present
- L6 complete

Code: Select all

    "cmv29_metadata": {
      "num_ext_blocks": 7,
      "ext_metadata_blocks": [
        {
          "Level1": {
            "min_pq": 12,
            "max_pq": 2081,
            "avg_pq": 1229
          }
        },
        {
          "Level2": {
            "target_max_pq": 2081,
            "trim_slope": 650,
            "trim_offset": 2052,
            "trim_power": 1227,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level2": {
            "target_max_pq": 2851,
            "trim_slope": 1787,
            "trim_offset": 2071,
            "trim_power": 1955,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level2": {
            "target_max_pq": 3079,
            "trim_slope": 2048,
            "trim_offset": 2049,
            "trim_power": 2048,
            "trim_chroma_weight": 2048,
            "trim_saturation_gain": 2048,
            "ms_weight": 2048
          }
        },
        {
          "Level4": {
            "anchor_pq": 218,
            "anchor_power": 178
          }
        },
        {
          "Level5": {
            "active_area_left_offset": 0,
            "active_area_right_offset": 0,
            "active_area_top_offset": 275,
            "active_area_bottom_offset": 276
          }
        },
        {
          "Level6": {
            "max_display_mastering_luminance": 1000,
            "min_display_mastering_luminance": 1,
            "max_content_light_level": 413,
            "max_frame_average_light_level": 65
          }
        }
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply