Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
XTrojan
Posts: 24
Joined: Thu Apr 02, 2015 1:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by XTrojan »

dysprosium wrote:
Thu Mar 04, 2021 11:18 pm
mulucy wrote:
Thu Mar 04, 2021 6:11 pm

How can we tell Minix is processing the colors correctly and plays the second HEVC stream with EL layer like a regular Blu-Ray player? For a long time, we thought the same thing with Shield, but Shield discards the EL
I don't know about the Minix specifically, but there is proof for the Ugoos AM6 Plus, which uses the same S922X-J SoC: 1 2.

In theory, these AMLogic chipsets have hardware support for FEL processing.
The picture shows LLDV which is player-led DV I assume? Does the UGOOS support tv-led DV considering the issues with player-led DV.
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

XTrojan wrote:
Fri Mar 05, 2021 5:05 am
dysprosium wrote:
Thu Mar 04, 2021 11:18 pm
mulucy wrote:
Thu Mar 04, 2021 6:11 pm

How can we tell Minix is processing the colors correctly and plays the second HEVC stream with EL layer like a regular Blu-Ray player? For a long time, we thought the same thing with Shield, but Shield discards the EL
I don't know about the Minix specifically, but there is proof for the Ugoos AM6 Plus, which uses the same S922X-J SoC: 1 2.

In theory, these AMLogic chipsets have hardware support for FEL processing.
The picture shows LLDV which is player-led DV I assume? Does the UGOOS support tv-led DV considering the issues with player-led DV.
Supports both.
mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy »

dysprosium wrote:
Thu Mar 04, 2021 11:18 pm
mulucy wrote:
Thu Mar 04, 2021 6:11 pm

How can we tell Minix is processing the colors correctly and plays the second HEVC stream with EL layer like a regular Blu-Ray player? For a long time, we thought the same thing with Shield, but Shield discards the EL
I don't know about the Minix specifically, but there is proof for the Ugoos AM6 Plus, which uses the same S922X-J SoC: 1 2.

In theory, these AMLogic chipsets have hardware support for FEL processing.
The hardware is definitely there, and Ugoos is pretty good with software and support ( at least they have a good track record). My only concern is whether we can compare the picture differences side by side between Sony X700 and AM6 Plus on the same tv. We have to make sure it's not discarding the EL like Shield does
mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

The Ugoos is 100% using the FEL. As an example if you look at the end credits of Power Rangers if it is discarding the Fel they look very grey but if it uses the FEL they are white - they whiteness of the end credits is actually in the FEL. I demuxed the FEL of Power Rangers to check the FEL! It also gets the noise in the picture if you use the test with the wrong FEL muxed in. I've compared it on my LG C9 with the C9 playing a the FEL mp4 and it looks the same.
DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

mattmarsden wrote:
Sat Mar 06, 2021 8:03 am
The Ugoos is 100% using the FEL. As an example if you look at the end credits of Power Rangers if it is discarding the Fel they look very grey but if it uses the FEL they are white - they whiteness of the end credits is actually in the FEL. I demuxed the FEL of Power Rangers to check the FEL! It also gets the noise in the picture if you use the test with the wrong FEL muxed in. I've compared it on my LG C9 with the C9 playing a the FEL mp4 and it looks the same.
Hi Matt, Given the current state of the Ugoos playback of DV, is it currently functional with just a couple of glitches, or does it really need a lot more work?

Have you tried different buffer sizes in Kodi?

Also has anybody tried the Mininx with custom firmware, it’s £30 cheaper in the UK than Ugoos.
Thanks.
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

Somebody know when the Ugoos AM7 will appear and how the specs will differ from the AM6 Plus?
bedders
Posts: 17
Joined: Wed Dec 09, 2020 9:27 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bedders »

I have a question about profile 7 DV and MakeMKV. Am I right in thinking that if a FEL UHD disc has been ripped with MakeMKV then the it generates a single video track and the enhancement layer 1080p track from the disc is somehow interleaved along with the main video track?
If this is the case, how does one tell from the resulting MKV that it contains the enhancement layer since MediaInfo will show only a single 2160p track?

PS sounds like the Ugoos AM6 Plus is the way to go for DV playback. Ordered one today :)
juzer7
Posts: 7
Joined: Sat Mar 06, 2021 2:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by juzer7 »

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.
Xtremux
Posts: 1
Joined: Sat Mar 06, 2021 2:56 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Xtremux »

First of all, greet everyone and thank the work and effort made so that we can reproduce DV. I would like to know, if possible, that someone explain step by step, how to create a m2ts or ts that maintains the two layers of DV in one file and is playable on a Lg CX tv. I have read almost 300 pages, but the information is confusing at times, and somewhat difficult to understand at certain points. If someone would be so kind to describe the steps and share the necessary tools for the job, since these also change and are constantly updated, to know the necessary versions of each program. Greetings and thanks again. Sorry for my terrible English.
quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

juzer7 wrote:
Sat Mar 06, 2021 2:43 pm
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.
Mentioned a while back but you could have just used the 2018 version, they just removed flagging as Dolby Vision for dual layer.
See https://github.com/quietvoid/dlb_mp4bas ... a64a6a00a5
XTrojan
Posts: 24
Joined: Thu Apr 02, 2015 1:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by XTrojan »

quietvoid wrote:
Sun Mar 07, 2021 6:30 am
juzer7 wrote:
Sat Mar 06, 2021 2:43 pm
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.
Mentioned a while back but you could have just used the 2018 version, they just removed flagging as Dolby Vision for dual layer.
See https://github.com/quietvoid/dlb_mp4bas ... a64a6a00a5
Is that the only file one has to revert and then it will work for LG CX with FEL and all that?
Also, I can't find a 2018 version, seems they routinely updated it without versions :<
quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

XTrojan wrote:
Sun Mar 07, 2021 7:29 am
Is that the only file one has to revert and then it will work for LG CX with FEL and all that?
Also, I can't find a 2018 version, seems they routinely updated it without versions :<
https://github.com/DolbyLaboratories/dl ... a4eabd/bin
I don't have a CX but with a C8 it is the only required change.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

XTrojan wrote:
Sun Mar 07, 2021 7:29 am
Is that the only file one has to revert and then it will work for LG CX with FEL and all that?
Also, I can't find a 2018 version, seems they routinely updated it without versions :<
From all the reports so far, it looks like the CX does not have support for FEL regardless of what container you mux your video in.
juzer7
Posts: 7
Joined: Sat Mar 06, 2021 2:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by juzer7 »

XTrojan wrote:
Sun Mar 07, 2021 7:29 am


Is that the only file one has to revert and then it will work for LG CX with FEL and all that?
Also, I can't find a 2018 version, seems they routinely updated it without versions :<
CX does NOT support dual layer DoVi MP4 :oops:
I got 3 LG OLEDs in my family.
  • On B8 and C9 dual layer DoVi MP4 plays FINE.
  • On BX dual layer DoVi MP4 does NOT play. It falls back into HDR.
juzer7
Posts: 7
Joined: Sat Mar 06, 2021 2:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by juzer7 »

Hi, as I was curious I made one more test. I tried to mux into MP4:
  • Single layer DoVi track, taken from UHD Bluray with MakeMKV
  • EL layer, (dvhe) taken from the same UHD and demuxed with ffmpeg into BL+EL
Then I muxed them with mp4muxer into one MP4 file and I got this

Code: Select all

General
Complete name                            : S:\Temp\ΔTemp\_movie.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42/dby1)
File size                                : 39.5 GiB
Duration                                 : 2 h 15 min
Overall bit rate                         : 41.9 Mb/s
Encoded date                             : UTC 2021-03-08 09:03:48
Tagged date                              : UTC 2021-03-08 09:03:48

Video #1
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.06, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 h 15 min
Bit rate                                 : 41.1 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.206
Stream size                              : 38.8 GiB (98%)
Title                                    : movie
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2021-03-08 07:55:54
Tagged date                              : UTC 2021-03-08 09:06:37
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: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 389 cd/m2
Codec configuration box                  : hvcC+dvcC+hvcE

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 / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 h 15 min
Bit rate                                 : 792 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.016
Stream size                              : 765 MiB (2%)
Language                                 : English
Default                                  : No
Alternate group                          : 1
Encoded date                             : UTC 2021-03-08 07:55:54
Tagged date                              : UTC 2021-03-08 09:06:37
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: 1000 cd/m2
Codec configuration box                  : hvcC+dvcC
I was curious if this can play at all :D :lol:

The effect is:
  • nVidia SHIELD Pro 2019 plays it as Dolby Vision but it is stubborn to play for some reason the EL track so you just got Dolby Vision EL layer which look really strange
  • Plex on C9 falls back into HDR - maybe there is too many dvhe streams in this MP4 file
Post Reply