Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 »

Amazing comparison @RESET_9999 thanks
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

RESET_9999 wrote: Wed Sep 23, 2020 11:29 pm the untouched FEL is brighter & has more punch, no doubt. But I think this is normal because I'm seeing the same kind(if not more) of difference when I compare the Spears and Munsil FEL & MEL
Great work as always.
RESET_9999 wrote: Wed Sep 23, 2020 11:29 pm also from the bluray discs I inspected, FEL DV hevc stream is the actual movie with a white/grey tint on it while MEL DV is just a static white/grey image. We still can see the video in the MEL conversion so that could be the reason why it doesn't play on the x700.
There are multiple reasons why the FEL structure is intact in my MEL files.
This is not the important thing.
What matters, in my opinion, are the NALu RPU. Imagine the latter as an orchestra conductor. With the right changes I can explain to the Decoder that it does not have to start a second decoding session (as happens in FEL files) but to use "a static image" as substrate (as happens with MEL files) regardless of the presence of FEL data.
This is the goal.

Guys, please note that I don't work for Dolby and I don't have access to any documentation.
All this is the result of a logical analysis shared between me, myself and I.
There is no guarantee that the process will be correct but if it were completely wrong the film would not start on devices like the FireStick 4K (able to read only MEL) and a BD player would not play it (with the help of the right container) without color defects (
and reproducing the same behavior that exists between an original FEL and MEL file)!
Also, I think FireStick owners are okay with anything compared to a full BLACK screen :lol: :lol: :lol: :lol: !

RESET_9999 wrote: Wed Sep 23, 2020 11:29 pm ...I can add some random MEL track to any HDR10 hevc stream and it will still play in DV (single or dual layer). with some flickering but it triggers DV...
True!
The tricky part is to generate glitch-free files on devices that cannot read the original (FEL) files.
Result that cannot be achieved with random data :wink: !

shawnc22 wrote: Thu Sep 24, 2020 5:35 am I also believe that this is probably the expected behavior. When FEL is processed correctly, it's produces a 12bit picture whereas MEL is only capable of 10bit. Even though we don't have 12bit displays, a 12bit stream downsampled to 10bit will still look different than a native 10bit(MEL) stream. A picture and picture comparison of the original FEL vs converted MEL may not then a be a good way of determining whether the method is working. One thing you can potentially try is since the S&M disc contains a demo that's provided in both FEL and MEl, convert the FEL to MEL and then compare it to the provided untouched MEL.
I agree with every single word especially the blue part.
I don't want to take advantage of your kindness @RESET_9999!
Also keep in mind that my RPUs carry more information than those normally found in MEL streams.
Maybe the result could be in favor of the converted MEL file over the original MEL.
Or it could be a complete disaster... :mrgreen: :mrgreen:

EDIT
Pure personal judgment.
I like the MEL frame more than the FEL frame :shock: .
Image
ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow »

hello yusesope
j'ai utilisé ta méthode pour creer un mp4 DV profil 8
Il passe très bien avec le lecteur interne de ma Tv panasonic. Par contre j'ai pas pu intégrer les pistes audio qui sont en dts-hd
J'ai essayé de faire un .ts mais le profil DV change en profil 7 et la il est pas lut en Dolby vision
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yusesope wrote: Thu Sep 24, 2020 11:07 am
EDIT
Pure personal judgment.
I like the MEL frame more than the FEL frame :shock: .
keep in mind that those pictures are amplifying the difference... the clipping here is introduced by the camera, there is no clipping in real life.
I'm sure you would say that you prefer the FEL one if you saw it in real life. Not a big difference but i can tell fel is more vibrant.
yusesope wrote: Thu Sep 24, 2020 11:07 am
I agree with every single word especially the blue part.
I don't want to take advantage of your kindness @RESET_9999!
Also keep in mind that my RPUs carry more information than those normally found in MEL streams.
Maybe the result could be in favor of the converted MEL file over the original MEL.
Or it could be a complete disaster... :mrgreen: :mrgreen:
I'm not very familiar with your tools because my player can play dual layer DV so i dont really know how to convert/extract it.
If someone can upload a small MEL conversion sample of that spears and munsil disc, I can compare it to the original MEL file.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

RESET_9999 wrote: Thu Sep 24, 2020 12:49 pm keep in mind that those pictures are amplifying the difference... the clipping here is introduced by the camera, there is no clipping in real life.
I'm sure you would say that you prefer the FEL one if you saw it in real life. Not a big difference but i can tell fel is more vibrant.
I had imagined it. I trust your judgment.
RESET_9999 wrote: Thu Sep 24, 2020 12:49 pm I'm not very familiar with your tools...
This hurts my little heart :|

RESET_9999 wrote: Thu Sep 24, 2020 12:49 pm If someone can upload a small MEL conversion sample of that spears and munsil disc, I can compare it to the original MEL file.
I have encountered several difficulties in making the cut.
Hope it works :? .
HERE it is.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yusesope wrote: Thu Sep 24, 2020 1:53 pm
I have encountered several difficulties in making the cut.
Hope it works :? .
HERE it is.
thank you! I'm at work all day, I will compare tonight. :)
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

ghostshadow wrote: Thu Sep 24, 2020 11:32 am hello yusesope
j'ai utilisé ta méthode pour creer un mp4 DV profil 8
Il passe très bien avec le lecteur interne de ma Tv panasonic. Par contre j'ai pas pu intégrer les pistes audio qui sont en dts-hd
J'ai essayé de faire un .ts mais le profil DV change en profil 7 et la il est pas lut en Dolby vision
Bonjour, mon ami!
J'ai etudie le français a l'ecole (quand j'avais dix ans) et je ne me souviens (pas???) de rien :D .
Le conseil est de rester avec le conteneur mp4.
Ta (votre??) televiseur ne peut pas envoyer le dts-hd avec le port HDMI et, dans le cas des speakers internes, dts-hd est lu comme dts (core uniquement).
La prochaine fois, tu dois ecrire en anglais sinon ils pensent au stereotype du français que ne veut pas parler anglais :lol: :lol: :lol:
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yusesope wrote: Thu Sep 24, 2020 2:47 pm
Bonjour, mon ami!
J'ai etudie le français a l'ecole (quand j'avais dix ans) et je ne me souviens (pas???) de rien :D .
Le conseil est de rester avec le conteneur mp4.
Ta (votre??) televiseur ne peut pas envoyer le dts-hd avec le port HDMI et, dans le cas des speakers internes, dts-hd est lu comme dts (core uniquement).
La prochaine fois, tu dois ecrire en anglais sinon ils pensent au stereotype du français que ne veut pas parler anglais :lol: :lol: :lol:
wow, ton français est très bien mon ami! :)
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow »

yusesope wrote: Thu Sep 24, 2020 2:47 pm
ghostshadow wrote: Thu Sep 24, 2020 11:32 am hello yusesope
j'ai utilisé ta méthode pour creer un mp4 DV profil 8
Il passe très bien avec le lecteur interne de ma Tv panasonic. Par contre j'ai pas pu intégrer les pistes audio qui sont en dts-hd
J'ai essayé de faire un .ts mais le profil DV change en profil 7 et la il est pas lut en Dolby vision
Bonjour, mon ami!
J'ai etudie le français a l'ecole (quand j'avais dix ans) et je ne me souviens (pas???) de rien :D .
Le conseil est de rester avec le conteneur mp4.
Ta (votre??) televiseur ne peut pas envoyer le dts-hd avec le port HDMI et, dans le cas des speakers internes, dts-hd est lu comme dts (core uniquement).
La prochaine fois, tu dois ecrire en anglais sinon ils pensent au stereotype du français que ne veut pas parler anglais :lol: :lol: :lol:
Sorry I made a mistake .
So my mp4 has no soundtrack than the video track.
If I use TsMuxeR to mux 'BL_EL_RPU.hevc' which is in dv 8 profile with Dts audio tracks, TsMuxer switches me back to dv 7 profile, and it is read in HDR PQ and not in Dolby Vision.
File .Ts
Général
ID : 1 (0x1)
Nom complet : I:\MIDWAY\BL_EL_RPU.ts
Format : MPEG-TS
Taille du fichier : 72,7 Gio
Durée : 2 h 18 min
Type de débit global : Variable
Débit global moyen : 75,3 Mb/s
Débit global maximum : 35,5 Mb/s

Vidéo
ID : 4117 (0x1015)
ID de menu : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR format : Dolby Vision, Version 2.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Identifiant du codec : 36
Durée : 2 h 18 min
Largeur : 3 840 pixels
Hauteur : 2 160 pixels
Format à l'écran : 16/9
Images par seconde : 23,976 (24000/1001) Im/s
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0 (Type 2)
Profondeur des couleurs : 10 bits
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.2020
Caractéristiques du transfert : PQ
Coefficients de la matrice : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 570 cd/m2
Maximum Frame-Average Light Level : 1504 cd/m2

Audio
ID : 4352 (0x1100)
ID de menu : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Nom commercial : DTS-HD Master Audio
Type de muxing : Stream extension
Identifiant du codec : 134
Durée : 2 h 18 min
Type de débit : Variable
Canaux : 8 canaux
Channel layout : C L R LFE Lb Rb Lss Rss
Echantillonnage : 48,0 kHz
Images par seconde : 93,750 Im/s (512 SPF)
Profondeur des couleurs : 24 bits
Mode de compression : Sans perte
File .mp4 only video
Général
Nom complet : I:\MIDWAY\MidwayDV.mp4
Format : MPEG-4
Profil du format : Base Media / Version 2
Identifiant du codec : mp42 (mp42/dby1/isom)
Taille du fichier : 64,6 Gio
Durée : 2 h 18 min
Débit global moyen : 66,9 Mb/s
Date d'encodage : UTC 2020-09-23 10:24:21
Date de marquage : UTC 2020-09-23 10:24:21

Vidéo
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Identifiant du codec : hev1
Identifiant du codec/Info : High Efficiency Video Coding
Durée : 2 h 18 min
Débit : 66,9 Mb/s
Largeur : 3 840 pixels
Hauteur : 2 160 pixels
Format à l'écran : 16/9
Type d'images/s : Constant
Images par seconde : 23,976 (24000/1001) Im/s
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0 (Type 2)
Profondeur des couleurs : 10 bits
Bits/(Pixel*Image) : 0.336
Taille du flux : 64,6 Gio (100%)
Default : Non
Date d'encodage : UTC 2020-09-23 10:24:21
Date de marquage : UTC 2020-09-23 10:24:21
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.2020
Caractéristiques du transfert : PQ
Coefficients de la matrice : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 570 cd/m2
Maximum Frame-Average Light Level : 1504 cd/m2
Codec configuration box : hvcC+dvcC+hvcE
I would like to have a .ts with a dv 8 profile
thanks
ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow »

yusesope wrote: Thu Sep 24, 2020 2:47 pm
ghostshadow wrote: Thu Sep 24, 2020 11:32 am hello yusesope
j'ai utilisé ta méthode pour creer un mp4 DV profil 8
Il passe très bien avec le lecteur interne de ma Tv panasonic. Par contre j'ai pas pu intégrer les pistes audio qui sont en dts-hd
J'ai essayé de faire un .ts mais le profil DV change en profil 7 et la il est pas lut en Dolby vision
Bonjour, mon ami!
J'ai etudie le français a l'ecole (quand j'avais dix ans) et je ne me souviens (pas???) de rien :D .
Le conseil est de rester avec le conteneur mp4.
Ta (votre??) televiseur ne peut pas envoyer le dts-hd avec le port HDMI et, dans le cas des speakers internes, dts-hd est lu comme dts (core uniquement).
La prochaine fois, tu dois ecrire en anglais sinon ils pensent au stereotype du français que ne veut pas parler anglais :lol: :lol: :lol:
Good evening yusesope, how do you get the RPU out of the EL? it is to be able to encode afterwards in x265
thank you
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yep, it looks like @yusesope fel to mel conversions are done properly. Great job man, you are truly a genius.

https://screenshotcomparison.com/comparison/6581


if you're looking for a new project, I would love an RPU parser(supported by x265.exe) just like the HDR10+ parser does so I can encode uhd-BD to true profile 5 full range. :P
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy »

RESET_9999 wrote: Thu Sep 24, 2020 10:23 pm yep, it looks like @yusesope fel to mel conversions are done properly. Great job man, you are truly a genius.

https://screenshotcomparison.com/comparison/6581


if you're looking for a new project, I would love an RPU parser(supported by x265.exe) just like the HDR10+ parser does so I can encode uhd-BD to true profile 5 full range. :P
True profile 5, that's what I am waiting for! I appreciate all the work you have done testing and comparing the profiles. Thank you!
PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD »

yusesope wrote: Wed Sep 23, 2020 11:25 am At this stage I'm interested in the mp4 format (simply because we have Dolby's mp4muxer and because Dolby itself got its hands on the ExoP code for this container).
Ergo, if ExoP correctly plays the edited MEL mp4 files and if the content of these files (transposed into m2ts DTDL) is played on the Sony X700/M9702 (devices that have only one task and cannot be modded...at least not by me) then the files we're testing aren't completely weird.
I don't know if this helps but I did another test: muxed a short sample of Saving Private Ryan to single track dual layer FEL, then I demuxed and converted it to MEL (with method2 version of the tool) and transported the BL and EL+RPU hevc's with the latest tsMuxer into a dual track dual layer m2ts. It plays perfectly on my M9702 and looks the same as the original complete UHD BluRay backup.
Last edited by PapitaHD on Fri Sep 25, 2020 8:55 pm, edited 1 time in total.
chros
Posts: 102
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by chros »

PapitaHD wrote: Fri Sep 25, 2020 12:42 pm
yusesope wrote: Wed Sep 23, 2020 11:25 am At this stage I'm interested in the mp4 format (simply because we have Dolby's mp4muxer and because Dolby itself got its hands on the ExoP code for this container).
Ergo, if ExoP correctly plays the edited MEL mp4 files and if the content of these files (transposed into m2ts DTDL) is played on the Sony X700/M9702 (devices that have only one task and cannot be modded...at least not by me) then the files we're testing aren't completely weird.
I don't if this helps but I did another test: muxed a short sample of Saving Private Ryan to single track dual layer FEL, then I demuxed and converted it to MEL (with method2 version of the tool) and transported the BL and EL+RPU hevc's with the latest tsMuxer into a dual track dual layer m2ts. It plays perfectly on my M9702 and looks the same as the original complete UHD BluRay backup.
Can you upload it somewhere? I also like. to try it out, thanks!
PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD »

chros wrote: Fri Sep 25, 2020 1:37 pm
PapitaHD wrote: Fri Sep 25, 2020 12:42 pm
yusesope wrote: Wed Sep 23, 2020 11:25 am At this stage I'm interested in the mp4 format (simply because we have Dolby's mp4muxer and because Dolby itself got its hands on the ExoP code for this container).
Ergo, if ExoP correctly plays the edited MEL mp4 files and if the content of these files (transposed into m2ts DTDL) is played on the Sony X700/M9702 (devices that have only one task and cannot be modded...at least not by me) then the files we're testing aren't completely weird.
I don't if this helps but I did another test: muxed a short sample of Saving Private Ryan to single track dual layer FEL, then I demuxed and converted it to MEL (with method2 version of the tool) and transported the BL and EL+RPU hevc's with the latest tsMuxer into a dual track dual layer m2ts. It plays perfectly on my M9702 and looks the same as the original complete UHD BluRay backup.
Can you upload it somewhere? I also like. to try it out, thanks!
Here you go: https://we.tl/t-scOQyYpmT9
Post Reply