Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
jayper
Posts: 304
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

Is it possible to create BDMV folders or ISO files with Dolby Vision Profile 8 files and have them properly play back on a UHD Disc player, like an Oppo? Or is profile 8 not supported by the BD player spec?

I am asking, as I only have an Nvidia Shield, x700 and an Oppo 203 clone, and from what I have gathered, the Shield does not have accurate coloring for Profile 8 DV.
Last edited by jayper on Sun Jan 30, 2022 8:08 pm, edited 1 time in total.
Coopervid
Posts: 1145
Joined: Tue Feb 19, 2019 10:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Coopervid »

jayper wrote:
Sun Jan 30, 2022 7:53 pm
Is it possible to create BDMV folders or ISO files with Dolby Vision Profile 8 files and have them properly play back on a UHD Disc player, like an Oppo? Or is profile 8 not supported by the BD player spec?
I had pretty much the same question a week ago.

Is there any way to make these to 7.06 / Oppo compatible files?
jayper
Posts: 304
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

Coopervid wrote:
Sun Jan 30, 2022 8:05 pm
jayper wrote:
Sun Jan 30, 2022 7:53 pm
Is it possible to create BDMV folders or ISO files with Dolby Vision Profile 8 files and have them properly play back on a UHD Disc player, like an Oppo? Or is profile 8 not supported by the BD player spec?
I had pretty much the same question a week ago.

Is there any way to make these to 7.06 / Oppo compatible files?
I've been successful with TS files, but would prefer ISO or BDMV files as they have better usability support (chapters, track names, etc).

To clarify: The ISO and BDMV outputs from TSMuxer only have audio playback, video is blank.
Last edited by jayper on Mon Jan 31, 2022 12:09 am, edited 1 time in total.
Coopervid
Posts: 1145
Joined: Tue Feb 19, 2019 10:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Coopervid »

How? There is a small chance to run then the resulting TS through BDRebuilder. Only a theory.
jayper
Posts: 304
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

Coopervid wrote:
Sun Jan 30, 2022 10:31 pm
How? There is a small chance to run then the resulting TS through BDRebuilder. Only a theory.
Use TSMuxer, select 'TS Muxing' as the output.
nekno
Posts: 56
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

Robert89 wrote:
Sun Jan 30, 2022 8:00 am
no is what happens when I try to convert an appletv + web-dl.
in sum to explain myself better ... the first step.

Code: Select all

dovi_tool -m 3 convert --discard dolby.hevc
OK, so you want to convert P5 to P8 but Apple is using an odd "max_display_mastering_luminance".

If you check the file with MediaInfo, or check the file properties in a player like MPC-BE or MPC-HC, can you see if it has "Mastering display luminance" values?

For example, here's a random HDR10 file. If I play it in MPC-BE, right-click > Properties > MediaInfo tab, it shows:

Code: Select all

Mastering display luminance    : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level    : 1000 cd/m2
Maximum Frame-Average Light Le : 293 cd/m2
Then make a json file with those values.

Using the example file above, MaxCLL is 1000 and MaxFALL is 293. If you don't have those values I believe you can leave them as 0 in your json file and they won't be changed.

If you can't find Mastering display luminance values, using 1000 and 50 should be safe value.

Make the file and save it as L6.json:

Code: Select all

{
    "cm_version": "V29",
    "length": 0,
    "level6": {
        "max_display_mastering_luminance": 1000,
        "min_display_mastering_luminance": 50,
        "max_content_light_level": 1000,
        "max_frame_average_light_level": 293 
    }
}
Then you need to create a separate json file to set edit mode 3 to convert to P8.

Make the file and save it as mode3.json:

Code: Select all

{
    "mode": 3
 }
 
Then you need to extract the RPU, edit it the json file to set the L6 metadata, edit it again with the json file to convert it to P8, and then re-inject it.

Code: Select all

dovi_tool extract-rpu dolby.hevc
dovi_tool editor -i RPU.bin -j L6.json -o RPU_L6.bin
dovi_tool editor -i RPU_L6.bin -j mode3.json -o RPU_p8.bin
dovi_tool inject-rpu -i dolby.hevc --rpu-in RPU_p8.bin -o dolby_p8.hevc
Last edited by nekno on Mon Jan 31, 2022 1:54 am, edited 1 time in total.
nekno
Posts: 56
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

powdeau wrote:
Sun Jan 30, 2022 4:55 pm
Is there a way to convert HLG into HDR10 in order to convert it into DV?
DV supports both HLG and HDR10 with different profile compatibility IDs.

DV P8.1 is P8 with an HDR10 base layer.

DV 8.4 is P8 with an HLG base layer.

So you don't necessarily need to convert from HLG to HDR10 to get DV, it just depends on your playback device.

The latest iPhones, iPads, and Apple TV, for example, support DV P8.4 with an HLG BL. I haven't seen if, e.g., Infuse is working with P8.4 properly yet.

A lot of variables depending on where you're trying to play a file.
nekno
Posts: 56
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

jayper wrote:
Sun Jan 30, 2022 7:53 pm
Is it possible to create BDMV folders or ISO files with Dolby Vision Profile 8 files and have them properly play back on a UHD Disc player, like an Oppo? Or is profile 8 not supported by the BD player spec?

I am asking, as I only have an Nvidia Shield, x700 and an Oppo 203 clone, and from what I have gathered, the Shield does not have accurate coloring for Profile 8 DV.
I don't know about the other players, but the X700 wouldn't play P8 in BDMV format in my testing. It locked up the player with a black screen.

The only DV profile supported by UHD BD is P7, with either FEL or MEL.

The best combo of DV P8 + lossless audio + subtitles + FF/RW support on the X700 is to use tsMuxer to create m2ts files.

I also asked about this a week or so back, and to use BDMV format, we'd need a legitimate EL with the same frame types in the same order as each frame in the BL in order to carry the RPU. P7 doesn't support BL+RPU, it needs BL+EL+RPU.

I haven't seen anyone successfully accomplish that yet.

quietvoid mentioned he might think about adding support for generating an MEL to dovi_tool, which would make P8 or P5 conversions to P7 possible.
jayper
Posts: 304
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

Thanks very much, appreciate all the insight.
powdeau
Posts: 45
Joined: Sat Jan 12, 2019 1:01 am

Re: Dolby Vision now possible through MP4 Mux.

Post by powdeau »

nekno wrote:
Mon Jan 31, 2022 1:12 am
powdeau wrote:
Sun Jan 30, 2022 4:55 pm
Is there a way to convert HLG into HDR10 in order to convert it into DV?
DV supports both HLG and HDR10 with different profile compatibility IDs.

DV P8.1 is P8 with an HDR10 base layer.

DV 8.4 is P8 with an HLG base layer.

So you don't necessarily need to convert from HLG to HDR10 to get DV, it just depends on your playback device.

The latest iPhones, iPads, and Apple TV, for example, support DV P8.4 with an HLG BL. I haven't seen if, e.g., Infuse is working with P8.4 properly yet.

A lot of variables depending on where you're trying to play a file.
Thanks, I will play it on C7 or x700 but the problem is that madVR (madMeasureHDR) doesn't measure HLG video.
looun
Posts: 4
Joined: Tue Feb 18, 2020 11:38 am

Re: Dolby Vision now possible through MP4 Mux.

Post by looun »

Should it be possible to create DV P4 or P8.2 (SDR compatibly ) from madVR HDR measurements?

i have tried Dynamic.HDR.Optimizer.exe with target nits 100 and --use-custom-targets parameters, but i don't see lot of change.

Can be very usell using Dynamic.HDR.Optimizer. + DV as dynamic tone mapping as madvr for projector, like or better than tips Dolby Vision/DTM with HDFury .


thanks.
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

looun wrote:
Tue Feb 01, 2022 10:01 am
Should it be possible to create DV P4 or P8.2 (SDR compatibly ) from madVR HDR measurements?
No, only profile 8.1 with HDR10 backwards compatibility is supported.
looun
Posts: 4
Joined: Tue Feb 18, 2020 11:38 am

Re: Dolby Vision now possible through MP4 Mux.

Post by looun »

ok , which is th best way to use Dynamic.HDR.Optimizer.exe with "target nits" and dovi_tool.exe with --use-custom-targets ?
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

RESET_9999 wrote:
Thu Dec 30, 2021 7:42 pm
yes but the file has the 8.1 rpu from @quietvoid L1L2 HDR10 BL test file.
I'll try to edit the original HLG 8.4 footage.
Did you succeed?
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

NiCE77 wrote:
Thu Feb 03, 2022 8:35 am
RESET_9999 wrote:
Thu Dec 30, 2021 7:42 pm
yes but the file has the 8.1 rpu from @quietvoid L1L2 HDR10 BL test file.
I'll try to edit the original HLG 8.4 footage.
Did you succeed?
no :(
Post Reply