Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
dvfan
Posts: 6
Joined: Wed Jul 06, 2022 8:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by dvfan »

RESET_9999 wrote: Thu Jul 07, 2022 12:37 pm
dvfan wrote: Thu Jul 07, 2022 4:07 am I have a question, is there any way to make the resulting MKV file to show the mastering display luminance/MaxFALL/MaxCLL and color mastering metadata , like when watching with MadVR and you hit Ctrl-F to show info? now it shows only BT. 2020 primaries and BT. 2020 color, nothing else there. It should show the nits mastering followed by the color mastering. Like: 1000 nits HDR - BT. 2020 > DCI-P3 .....
I'm not sure I understand but, the script cannot change/remove the static HDR10 metadata of the resulting MKV.
Yes, it's just the Metadata for the video track. Which in this case would be inside the DV Profile 8.

This is an example so you can understand.

Spider-Man NWH Dolby Vision Profile 8 - MadVR On-Screen INFO:

Image

It shows HDR 9978 nits, since the metadata is properly injected:

Image

You see the Mastering Display numbers at the bottom.

But this is how it ends up when using the Script ( From HDR10 video, which includes this metadata information, but it goes away in the resulting MKV with DV Profile 8 ) :

https://i.imgur.com/3XhJntC.jpg

You can check at the bottom the Mastering Display information metadata is lost.

I've always did this by additional commands to the MKVToolNixGUI. Though if i add these additional commands when muxing the DV Profile 8, it will show duplicate HDR10 metadata.

Like for example MediaInfo shows HDR10/HDR10

And in the detailed information it shows the added metadata for Mastering Display Nits/MaxFall/MaxCLL and Color "P3" though in MadVR won't show up.

Looks like this works kinda different when doing Dolby Vision muxing. It may be added in a future update for the muxing tools used.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

dvfan wrote: Thu Jul 07, 2022 4:12 pm

But this is how it ends up when using the Script ( From HDR10 video, which includes this metadata information, but it goes away in the resulting MKV with DV Profile 8 ) :

https://i.imgur.com/3XhJntC.jpg

You can check at the bottom the Mastering Display information metadata is lost.

I've always did this by additional commands to the MKVToolNixGUI. Though if i add these additional commands when muxing the DV Profile 8, it will show duplicate HDR10 metadata.

Like for example MediaInfo shows HDR10/HDR10

And in the detailed information it shows the added metadata for Mastering Display Nits/MaxFall/MaxCLL and Color "P3" though in MadVR won't show up.

Looks like this works kinda different when doing Dolby Vision muxing. It may be added in a future update for the muxing tools used.
The script will not change/remove the original static hdr10. Custom metadata with mkvmerge cli is another story and I don't really care about it because I use TS container and those custom metadata are lost anyway when muxed in tsmuxer (and probably in the mp4muxer too) and there's nothing I can do about it. Plus it doesnt matter in DV.

my SM no way home using the script... clearly your picture isn't right .. even chroma type 2 is different... level 6.1 ? whatever you did to split that file broke it.

Code: Select all

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 28 min
Bit rate                                 : 55.9 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.281
Stream size                              : 57.8 GiB (92%)
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 9978 cd/m2
Maximum Frame-Average Light Level        : 867 cd/m2
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Donpoku
Posts: 66
Joined: Wed Jul 03, 2019 3:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Donpoku »

spider-man nwm is Dve 07.06, why change it to 08.06?
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Donpoku wrote: Fri Jul 08, 2022 10:19 am spider-man nwm is Dve 07.06, why change it to 08.06?
I convert all the MEL movie to P8 so i can watch it anywhere ( TV internal player included). P7 is only useful for FEL.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
thetoad
Posts: 256
Joined: Thu Jul 28, 2016 4:18 am

Re: Dolby Vision now possible through MP4 Mux.

Post by thetoad »

quietvoid wrote: Fri Jul 01, 2022 12:44 pm
thetoad wrote: Fri Jul 01, 2022 7:54 am Q, has there been any work done for colorspace conversion for DV profile 5 to HDR10 or SDR? There's plenty of work on tonemapping HDR10 to SDR, but wondering about for DV content on non DV devices.
Of course, it has been supported in libplacebo and mpv for a while now.
Also, Jellyfin has beta support for real time transcoding: https://www.reddit.com/r/jellyfin/comme ... is_coming/
how well does this work on linux? i.e. would the same gemini lake CPUs that can tonemap HDR10 to SDR also be able to handle DV to SDR? I'm also wondering about DV to HDR10, the link only says sdr)
thetoad
Posts: 256
Joined: Thu Jul 28, 2016 4:18 am

Re: Dolby Vision now possible through MP4 Mux.

Post by thetoad »

JoseTheBae wrote: Tue Jul 05, 2022 12:07 am Is there some trick to enabling lossless audio in Plex on the Ugoos AM6B Plus? Lossless audio works in Kodi. Oddly, the 32-bit Kodinerds build seems to discard the Full Enhancement Layer in Dolby Vision, even though Plex plays it perfectly. If I can just get lossless audio working in Plex, I will finally achieve full Dolby Vision (FEL) playback.
what plays the FEL? All I've heard is things that "work" with FEL play the MEL and ignore the FEL. so they play, but they don't play the full dolby vision experience. has this actually changed?
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

thetoad wrote: Mon Jul 11, 2022 4:56 pmhow well does this work on linux? i.e. would the same gemini lake CPUs that can tonemap HDR10 to SDR also be able to handle DV to SDR? I'm also wondering about DV to HDR10, the link only says sdr)
No idea, I don't use jellyfin.
dvfan
Posts: 6
Joined: Wed Jul 06, 2022 8:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by dvfan »

I'm wondering, using Sony A80J Internal Player ( via USB ) does not play mp4 profile 8 DV files converted by ffmpeg to mp4 ( it includes DV metadata ) though player says "File can't be opened"

MKV Profile 8 file playsback but no DV, just HDR10.

Through PLEX it works with Dolby Vision.

I just want to know why the Sony gets an error when trying to open MP4 with DV P8?

Any way to convert MKV to TS by also keeping DV metadata? May try with TS for the internal player.

Or may try tsmuxer ( load up the MKV DV P8 ) and mux it into TS?
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

dvfan wrote: Tue Jul 12, 2022 12:41 am I'm wondering, using Sony A80J Internal Player ( via USB ) does not play mp4 profile 8 DV files converted by ffmpeg to mp4 ( it includes DV metadata ) though player says "File can't be opened"
Are you sure ffmpeg can configure the DV box correctly?
Im using ffmpeg 4.4, it seems it ignores DV when generating mp4.
Maybe try mp4muxer for proper DV mp4 generation?
Most TV internal player don't support DV in MKV.
sofakng
Posts: 74
Joined: Fri Mar 19, 2010 12:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by sofakng »

Yikes... this is incredibly confusing.

What are the most recommend player(s) for best compatibility with the DV/Atmos formats?
dwalme
Posts: 28
Joined: Sat Dec 10, 2011 2:38 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dwalme »

sofakng wrote: Tue Jul 12, 2022 5:40 pm What are the most recommend player(s) for best compatibility with the DV/Atmos formats?
Take a look at this:

Playback-Devices
sofakng
Posts: 74
Joined: Fri Mar 19, 2010 12:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by sofakng »

Thanks... It seems like there isn't any perfect solution.

Is it safe to safe the Sony x800m2 is probably the 'best' choice?
dwalme
Posts: 28
Joined: Sat Dec 10, 2011 2:38 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dwalme »

sofakng wrote: Tue Jul 12, 2022 8:31 pm Thanks... It seems like there isn't any perfect solution.

Is it safe to safe the Sony x800m2 is probably the 'best' choice?
I use three devices. X800M2 to play back all my Dolby Vision TS files using JRiver via dnla to control it.

I use a Zidoo Z9X for any Dolby Vision in MKV and the rest of my local media using HT 4.0 or now Jellyfin. I could easily use an Odroid N2 running Coreelec Kodi for anything not Dolby Vision.

Then I use other devices for direct streaming services (Apple TV 4K, TV Apps, Firestick, Roku, etc).

Everyone will have their preference.
sofakng
Posts: 74
Joined: Fri Mar 19, 2010 12:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by sofakng »

Thanks for the advice.

If I don’t care about FEL, the would the Zidoo be a better choice than the x800m2? (you can convert FEL to MEL anyways, right?)
dwalme
Posts: 28
Joined: Sat Dec 10, 2011 2:38 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dwalme »

sofakng wrote: Wed Jul 13, 2022 12:34 am Thanks for the advice.

If I don’t care about FEL, the would the Zidoo be a better choice than the x800m2? (you can convert FEL to MEL anyways, right?)
If I did not care about FEL I would not own the X800M2. I would only use the Z9X.

Yes the Z9X ignores the EL and plays back with just the RPU data.
Last edited by dwalme on Wed Jul 13, 2022 11:58 am, edited 1 time in total.
Post Reply