Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote:
Sun Aug 22, 2021 8:33 pm
What do you mean by "make it profile 5"? By messing with the metadata/headers? Is there a tool to do that easily?
demux, then :

Code: Select all

mp4muxer_64bits.exe --dv-profile 5 --input-file X:\DV.hevc --output-file output.mp4
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

galarond wrote:
Sun Aug 22, 2021 8:02 pm
Anybody know if theres any rip of avengers 1 or 2 in DV? Dont know if theres a version of man of steel in DV too.
lol, you won't find that information on any public forum. Not even on private trackers forum.
There's a public way only for Widevine L3 which is for 1080p or lower resolution , 2160p use L1 and Disney+ use L1 even for 1080p.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

RESET_9999 wrote:
Sun Aug 22, 2021 8:49 pm
FubbAyH wrote:
Sun Aug 22, 2021 8:33 pm
What do you mean by "make it profile 5"? By messing with the metadata/headers? Is there a tool to do that easily?
demux, then :

Code: Select all

mp4muxer_64bits.exe --dv-profile 5 --input-file X:\DV.hevc --output-file output.mp4
Thank you! I've tried that now and the fake profile 5 file plays as DV in Plex and Infuse, but I don't see a brightness change in either of them, unfortunately. So that's disappointing.
glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by glc650 »

FubbAyH wrote:
Sun Aug 22, 2021 6:28 pm
Thank you. That's great news because Infuse is my preferred player too. I'm testing the 8.1 test files from Dolby and from Mystery Box, though, and they are both playing as HDR10 for me. I've set output to 4K SDR with Match Dynamic Range on as you suggested, but I get the HDR10 logo on my TV when playing the files rather than the DV logo. Do you have some sample files that are working for you that I could try?
I've only come across one maybe two P8 files recently. I don't even recall which show they were. I know they were P8 (at least according to mediainfo) because I usually check all DV downloads to see what I need to do (if anything) to get them to work with my sources. I was actually surprised to see P8 downloads since all streaming is P5. I guess someone did that because they thought it would increase compatibility or maybe mediainfo just ID'd it wrong? I think I have had trouble with mkv P5 but not mp4 P5 (Infuse). I'll try the P8's from the link above and see what happens.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote:
Sun Aug 22, 2021 9:27 pm
Thank you! I've tried that now and the fake profile 5 file plays as DV in Plex and Infuse, but I don't see a brightness change in either of them, unfortunately. So that's disappointing.
wow, in the past years we've seen a lot of people commenting here on how they don't see anything wrong about profile 5 uhd bluray rip played on the appleTV 4K. They are actually watching fake DV !!!
nothing surprises me anymore from apple though, they can't even get SDR color right for two generations in a row and it took them years just to fix the 24fps playback.
the chance that they will allow any dv playback other than true p5 is close to 0 IMO
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by glc650 »

FubbAyH wrote:
Sun Aug 22, 2021 6:28 pm
Thank you. That's great news because Infuse is my preferred player too. I'm testing the 8.1 test files from Dolby and from Mystery Box
I do have the glass blowing demo saved from elsewhere but there is clearly something up with the file. Mediainfo says it is HDR10 and it only plays back as SDR in Infuse. If I remux it it plays back as HDR10 even though mediainfo shows it being 8.05 DV. I have some LG P4 and P5 test files in .ts container. The P5s play as expected but the P4s play as SDR.
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

Post by staknhalo »

That Dolby Vision UHD 8.1 glass blowing test file doesn't have dvhe set as the codec ID (bug of their Dolby MP4 muxer)

Here is the file with the correct codec ID set: https://mega.nz/file/1XRRCS5C#1tRtdkEet ... XHiMOymkeU
glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by glc650 »

staknhalo wrote:
Sun Aug 22, 2021 10:46 pm
That Dolby Vision UHD 8.1 glass blowing test file doesn't have dvhe set as the codec ID (bug of their Dolby MP4 muxer)

Here is the file with the correct codec ID set: https://mega.nz/file/1XRRCS5C#1tRtdkEet ... XHiMOymkeU
Infuse plays that one back as HDR10. My X800M2 plays it back as DV but without audio (unless I remux to ts).
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

staknhalo wrote:
Sun Aug 22, 2021 10:46 pm
That Dolby Vision UHD 8.1 glass blowing test file doesn't have dvhe set as the codec ID (bug of their Dolby MP4 muxer)

Here is the file with the correct codec ID set: https://mega.nz/file/1XRRCS5C#1tRtdkEet ... XHiMOymkeU
Thank you for that fixed Dolby file. That one plays as HDR10 both in Plex in Infuse.
glc650 wrote:
Sun Aug 22, 2021 10:19 pm
The P5s play as expected but the P4s play as SDR.
Thank you for doing the testing.

It has frustrated me that the players seem to be ignoring the RPU in my P5 test files, because I was assuming that P5 was the one thing that would work reliably. I'm wondering if it's just an Infuse bug causing that, so I'll investigate that.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote:
Sun Aug 22, 2021 11:20 pm
It has frustrated me that the players seem to be ignoring the RPU in my P5 test files, because I was assuming that P5 was the one thing that would work reliably. I'm wondering if it's just an Infuse bug causing that, so I'll investigate that.
just because the file mediainfo says profile 5 DV doesn't mean the actual RPU is profile 5. The rpu is still p7 or p8 regardless of the profile it's muxed because the dv-tool doesn't support p7(or p8) to p5. And an actual true p5 rpu probably wouldn't work with an HDR10 BL
you can check the rpu data with this cmd:

Code: Select all

dovi_tool.exe info --input RPU.bin -f 0
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

Ah, I see what you mean. I didn't realise that the RPU data includes which profile it is for. So it's actually reasonable that Infuse would ignore the RPU in my hacked-together file because it's for the wrong profile. So we don't have any evidence that Infuse is playing profile 5 files incorrectly. I'll keep investigating. Thanks again for all your help!
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

(Sorry if I'm boring anyone to tears with this saga, I'll shut up soon.)

I've now found a profile 5 RPU and have injected that into my test file and it also seems to be ignored when playing back in Infuse (and in Plex). My (LG B7 OLED) TV's built-in video player gives dramatic color changes when playing the test file so it appears to be processing the RPU correctly. I've sent the sample and a video of the LG's playback to the Infuse developers, and I'll report back if they reply.
glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by glc650 »

FubbAyH wrote:
Mon Aug 23, 2021 1:56 am
...I'll shut up soon.)
Please don't..if it really is ignoring RPU appreciate the work getting it fixed.
FubbAyH wrote:
Mon Aug 23, 2021 1:56 am
I've sent the sample and a video of the LG's playback to the Infuse developers, and I'll report back if they reply.
I worked with them years ago with an SMB issue. They were slow to get it fixed but did. Hopefully here they will be quick to confirm any issues and get them fixed.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

Few more p5 Spares.
Attachments
D052F53C-013E-4D1C-8CF7-B742CCDD975C.jpeg
D052F53C-013E-4D1C-8CF7-B742CCDD975C.jpeg (1.43 MiB) Viewed 17906 times
6CB3B541-5576-4331-979C-B60B1A7FD37A.jpeg
6CB3B541-5576-4331-979C-B60B1A7FD37A.jpeg (2 MiB) Viewed 17906 times
63724362-EEC1-47D4-8E92-CD255A6E18C0.jpeg
63724362-EEC1-47D4-8E92-CD255A6E18C0.jpeg (1.71 MiB) Viewed 17906 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 »

FubbAyH wrote:
Mon Aug 23, 2021 1:56 am
(Sorry if I'm boring anyone to tears with this saga, I'll shut up soon.)

I've now found a profile 5 RPU and have injected that into my test file and it also seems to be ignored when playing back in Infuse (and in Plex). My (LG B7 OLED) TV's built-in video player gives dramatic color changes when playing the test file so it appears to be processing the RPU correctly. I've sent the sample and a video of the LG's playback to the Infuse developers, and I'll report back if they reply.
nah keep going, this thread is all about experimenting with DV.
in order to properly test if rpu is used, you probably should modify/unsync a true p5 file instead of injecting a p5 rpu to a random HDR10 BL.
You can delay the rpu metadata with a JSON edit and inject it back into the original p5 bl and it should produce visible brightness changes. the file would still follow dv specs.

this json will delay the metadata 120frames.

Code: Select all

{
	"duplicate": [
		{
			"source": 0,
			"offset": 0,
			"length": 120
		}
	]
}
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply