Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

#6616 Post by quietvoid » Thu May 26, 2022 1:09 am

RESET_9999 wrote:
Thu May 26, 2022 1:06 am
quietvoid wrote:
Thu May 26, 2022 1:03 am
If I can find time I'll try reencoding the pattern with my suggestions.
thanks , that would be great because i have no idea how to do L3,L4
It's pretty simple. Run dovi_tool info on the Resolve RPU, copy paste the blocks into the generate config.
Example: https://github.com/quietvoid/dovi_tool/ ... e.json#L16

Also, can you clarify which bug is fixed with the Resolve file on the Shield?
The red push or also the blue banding?

RESET_9999
Posts: 2086
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#6617 Post by RESET_9999 » Thu May 26, 2022 1:11 am

quietvoid wrote:
Thu May 26, 2022 1:09 am
Also, can you clarify which bug is fixed with the Resolve file on the Shield?
The red push or also the blue banding?
the red push , i dont know yet.
The blue banding and colorspace conversion/clipping are fixed. It looks perfect like the C8 and X700/X800m2

reference (dovitool version): https://slow.pics/c/ga3ytybR

resolve version (not same camera settings as the old comparison):

Image

RESET_9999
Posts: 2086
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#6618 Post by RESET_9999 » Thu May 26, 2022 3:33 am

red push is still present with the resolve files :(

re-injecting the same rpu doesnt trigger the bug but reinjecting it to the other video does so the injecting part is fine.
Why does the bug happen with madvr generated RPU as well and only on the shield? I guess just editing L5/L6 for madvr is not enough. very strange...
quietvoid wrote:
Thu May 26, 2022 1:03 am
L9 needs to be matched too.
EDIT: it happens only when the BL is BT2020 MD. so yeah it's a colorspace mismatch but it only causes problems on the shield.
How do to make the rpu bt2020 instead of p3 with madvr measurement to Dovi?
0= P3
1= bt2020 ???
{
"Level9": {
"length": 1,
"source_primary_index": 0
}
Last edited by RESET_9999 on Thu May 26, 2022 11:19 am, edited 2 times in total.

realbabilu
Posts: 22
Joined: Sun May 15, 2022 4:23 am

Re: Dolby Vision now possible through MP4 Mux.

#6619 Post by realbabilu » Thu May 26, 2022 3:48 am

quietvoid wrote:
Thu May 26, 2022 1:03 am
RESET_9999 wrote:
Thu May 26, 2022 12:53 am
I'll match the color primaries for the 2nd clip but i doubt it will make any difference. As for L9 i dont know.
L9 needs to be matched too.
RESET_9999 wrote:
Thu May 26, 2022 12:53 am
correct me if i am wrong but I use the first version of the mp4muxer (because the newest one doesnt work) and --dv-bl-compatible-id 1 doesnt work. ( i think it was added later)
I think the latest version of mp4muxer doesn't work only on LG TV internal player?
So you can use latest version for the Shield, or tsmuxer.

If I can find time I'll try reencoding the pattern with my suggestions.
Maybe this weekend.
my android hisense tv works with mp4muxer mp4 pc / m4v subler mac for p5 p7 p8.1, it support atmos too.
except playing p7 fel single layer (somehow jitter...), and lazy cannot play subtitle inside mp4/m4v
any p7 double layer fel that converted to p8.1 will downgraded to HDR10 with DVtool.
Any TSmuxer converted will have sync issue, may the subtitles hdv alone, or out of sync audio.
I definitely suggest subler muxer for any Apple devices, may including ATV perhaps, not tested on that.

So basically mp4muxer has more compatibility in my internal tv player, except that doesnt have delay audio offset. it will outsync when the audio have offset.
My question:
what is --dv-bl-compatible-id option did on mp4muxer? especially for p8 profile, that is said must have.
can mp4box fix outsync offset from mp4muxer?

phbart
Posts: 12
Joined: Sat Aug 29, 2020 8:38 pm

Re: Dolby Vision now possible through MP4 Mux.

#6620 Post by phbart » Thu May 26, 2022 11:51 am

RESET_9999 wrote:
Mon May 23, 2022 2:25 am
phbart wrote:
Sun May 22, 2022 11:46 pm
I tried the latest version, but it's still not triggering DV. I remuxed as "blu-ray disc". Do I need to change the mux settings?
you remuxed as bluray folder and tried to play the m2ts ? that's the problem.
You have to mux your BD straight to TS or M2TS.
Now it worked like a charm! Thank you!

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#6621 Post by quietvoid » Thu May 26, 2022 12:47 pm

RESET_9999 wrote:
Thu May 26, 2022 3:33 am
EDIT: it happens only when the BL is BT2020 MD. so yeah it's a colorspace mismatch but it only causes problems on the shield.
How do to make the rpu bt2020 instead of p3 with madvr measurement to Dovi?
0= P3
1= bt2020 ???
{
"Level9": {
"length": 1,
"source_primary_index": 0
}
Use this for BT.2020:

Code: Select all

{
    "Level9": {
        "length": 1,
        "source_primary_index": 2
    }
}
So does the Shield only have the bug with the BL using mastering display DCI-P3 for HDR10?
If so there's really nothing we can do. Most titles are mastered in DCI-P3.

The original pattern you shared as "multi pattern DV P8.ts" is BT.2020, though. It didn't have L9 metadata.

RESET_9999
Posts: 2086
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#6622 Post by RESET_9999 » Thu May 26, 2022 2:10 pm

quietvoid wrote:
Thu May 26, 2022 12:47 pm
So does the Shield only have the bug with the BL using mastering display DCI-P3 for HDR10?
If so there's really nothing we can do. Most titles are mastered in DCI-P3.
Thankfully it's the other way around, MDP P3 BL is fine.
I will do more tests tonight but regardless of the rpu, it looks like as soon as the HDR10 BL was mastered on a bt2020 monitor, the bug happens.
I'll check some bt2020 DV movies too. Such as the Matrix.
quietvoid wrote:
Thu May 26, 2022 12:47 pm

The original pattern you shared as "multi pattern DV P8.ts" is BT.2020, though. It didn't have L9 metadata.
yep, I did the first version with CMV2.9. So since that one doesn't have an MDP mismatch, it could confirms my suspicion that the shield has problems with movies mastered on a BT2020 display?
I redid the pattern because I based the dv analysis on maxcll 1000, when the clip actually is 10 000nits. So L1/L2 were incorrect. I guess I went too fast for the color settings in CMV4.0 for the second version

Code: Select all

{
    "Level9": {
        "length": 1,
        "source_primary_index": 2
    }
}
thank you, but with the madvr generated DV from a BT2020 MDP video, L9 defaults to P3 ?
could that be automated?

Code: Select all

        {
          "Level9": {
            "length": 1,
            "source_primary_index": 0
          }

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#6623 Post by quietvoid » Thu May 26, 2022 2:12 pm

RESET_9999 wrote:
Thu May 26, 2022 2:10 pm
thank you, but with the madvr generated DV from a BT2020 MDP video, L9 defaults to P3 ?
could that be automated?
You can use a JSON config along with a madVR measurement file.

deadchip12
Posts: 285
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

#6624 Post by deadchip12 » Thu May 26, 2022 11:32 pm

Could someone briefly explain what were being discussed in the last few pages? The x700/x800m2 bluray player seem like the ultimate devices for playing back dolby vision files, so what else need to be discussed? I'm just curious, not complaining or anything. Are people trying to make it work on other devices?

RESET_9999
Posts: 2086
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#6625 Post by RESET_9999 » Thu May 26, 2022 11:52 pm

quietvoid wrote:
Thu May 26, 2022 2:12 pm
.
Ok, I did more testing. It turns out the problem is the x265.exe settings used for the BL regardless of the RPU
  • The original pattern from the spears and munsil disc = bug on the shield
  • Re-encoded with x265.exe in multiples ways: in BT2020 or P3, chroma type 2 or not, default or custom slow preset settings, --uhd-bd or not = bug on the shield
  • Re-encoded in resolve (just regular HDR10, dont even need to be 8.1) with any RPU = no bug
Very weird, I give up...
deadchip12 wrote:
Thu May 26, 2022 11:32 pm
Could someone briefly explain what were being discussed in the last few pages? The x700/x800m2 bluray player seem like the ultimate devices for playing back dolby vision files, so what else need to be discussed? I'm just curious, not complaining or anything. Are people trying to make it work on other devices?
Just trying to figure out the shield colors issues.

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#6626 Post by quietvoid » Fri May 27, 2022 12:12 am

RESET_9999 wrote:
Thu May 26, 2022 11:52 pm
Ok, I did more testing. It turns out the problem is the x265.exe settings used for the BL regardless of the RPU
  • The original pattern from the spears and munsil disc = bug on the shield
  • Re-encoded with x265.exe in multiples ways: in BT2020 or P3, chroma type 2 or not, default or custom slow preset settings, --uhd-bd or not = bug on the shield
  • Re-encoded in resolve (just regular HDR10, dont even need to be 8.1) with any RPU = no bug
That doesn't make much sense.

RESET_9999
Posts: 2086
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#6627 Post by RESET_9999 » Fri May 27, 2022 12:13 am

quietvoid wrote:
Fri May 27, 2022 12:12 am
That doesn't make much sense.
but it's exactly what's happening. Feel free to provide your version of the pattern and I'll try.

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#6628 Post by quietvoid » Fri May 27, 2022 1:27 am

RESET_9999 wrote:
Fri May 27, 2022 12:13 am
quietvoid wrote:
Fri May 27, 2022 12:12 am
That doesn't make much sense.
but it's exactly what's happening. Feel free to provide your version of the pattern and I'll try.
You can try this: https://0x0.st/oBi5.mkv

However the file I used (multi pattern DV P8.ts) is not the same as the Resolve encode. It has more artifacts.
So either Resolve processed the image or something else.

RESET_9999
Posts: 2086
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#6629 Post by RESET_9999 » Fri May 27, 2022 1:37 am

quietvoid wrote:
Fri May 27, 2022 1:27 am
However the file I used (multi pattern DV P8.ts) is not the same as the Resolve encode. It has more artifacts.
So either Resolve processed the image or something else.
thank you
Just tried and the same bug as all the files I did


Image

rkjnsn
Posts: 17
Joined: Tue Aug 24, 2010 7:03 am

Re: Dolby Vision now possible through MP4 Mux.

#6630 Post by rkjnsn » Fri May 27, 2022 1:41 am

Okay, another couple of questions. First, I've seen reference to converting P5 to P8 to create "hybrid" streams using the HDR10 BL from the UHD blu-ray combined with the Dolby Vision data available via streaming. Is this ~always the best approach where possible, or are there cases where the blu-ray has scenes encoded at different brightnesses than the streaming base layer, making a madVR measurement the better choice?

Second, if I have a UHD blu-ray of Mulan (2020) along with a Disney+ subscription, is there any way I can capture the RPU metadata myself? E.g., can it be extracted from the streamed data, or is it DRM'd along with the video stream? Is there any tool that can capture the RPU by snooping on a TV-led DV HDMI signal? If not, is there a repository of DV RPU metadata extracted from such sources, or would I have to find a full copy of the streaming version somewhere and extract the RPU from that?

Post Reply