Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Ride_UL
Posts: 10
Joined: Thu Jan 21, 2021 10:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Ride_UL »

mattmarsden wrote: Tue Mar 02, 2021 8:04 am I've also noticed if you completley quit Kodi and and restart it and play a FEL mkv straight away they play a lot better. Hopefully the build will be refined soon.
Looks like Memory Management issue with Kodi
With my AndroidTV, the FEL/MEL mkv playback is a lottery. DV MKV WEB-DLs playback is fine though
DylanValenti
Posts: 36
Joined: Sat Dec 19, 2020 9:42 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DylanValenti »

RESET_9999 wrote: Sun Apr 26, 2020 12:51 pm
tr000 wrote: Sun Apr 26, 2020 3:37 am
RESET_9999 wrote: Sat Oct 05, 2019 4:51 pm real web-dl single layer DV of Stranger Things season 3 play nicely.
This is very old but where did you find a DV Web-DL? I've never seen that, only DV from Blu-ray rips.
There are 3 single layer DV profile 05.06 web-dl releases circulating on the web.
Stranger things S03
Mandalorian S01
Star Wars New Hope (which I successfully added a trueHD Atmos track)

the last two can be found on one of the most known public torrent websites. ST can be found on a Russian tracker.

Code: Select all

Complete name                            : G:\4k\Star.Wars.Episode.IV-A.New.Hope.1977.DV.ts
Format                                   : MPEG-TS
File size                                : 21.4 GiB
Duration                                 : 2 h 4 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 24.6 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID                                 : 36
Duration                                 : 2 h 4 min
Bit rate                                 : 20.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
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.105
Stream size                              : 18.2 GiB (85%)
Color range                              : Full

Audio #1
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3 MLP FBA 16-ch
Format/Info                              : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 2 h 4 min
Bit rate mode                            : Variable
Bit rate                                 : 640 kb/s
Maximum bit rate                         : 3 705 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 571 MiB (3%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 13
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Text #1
ID                                       : 4768 (0x12A0)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Language                                 : English

Text #2
ID                                       : 4769 (0x12A1)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Delay relative to video                  : 41 ms
Language                                 : English
I’ve searched high and low for the Star Wars Dolby Vision, but couldn’t find it on any tracker I know of. Any other tips? (I know it’s been a while but any help would be much appreciated :) )
DaMacFunkin
Posts: 314
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

mattmarsden wrote: Tue Mar 02, 2021 11:12 am OK, Minix U22 on latest firmware does not work properly with the Kodi DV build, it will only allows selection of resolution 1920x1080p 60hz. I believe it can be flashed with the Ugoos firmware but I havn't tried that.
Hi , do you have more information on cross flashing the U22, is it exactly the same hardware / Memory?
Thanks
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

DaMacFunkin wrote: Wed Mar 03, 2021 9:41 pm
mattmarsden wrote: Tue Mar 02, 2021 11:12 am OK, Minix U22 on latest firmware does not work properly with the Kodi DV build, it will only allows selection of resolution 1920x1080p 60hz. I believe it can be flashed with the Ugoos firmware but I havn't tried that.
Hi , do you have more information on cross flashing the U22, is it exactly the same hardware / Memory?
Thanks
The original Ugoos fw is not working, you need to use this version: https://4pda.ru/forum/index.php?showtop ... y103863672
mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy »

mattmarsden wrote: Tue Mar 02, 2021 8:03 am You don't need to switch, just use the Android Kodi 19 DV build to play everything - it works fine. I've actually got a Minix U22 sitting in front of me that I'm going to test today so I'll let you know shortly how well it works.
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
dysprosium
Posts: 24
Joined: Thu Jun 18, 2020 6:52 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dysprosium »

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.
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: 314
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.