Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2082
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?
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 9101 times
RESET_9999
Posts: 2082
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
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: 2082
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
          }
        }
RESET_9999
Posts: 2082
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

mmmm Last night I watched half of the batman itunes DV WEB-DL and everything was fine.
Tonight I resumed the movie with the MA DV WEB-DL which as stated just above, has incorrect L5 metadata. It is set to 0 when it should be 276,276 (or 275,276 like hbo).

I noticed right away the black bars were not perfectly black like they were last night so I demuxed the rpu, edited L5 properly, injected it back, and voila, black bars are black again.
So this shows how important doing L5 properly is when doing the hybrid remux, especially if you play the movies on your TV internal player.

*** the raised black bars will only happen if a scene has L1 min_pq higher than 0.
*** My TV is in a projector room, so complete black velvet everywhere which makes this kind of issue easy to spot. I would probably never noticed that in a semi-bright room.
drew_nickel
Posts: 4
Joined: Mon Apr 18, 2022 4:19 am

Re: Dolby Vision now possible through MP4 Mux.

Post by drew_nickel »

Hey whats up @RESET_9999

I've been lurking on here for a while now. I'm pretty much a novice to DV ripping/encoding stuff... With Yusesope's and your help I recently was successful in ripping my first DV movie (.m2ts file) file to DV profile 8 mp4. (So, that I can watch on my LG CX). Thanks!

Since then, Ive been examining a bunch different random DV movies and shows.

So, right before I saw this post, I myself noticed the different sizes of EL/RPU data. I've attached a screenshot of my file sizes. The 1st DV source that was leaked last night had an even larger sized EL/RPU data than the iTunes version. I'm not quite sure where that source came from though. You put down "iTunes, HBOmax, and MA" as the 3 sources you have. Forgive, my ignorance... but what source is "MA"?

Also, what do you make of HBOmax version being a few gigabytes larger in size? What do you make of that? Would that be the best version to watch?
I've attached a screenshot to show you what I got.
If anything that I'm saying is wrong or sound funny please dont hesitate to correct me :D
Attachments
layersizes.jpg
layersizes.jpg (93.79 KiB) Viewed 10982 times
quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Mon Apr 18, 2022 9:54 pm
Itunes RPU is much larger even without L5 and L4. @Quietvoid, any idea why?
Don't know, the info you included is only part of the metadata.
ArArdin
Posts: 194
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

RESET_9999 wrote:
Tue Apr 19, 2022 12:08 am
Tonight I resumed the movie with the MA DV WEB-DL which as stated just above, has incorrect L5 metadata. It is set to 0 when it should be 276,276 (or 275,276 like hbo).

I noticed right away the black bars were not perfectly black like they were last night so I demuxed the rpu, edited L5 properly, injected it back, and voila, black bars are black again.
So this shows how important doing L5 properly is when doing the hybrid remux, especially if you play the movies on your TV internal player.
I haven't the Dolby Vision versions (yet), but the Batman films show different aspect ratios in one movie.
I understand setting L5 to 276 would be beneficial to the black bars. But wouldn't it also negatively affect DV playback on where normally the black bars would be, so when video is full frame?
Or is L5 also dynamic, and be adjustable for every scene/frame? If so, forgive my ignorance. I haven't done other with L5 than setting it to zero a couple of times.
RESET_9999
Posts: 2082
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

ArArdin wrote:
Tue Apr 19, 2022 9:29 am
Or is L5 also dynamic, and be adjustable for every scene/frame? If so, forgive my ignorance. I haven't done other with L5 than setting it to zero a couple of times.
yes L5 is dynamic.
chros
Posts: 102
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by chros »

Nice summary, thanks! I took a quick look at hmax version, but I wasn't blown away by the image quality :)
quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Mon Apr 18, 2022 9:54 pm
Itunes RPU is much larger even without L5 and L4. @Quietvoid, any idea why?
The iTunes stream has extra chroma reshaping, which makes reds slightly brighter.
https://slow.pics/c/Oa5JZnp6

So the reshaping params take a lot more bytes:

Code: Select all

"num_pivots_minus_2": [
      7,
      3,
      3
]
RESET_9999
Posts: 2082
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

interesting. thanks

but are you sure this is what's causing the difference in colors because I see kind of the same difference when I compare HDR10 MA with HDR10 HBO. https://slow.pics/c/axsHELui
MA looks closer to the SDR grade.
quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Tue Apr 19, 2022 2:22 pm
interesting. thanks

but are you sure this is what's causing the difference in colors because I see kind of the same difference when I compare HDR10 MA with HDR10 HBO. https://slow.pics/c/axsHELui
MA looks closer to the SDR grade.
I didn't check HDR10, only Dolby Vision profile 5 for iTunes and HBO Max.
Post Reply