Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

Thanks for the tests guys.
I made changes based on your feedbacks.
Are you ready for the second round?
HERE you can find the new files (I also added the profile dvhe.08.06)

I think I'm onto something: I am also able to demux Single Layer DV files and transform them into Dual Layer DV files.
I made an attempt with the file you find HERE.
The result is this (HERE the DL file):

Code: Select all

Video #1
ID                                      : 1
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Profilo formato                         : Main 10@L5@Main
ID codec                                : hev1
ID codec/Informazioni                   : High Efficiency Video Coding
Durata                                  : 1 min 14s
Bitrate                                 : 15,4 Mb/s
Larghezza                               : 3.840 pixel
Altezza                                 : 2.160 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.077
Dimensione della traccia                : 137MiB (74%)
Default                                 : Si
AlternateGroup/String                   : 1
Data codifica                           : UTC 2020-02-28 19:23:55
Data                                    : UTC 2020-02-28 19:23:55
Codec configuration box                 : hvcC

Video #2
ID                                      : 2
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Profilo formato                         : Main 10@L4@Main
Dolby Vision                            : 1.0, dvhe.04.06, EL+RPU
ID codec                                : hev1
ID codec/Informazioni                   : High Efficiency Video Coding
Durata                                  : 1 min 14s
Bitrate                                 : 5.519 kb/s
Larghezza                               : 1.920 pixel
Altezza                                 : 1.080 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.111
Dimensione della traccia                : 49,0MiB (26%)
Default                                 : No
AlternateGroup/String                   : 1
Data codifica                           : UTC 2020-02-28 19:23:55
Data                                    : UTC 2020-02-28 19:23:55
Codec configuration box                 : hvcC+dvcC

@Grencola
I am not using any other tools.
Just my code.
If it works, I can write the part of the program that accepts prompt commands based on your needs.

My tool accepts the Base and Enhancement layer as input (raw HEVC, for example BL.hevc and EL.hevc after a demuxing with ffmpeg) and returns a raw HEVC file in which all the levels are combined (BL_EL_RPU.hevc) .

The file can be imported as it is into tsMuxeR.
At the moment, however, tsMuxeR discards the EL level by returning an BL + RPU file.
You can test it with my files.
You should use ffmpeg:

Code: Select all

ffmmpeg -i my_test_file.mp4 -c copy my_raw_test_file.hevc
and then import my_raw_test_file.hevc in tsMuxeR

When I get the code fixed I will release the source code so you can play it as much as you like.

As for the problems with the colors and DVDFab, my idea is similar to that expressed on the Mrmc forum (HERE)
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

yusesope wrote:
Fri Feb 28, 2020 8:04 pm
@Grencola
I am not using any other tools.
Just my code.
If it works, I can write the part of the program that accepts prompt commands based on your needs.

My tool accepts the Base and Enhancement layer as input (raw HEVC, for example BL.hevc and EL.hevc after a demuxing with ffmpeg) and returns a raw HEVC file in which all the levels are combined (BL_EL_RUP.hevc) .

The file can be imported as it is into tsMuxeR.
At the moment, however, tsMuxeR discards the EL level by returning an EL + RPU file.
You can test it with my files.
You should use ffmpeg:

Code: Select all

ffmmpeg -i my_test_file.mp4 -c copy my_raw_test_file.hevc
and then import my_raw_test_file.hevc in tsMuxeR

When I get the code fixed I will release the source code so you can play it as much as you like.

As for the problems with the colors and DVDFab, my idea is similar to that expressed on the Mrmc forum (HERE)
Ok sounds good, I'll see what I can come up with. Dolby's mp4demuxer probably works fine too to do get at the raw hevc.
mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

So do you think your tool is creating a DV file with correct colourspace etc?
FusionNeo
Posts: 21
Joined: Sat Nov 02, 2019 1:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by FusionNeo »

@yusesope

Good to see you posting and making incredible breakthroughs again. Happy to test, as before.

For your latest set of clips:

NVIDIA Shield Pro 2019:

All five files playback without issue and trigger Dolby Vision.

LG B7 Plex Client App:

All five files playback, both versions of dvhe.08.06 playback in HDR and not Dolby Vision, the other three files playback with the Dolby Vision icon.

I have no way of testing to see if this is true Dolby Vision, like has been achieved with the X700, or “pseudo-DV” like DVDFab’s implementation. I trust in your skills though so I’m optimistic it’s the former. :) If so, this is a massive breakthrough as it makes us one step closer to having the Shield Pro 2019 be the be all end all client capable of playing back all file formats... and it’ll stop me from having to buy an X700 :wink:
Arbigator
Posts: 32
Joined: Fri Feb 28, 2020 9:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Arbigator »

yusesope wrote:
Fri Feb 28, 2020 8:04 pm
Thanks for the tests guys.
I made changes based on your feedbacks.
Are you ready for the second round?
HERE you can find the new files (I also added the profile dvhe.08.06)
Hi yusesope, I've been following this thread for a while now but just now created an account. I just tested these latest files on my 2019 Shield TV using the Plex app, and all play back fine. I also tested them on my OLED B9 through the native plex app, and all but 05.06 will play, all files pop the Dolby Vision logo. However, the new profile 08.06 v1 and v2 both playback much darker on the TV's Plex app for some reason, picture mode settings are the same across all inputs, so I'm not sure what's happening there. This is exciting stuff.

With your tool, would it be possible to mux in THD+Atmos/DTS:X?

This is very exciting stuff, keep up the great work! I'm happy to do more testing
hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 »

@yusesope there is one thing i don't understand, if you say you can create a SL DV with correct colors, in what affect the diferents version of DV?

At this moment the magic version is 5.06

If all have supposedly correct colors why try diferents versions of DV?

You have an approximate ETA?

Like FusionNeo say, if this is real and give us DV SL with correct colors is like magic
ragico
Posts: 265
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

@yusesope
Your files copied to Hard disk connected to TV Panasonic GX

BL_EL_RPU_dvhe.04.06 trigger dolby vision but black screen
BL_EL_RPU_dvhe.05.06 trigger dolby vision OK
BL_EL_RPU_dvhe.07.06 trigger Hdr OK
BL_EL_RPU_dvhe.08.06_v1 and BL_EL_RPU_dvhe.08.06_v2 trigger dolby vision OK
ATD555
Posts: 45
Joined: Fri Feb 28, 2020 4:04 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ATD555 »

I will be testing the SL DV files on my Hisense H8F when I get home and post the results. Also curious to know how to make them myself.
justinadams
Posts: 17
Joined: Sun Sep 08, 2019 4:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by justinadams »

@yusesope
2019 Shield Pro
MrMC:only triggered DV on 05.06, all others only HDR10
MxPlayer Pro: all triggered DV
ATD555
Posts: 45
Joined: Fri Feb 28, 2020 4:04 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ATD555 »

So my Hisense H8F can play the Dual Layer DV files but they are showing a pink/green tint, anybody know what might be happening?
ATD555
Posts: 45
Joined: Fri Feb 28, 2020 4:04 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ATD555 »

ATD555 wrote:
Sat Feb 29, 2020 4:09 am
So my Hisense H8F can play the Dual Layer DV files but they are showing a pink/green tint, anybody know what might be happening?
In TSMuxer I switched the order of the Enhancement Layer and the other layer and it plays perfectly on the Hisense H8F.
DaMacFunkin
Posts: 312
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

mattmarsden wrote:
Fri Feb 28, 2020 8:48 pm
So do you think your tool is creating a DV file with correct colourspace etc?
Hi, it isn’t color space it is color profile, UHD disks don’t contain the correct profile for the single layer Dolby Vision specification, as good as this news is it is conceivable that the resulting files are also incorrect.
ATD555
Posts: 45
Joined: Fri Feb 28, 2020 4:04 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ATD555 »

yusesope wrote:
Fri Feb 28, 2020 8:04 pm
Thanks for the tests guys.
I made changes based on your feedbacks.
Are you ready for the second round?
HERE you can find the new files (I also added the profile dvhe.08.06)

I think I'm onto something: I am also able to demux Single Layer DV files and transform them into Dual Layer DV files.
I made an attempt with the file you find HERE.
The result is this (HERE the DL file):

Code: Select all

Video #1
ID                                      : 1
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Profilo formato                         : Main 10@L5@Main
ID codec                                : hev1
ID codec/Informazioni                   : High Efficiency Video Coding
Durata                                  : 1 min 14s
Bitrate                                 : 15,4 Mb/s
Larghezza                               : 3.840 pixel
Altezza                                 : 2.160 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.077
Dimensione della traccia                : 137MiB (74%)
Default                                 : Si
AlternateGroup/String                   : 1
Data codifica                           : UTC 2020-02-28 19:23:55
Data                                    : UTC 2020-02-28 19:23:55
Codec configuration box                 : hvcC

Video #2
ID                                      : 2
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Profilo formato                         : Main 10@L4@Main
Dolby Vision                            : 1.0, dvhe.04.06, EL+RPU
ID codec                                : hev1
ID codec/Informazioni                   : High Efficiency Video Coding
Durata                                  : 1 min 14s
Bitrate                                 : 5.519 kb/s
Larghezza                               : 1.920 pixel
Altezza                                 : 1.080 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.111
Dimensione della traccia                : 49,0MiB (26%)
Default                                 : No
AlternateGroup/String                   : 1
Data codifica                           : UTC 2020-02-28 19:23:55
Data                                    : UTC 2020-02-28 19:23:55
Codec configuration box                 : hvcC+dvcC

@Grencola
I am not using any other tools.
Just my code.
If it works, I can write the part of the program that accepts prompt commands based on your needs.

My tool accepts the Base and Enhancement layer as input (raw HEVC, for example BL.hevc and EL.hevc after a demuxing with ffmpeg) and returns a raw HEVC file in which all the levels are combined (BL_EL_RPU.hevc) .

The file can be imported as it is into tsMuxeR.
At the moment, however, tsMuxeR discards the EL level by returning an BL + RPU file.
You can test it with my files.
You should use ffmpeg:

Code: Select all

ffmmpeg -i my_test_file.mp4 -c copy my_raw_test_file.hevc
and then import my_raw_test_file.hevc in tsMuxeR

When I get the code fixed I will release the source code so you can play it as much as you like.

As for the problems with the colors and DVDFab, my idea is similar to that expressed on the Mrmc forum (HERE)
How did you create the single layer DV 7.06 BL+EL+RPU file?
hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 »

DaMacFunkin wrote:
Sat Feb 29, 2020 7:30 am
mattmarsden wrote:
Fri Feb 28, 2020 8:48 pm
So do you think your tool is creating a DV file with correct colourspace etc?
Hi, it isn’t color space it is color profile, UHD disks don’t contain the correct profile for the single layer Dolby Vision specification, as good as this news is it is conceivable that the resulting files are also incorrect.
I don't want to be pessimistic but I think like you, two things;

- If this is only DV why people can't play certain profiles and play HDR instead?
- If this is posible, why the companies create a second stream for DV?
Last edited by hepe9 on Sat Feb 29, 2020 10:46 am, edited 1 time in total.
baker99
Posts: 84
Joined: Wed Oct 30, 2019 7:05 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by baker99 »

Grencola wrote:
Fri Feb 28, 2020 6:22 pm
mattmarsden wrote:
Fri Feb 28, 2020 4:28 pm
So as others have said the 05.06 profile works fine in Plex on the 2019 Shield - it would be great to be able to have a play around with the tool, especially as the start of Terminator is difficult to judge colours etc on.
are you able to use tsmuxer nightly to turn that mp4 file into a ts and add any old atmos track to see if it all works?
I attempted this yesterday and had the same result as with DVDFab SL, Atmos isn't triggered on the shield snd it causes jumpy playback, I suspect it's something to do with plex itself and ts files
Post Reply