Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Rob9000
Posts: 7
Joined: Fri Feb 26, 2021 8:50 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Rob9000 » Mon Mar 08, 2021 5:37 pm

juzer7 wrote:
Sat Mar 06, 2021 2:43 pm
MastaG wrote:
Fri Apr 03, 2020 10:36 pm

Code: Select all

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
But for me it does not play at all.. all I get is a black screen and a spinner, both in Emby and from usb disk using the builtin mediaplayer.
Something wrong with the above steps or commands?
Any help would be nice :)
Here is HELP :-)

I googled for the last few hours and I could not find an answer to the same question. I muxed the BL and EL video tracks with the command:

Code: Select all

mp4muxer --dv-profile 7 -i BL.hevc -i EL.hevc --media-lang eng --output-file BL+EL.mp4
And for me the movie on my LG C9 was also not playing, showing only the "spinner" all the time. After some investigation I found that the issue might be here. After muxing the tracks into one MP4 file: BL+EL.mp4 - the EL track (2nd one) was described as:

Code: Select all

HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
And I found that in order for a Dolby Vision MP4 to play correctly on LG C9 it has to be like this:

Code: Select all

HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
So I needed to find a way to change hev1 into dvhe inside the EL video track inside the MP4 container.
I could not figure out any command or switch in mp4muxer or m4box to do so (there might be one) so I decided to go a different way.

I downloaded HxD Editor
https://mh-nexus.de/en/hxd/

Then I opened the BL+EL.mp4 file and I went to menu Search -> Find -> Search for: "hev1" + Case sensitive (checked).
Inside an MP4 file without audio tracks (could be the same inside a file with audio tracks) it was the 2nd search result.
So after I found the first "hev1" occurance (line 01E0) I looked for the 2nd one "hev1" (F3 - Search next) which was line 00023AF00. My guess was that the video streams were written in the MP4 file in the sequence: BL and only then the 2nd one is EL.
So then I just overwrote the 2nd occurance of "hev1" into "dvhe".

Image

Image

After that I just saved the file File -> Save. HxD Editor will create a backup for you so you don't need to backup the file before in case something goes wrong.

After opening Plex on LG C9 voila... Dolby Vision! No more spinning wheel.

And in the MediaInfo I found:

Code: Select all

HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
I hope someone will find it helpful.
Thanks for this. But it's curious. I have a C9 and have been muxing DV MP4 using the same program. The codec ID is hev1 and the 3 muxes i have done so far (Hobbit trilogy) play in DV just fine on my C9 via Plex.

Rob9000
Posts: 7
Joined: Fri Feb 26, 2021 8:50 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Rob9000 » Mon Mar 08, 2021 5:57 pm

Here is the media info for the mp4 that plays back in DV on my C9:

General
Complete name : *****.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/dby1/isom)
File size : 63.7 GiB
Duration : 3 h 2 min
Overall bit rate : 50.0 Mb/s
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56

Video #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 3 h 2 min
Bit rate : 49.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
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.249
Stream size : 63.0 GiB (99%)
Default : No
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 801 cd/m2
Maximum Frame-Average Light Level : 188 cd/m2
Codec configuration box : hvcC

Video #2
ID : 2
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 3 h 2 min
Bit rate : 69.4 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
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.001
Stream size : 90.6 MiB (0%)
Default : No
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Codec configuration box : hvcC+dvcC

Audio
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : ac-3
Duration : 3 h 2 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 585 MiB (1%)
Language : English
Service kind : Complete Main
Default : No
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56

MartyMcNuts
Posts: 2891
Joined: Wed Nov 22, 2017 11:45 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by MartyMcNuts » Mon Mar 08, 2021 11:22 pm

Rob9000 wrote:
Mon Mar 08, 2021 5:57 pm
Here is the media info for the mp4 that plays back in DV on my C9:

General
Complete name : *****.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/dby1/isom)
File size : 63.7 GiB
Duration : 3 h 2 min
Overall bit rate : 50.0 Mb/s
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56

Video #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 3 h 2 min
Bit rate : 49.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
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.249
Stream size : 63.0 GiB (99%)
Default : No
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 801 cd/m2
Maximum Frame-Average Light Level : 188 cd/m2
Codec configuration box : hvcC

Video #2
ID : 2
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 3 h 2 min
Bit rate : 69.4 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
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.001
Stream size : 90.6 MiB (0%)
Default : No
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Codec configuration box : hvcC+dvcC

Audio
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : ac-3
Duration : 3 h 2 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 585 MiB (1%)
Language : English
Service kind : Complete Main
Default : No
Encoded date : UTC 2021-03-03 15:24:56
Tagged date : UTC 2021-03-03 15:24:56
That's because your file is already correct. His file had both layers as 'hev1' where the EL should be 'dvhe', thus the reason he changed it in hex editor.
Cheers :D
----------------------------------------------------------------------------------------------------------------------------
For UHD enabled drives (AU/NZ/SG + Others) & DIY Single Drive Flasher (WW): https://uhdenableddrives.com

Rob9000
Posts: 7
Joined: Fri Feb 26, 2021 8:50 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Rob9000 » Tue Mar 09, 2021 10:35 am

I see now. Thanks

NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 » Tue Mar 09, 2021 3:43 pm

I tried the new Ugoos 0.40 fw mod on Minix and from now on just use Plex, DV playback is perfect from STDL MEL/FEL ts, mp4 and mkv too.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Mar 09, 2021 5:10 pm

NiCE77 wrote:
Tue Mar 09, 2021 3:43 pm
I tried the new Ugoos 0.40 fw mod on Minix and from now on just use Plex, DV playback is perfect from STDL MEL/FEL ts, mp4 and mkv too.
What about the AM6 plus ? still won't trigger DV with MKV files ?
I ordered one btw, should get it by March 16th according to the tracking number.

NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 » Tue Mar 09, 2021 5:13 pm

RESET_9999 wrote:
Tue Mar 09, 2021 5:10 pm
NiCE77 wrote:
Tue Mar 09, 2021 3:43 pm
I tried the new Ugoos 0.40 fw mod on Minix and from now on just use Plex, DV playback is perfect from STDL MEL/FEL ts, mp4 and mkv too.
What about the AM6 plus ? still won't trigger DV with MKV files ?
I ordered one btw, should get it by March 16th according to the tracking number.
AM6 Plus with 0.40 fw triggers DV with MKV files, same as Minix.

bobbymkV
Posts: 71
Joined: Fri Jun 19, 2020 4:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bobbymkV » Tue Mar 09, 2021 5:26 pm

NiCE77 wrote:
Tue Mar 09, 2021 3:43 pm
I tried the new Ugoos 0.40 fw mod on Minix and from now on just use Plex, DV playback is perfect from STDL MEL/FEL ts, mp4 and mkv too.
You think it would be safe to assume that the Kodi DV builds would work like they do on the Shield? I need the ability to transcode DTS audio (thanks Sonos).

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Mar 09, 2021 5:27 pm

NiCE77 wrote:
Tue Mar 09, 2021 5:13 pm

AM6 Plus with 0.40 fw triggers DV with MKV files, same as Minix.
ha right! I mixed up what works and what doesn't work...
so it's lossless audio that doesn't work on plex but it works on kodi.

hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 » Tue Mar 09, 2021 6:24 pm

RESET_9999 wrote:
Sun Feb 21, 2021 3:19 pm
yossSP wrote:
Sun Feb 21, 2021 3:20 am
RESET_9999 wrote:
Wed Feb 17, 2021 8:27 pm
He has the HDfury Vertex which can tell if it's lldv or tv-led DV.
https://www.youtube.com/watch?v=e_a77zJTrO4
Ok thanks, well as far as I know, LLDV if it's well made doesn't have to be worst than TV-LED.

The quality I observe in FEL files playback is really good, but I don't have any reference to compare with.
Watch the youtube video I posted. LLDV is confirmed to be worse quality than TV-LED DV. And all the players have the same DV SDK engine, therefore they are all affected by that.
Stacey Spears goes even further and says that LLDV is worse than HDR10.
Very interesting post, but Stacey Spears doesn't say LLDV is worse than HDR, at least in that post.

You who have the x700 and make good captures and comparisons can prove it, and maybe you are right

Edit: I found a post from a few days ago from Stacey Spears where he says that DV sucks in BD and that HDR is better

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Mar 09, 2021 7:54 pm

hepe9 wrote:
Tue Mar 09, 2021 6:24 pm
Very interesting post, but Stacey Spears doesn't say LLDV is worse than HDR, at least in that post.

You who have the x700 and make good captures and comparisons can prove it, and maybe you are right

Edit: I found a post from a few days ago from Stacey Spears where he says that DV sucks in BD and that HDR is better
Interesting! I guess he came to that conclusion after testing the new DV pattern from his upcoming Spears and Munsil UHD bluray disc.
I don't really know about chroma upsampling nor ringing and I never really compared with LLDV but AFAIK, TV-LED DV on my setup (x700 + C8) looks much better and brighter than static HDR10 (better shadow details and more pop).
I will definitely check out the new DV test pattern when the disc is out.

some DV vs HDR10 examples made with my camera...
Spears and munsil: https://screenshotcomparison.com/compar ... p?id=10593
WandaVision: https://screenshotcomparison.com/comparison/11817
Sonic: https://screenshotcomparison.com/comparison.php?id=2605
pitch black: https://screenshotcomparison.com/comparison/11797
little things: https://screenshotcomparison.com/compar ... p?id=10640
WW: https://screenshotcomparison.com/comparison.php?id=9412
Last edited by RESET_9999 on Wed Mar 10, 2021 3:29 am, edited 1 time in total.

shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 » Tue Mar 09, 2021 8:29 pm

NiCE77 wrote:
Tue Mar 09, 2021 3:43 pm
I tried the new Ugoos 0.40 fw mod on Minix and from now on just use Plex, DV playback is perfect from STDL MEL/FEL ts, mp4 and mkv too.
Can you give this sample from saving private ryan a try and see if you notice any flickering throughout?

https://mega.nz/file/ECAA0DwZ#K8yxC-GMU ... coHzQk-6YQ

HarperVision
Posts: 28
Joined: Tue Feb 02, 2021 9:32 am

Dolby Vision now possible through MP4 Mux.

Post by HarperVision » Tue Mar 09, 2021 8:50 pm

hepe9 wrote:
RESET_9999 wrote:
Sun Feb 21, 2021 3:19 pm
yossSP wrote:
Sun Feb 21, 2021 3:20 am


Ok thanks, well as far as I know, LLDV if it's well made doesn't have to be worst than TV-LED.

The quality I observe in FEL files playback is really good, but I don't have any reference to compare with.
Watch the youtube video I posted. LLDV is confirmed to be worse quality than TV-LED DV. And all the players have the same DV SDK engine, therefore they are all affected by that.
Stacey Spears goes even further and says that LLDV is worse than HDR10.
Very interesting post, but Stacey Spears doesn't say LLDV is worse than HDR, at least in that post.

You who have the x700 and make good captures and comparisons can prove it, and maybe you are right

Edit: I found a post from a few days ago from Stacey Spears where he says that DV sucks in BD and that HDR is better
RESET_9999 wrote:
hepe9 wrote:
Tue Mar 09, 2021 6:24 pm
Very interesting post, but Stacey Spears doesn't say LLDV is worse than HDR, at least in that post.

You who have the x700 and make good captures and comparisons can prove it, and maybe you are right

Edit: I found a post from a few days ago from Stacey Spears where he says that DV sucks in BD and that HDR is better
Interesting! I guess he came to that conclusion after testing the new DV pattern from his upcoming Spears and Munsil UHD bluray disc.
I don't really know about chroma upsampling nor ringing and I never really compared with LLDV but AFAIK, TV-LED DV on my setup (x700 + C8) looks much better and brighter than static HDR10 (better shadow details and more pop).
I will definitely check out the new DV test pattern when the disc is out.

some DV vs HDR10 examples made with my camera...
Spears and munsil: https://screenshotcomparison.com/compar ... p?id=10593
Sonic: https://screenshotcomparison.com/comparison.php?id=2605
pitch black: https://screenshotcomparison.com/comparison/11797
little things: https://screenshotcomparison.com/compar ... p?id=10640
WW: https://screenshotcomparison.com/comparison.php?id=9412
It isn’t LLDV nor Dolby Vision that suck. It is the Oppo. It has a chroma bug that most likely is related to the same well known one that reduces BT2020 colors to Rec709 when tone mapping HDR to SDR, which in my humble opinion is absolutely ludicrous.

Both Vincent and Stacey are wrong. Their testing is flawed and they’re passing this misinformation across the web. They didn’t bother to to test with a different UHD Bluray player. I did with comparisons between the Oppo 203, Panasonic UB820, Sony X700 and Sony X800M2, in which the X800M2 performed best in the end and had no such color issues.

I reported this a long time ago. I am the one to discover the LLDV/Dolby Vision trick to play DV on HDR10 only devices. I’ve been extensively testing and experimenting for nearly two years on a nightly basis. Early on when I was doing these tests I was wondering why the Oppo looked so pale in comparison. The Sony was clearly the best. The AppleTV also does an amazing job with DolbyVision/LLDV.

Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound » Tue Mar 09, 2021 9:04 pm

RESET_9999 wrote:
Tue Mar 09, 2021 7:54 pm
hepe9 wrote:
Tue Mar 09, 2021 6:24 pm
Very interesting post, but Stacey Spears doesn't say LLDV is worse than HDR, at least in that post.

You who have the x700 and make good captures and comparisons can prove it, and maybe you are right

Edit: I found a post from a few days ago from Stacey Spears where he says that DV sucks in BD and that HDR is better
Interesting! I guess he came to that conclusion after testing the new DV pattern from his upcoming Spears and Munsil UHD bluray disc.
I don't really know about chroma upsampling nor ringing and I never really compared with LLDV but AFAIK, TV-LED DV on my setup (x700 + C8) looks much better and brighter than static HDR10 (better shadow details and more pop).
I will definitely check out the new DV test pattern when the disc is out.

some DV vs HDR10 examples made with my camera...
Spears and munsil: https://screenshotcomparison.com/compar ... p?id=10593
Sonic: https://screenshotcomparison.com/comparison.php?id=2605
pitch black: https://screenshotcomparison.com/comparison/11797
little things: https://screenshotcomparison.com/compar ... p?id=10640
WW: https://screenshotcomparison.com/comparison.php?id=9412
Same here on my end, but hdr10 saturation on blacks being crushed / static meta is the only problem on hdr10.
Some movies do look better in hdr10 even in static mata

But hdr10 to LLDV improves that, in theory

I guess baced on what he shoots with camera hdr, is minimized by the dv bd authoring process.
The decoded
LLDV capture does not go true the same 2nd dv processing when received by capturing Monitor so the LLDV picture is not double processed 1st internally & then when the same LLDV signal hits your tv.

I guess if movies wore shot in DV instead of hdr10 12 to 18 stops of dynamic range.

Dv is just lighting on top a hdr image regulated by the Rpu, from a raw 12/16bit tiff.
What if the image had the correct uncrushed blacks to begin with ??
The process is kind of flawed dv was ment to improve hdr10
Why didn’t they just improve hdr10 specifically on its own.
It’s like upscaling data that’s already flawed
Some will look better & some will look worse that the results we all been getting to some degree.

I can’t speak on the oppo
But most of my devices I tested LLDV / rgb8DV looks identical or close to the same.
Not that huge variance we saw on Vincent video.
Apple TV LLDV colors are slightly off (depending on firmware your on)
Compared to the shield tv. Profile 5 movies

I would like to do a wonder vision ep9 test LLDV
Apple TV , shield tv, dune vision ,x700,google chrome cast,Amazon fire stick.

X700 & dune vision will be using the real web.dl
All 4 other devices will be streaming from Disney.
A DV rgb8 screenshot would look nice as well. @reset9999

If the ugoos works really well I may get that & the minix for testing.
But I’ll wait til other folks report on playback
Last edited by Manixx2020beyound on Wed Mar 10, 2021 1:22 am, edited 3 times in total.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Mar 09, 2021 10:48 pm

Manixx2020beyound wrote:
Tue Mar 09, 2021 9:04 pm

I would like to do a WandaVision ep9 test LLDV
Apple TV , shield tv, dune vision ,x700,google chrome cast,Amazon fire stick.
+1 :)

Post Reply