Use TSMuxer, select 'TS Muxing' as the output.
Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
OK, so you want to convert P5 to P8 but Apple is using an odd "max_display_mastering_luminance".Robert89 wrote: ↑Sun Jan 30, 2022 8:00 amno 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
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
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
}
}
Make the file and save it as mode3.json:
Code: Select all
{
"mode": 3
}
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.
Re: Dolby Vision now possible through MP4 Mux.
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.
Re: Dolby Vision now possible through MP4 Mux.
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.jayper wrote: ↑Sun Jan 30, 2022 7:53 pmIs 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.
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.
Re: Dolby Vision now possible through MP4 Mux.
Thanks very much, appreciate all the insight.
Re: Dolby Vision now possible through MP4 Mux.
Thanks, I will play it on C7 or x700 but the problem is that madVR (madMeasureHDR) doesn't measure HLG video.nekno wrote: ↑Mon Jan 31, 2022 1:12 amDV 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.
Re: Dolby Vision now possible through MP4 Mux.
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.
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.
Re: Dolby Vision now possible through MP4 Mux.
ok , which is th best way to use Dynamic.HDR.Optimizer.exe with "target nits" and dovi_tool.exe with --use-custom-targets ?
Re: Dolby Vision now possible through MP4 Mux.
Did you succeed?RESET_9999 wrote: ↑Thu Dec 30, 2021 7:42 pmyes 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.
-
- Posts: 2094
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
noNiCE77 wrote: ↑Thu Feb 03, 2022 8:35 amDid you succeed?RESET_9999 wrote: ↑Thu Dec 30, 2021 7:42 pmyes 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.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
So after ups and downs with the delivery company I received my Xiaomi Mi TV 4K and can report on its capabilities.
Things that work:
- HEVC (high bitrate too) / AV1
- DTS (HD*) 5.1 & 7.1
— My Soundbar only shows “DTS Audio” for HD and compressed but by playing back the 5.1/7.1 HD Test files the channels are mapped correctly and it is highly likely passing through the right format using OMX.amlogic.audio.decoder.dtshd
- In the settings switching between TV-Led and Source-Led Dolby Vision
- DV MEL DT DL // DV 5 / 8.1 RPU
(Edit2)
- OTG Support with powered micro usb hub: 1TB External hard drive and ethernet. (around 120mbps)
EDIT: Things that don’t work now confirmed:
- DV (FEL DT DL)
— Tested with “black level pattern mp4/ts” & “RPU-FEL Test DT DL p7”, somebody please tell me what to look for in the last one. @Reset_9999 ?
Things that don’t work:
- TrueHD (any) +Atmos
- DTS:X
- The “Dolby Vision FEL Test p7.06 Dual Layer.mp4” I’m assuming it’s because it’s missing rpu? It plays until the 23 frame and then gets stuck.
- Any Single Layer Dual Track DV files
Things that work:
- HEVC (high bitrate too) / AV1
- DTS (HD*) 5.1 & 7.1
— My Soundbar only shows “DTS Audio” for HD and compressed but by playing back the 5.1/7.1 HD Test files the channels are mapped correctly and it is highly likely passing through the right format using OMX.amlogic.audio.decoder.dtshd
- In the settings switching between TV-Led and Source-Led Dolby Vision
- DV MEL DT DL // DV 5 / 8.1 RPU
(Edit2)
- OTG Support with powered micro usb hub: 1TB External hard drive and ethernet. (around 120mbps)
EDIT: Things that don’t work now confirmed:
- DV (FEL DT DL)
— Tested with “black level pattern mp4/ts” & “RPU-FEL Test DT DL p7”, somebody please tell me what to look for in the last one. @Reset_9999 ?
Things that don’t work:
- TrueHD (any) +Atmos
- DTS:X
- The “Dolby Vision FEL Test p7.06 Dual Layer.mp4” I’m assuming it’s because it’s missing rpu? It plays until the 23 frame and then gets stuck.
- Any Single Layer Dual Track DV files
Last edited by mtotheb on Thu Feb 03, 2022 10:53 pm, edited 2 times in total.
Shield TV 2017 -> LG DSN10YG Soundbar with SPK8 Rears -> LG B1 OLED
-
- Posts: 2094
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
You will see a video from another movie over the orange picture if FEL is used and a couple of flashes if the RPU is used.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
Is there a reference image for that?RESET_9999 wrote: ↑Thu Feb 03, 2022 8:52 pmYou will see a video from another movie over the orange picture if FEL is used and a couple of flashes if the RPU is used.
I have Blank red until ~26sec then I get the Warner Bros over the red part, a stanley… over the blue part then clockwork over red switching to a movie scene at ~45
Shield TV 2017 -> LG DSN10YG Soundbar with SPK8 Rears -> LG B1 OLED
-
- Posts: 2094
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
If you only see a blank red picture, it means FEL is not processed. I'll try to take a picture when I get home.
Do you see the flashes though?
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons