Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
darrrkmanxxx
Posts: 93
Joined: Mon Apr 13, 2020 9:55 am

Re: Dolby Vision now possible through MP4 Mux.

Post by darrrkmanxxx »

Hey guys, many of the streaming versions contain e-ac-3+atmos, which doesn‘t exists on blu-rays. Blu-rays have usually a TrueHD Atmos and an E-AC-3 tracks. Unfortunately Truhd isn‘t supported by my tv, but e-ac3+atmos plays very well and sounds better that just e-ac3 or even dts-he master audio. Is there a way to take the atmos information from the TruHD Atmos track and embed ist into the e-ac-3, so we get the same as in streaming versions or even just downconvert truhd but keep the atmos?

My goal is to get from TrueHD Atrmos to E-AC-3 JOC (Dolby Digital Plus with Dolby Atmos)
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

darrrkmanxxx wrote:
Sun Jan 30, 2022 12:21 pm
My goal is to get from TrueHD Atrmos to E-AC-3 JOC (Dolby Digital Plus with Dolby Atmos)
you need DEE for that. The best you can get right now is e-AC3 1536kbps with ffmpeg.

https://professional.dolby.com/product/ ... ng-engine/
https://www.rspeaudio.com/Dolby-Media-P ... -suite.htm

Code: Select all

ffmpeg.exe -i E:\input.mkv -map 0:1 -c:a eac3 -b:a 1536k -c:s copy output.mkv
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
powdeau
Posts: 57
Joined: Sat Jan 12, 2019 1:01 am

Re: Dolby Vision now possible through MP4 Mux.

Post by powdeau »

Is there a way to convert HLG into HDR10 in order to convert it into DV?
mtotheb
Posts: 38
Joined: Wed Jan 27, 2021 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mtotheb »

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?
I know that Final Cut Pro X can do that. See here: https://help.apple.com/finalcutpro/mac/ ... rbf72f3e96
Shield TV 2017 -> LG DSN10YG Soundbar with SPK8 Rears -> LG B1 OLED
anshulsaini
Posts: 1
Joined: Sat Sep 11, 2021 11:56 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by anshulsaini »

Hi Everyone,

I know the windows process using tsmuxer and CMD.
Can anyone help me with the process of doing this on a MAC?
Which files to download, where should I keep them, and what is the command line
I'm using Intel base Macbook 2016 running on macOS Monterey 12.2
Last edited by anshulsaini on Mon Jan 31, 2022 12:22 am, edited 1 time in total.
jayper
Posts: 331
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: 4167
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: 331
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: 4167
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: 331
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: 68
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: 68
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: 68
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: 331
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: 57
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.
Post Reply