Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 265
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Thu Sep 24, 2020 2:04 pm

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. :)
Please forgive my weak English.
Sony x700 ----> Denon AVR ----> LG OLED C8

yusesope
Posts: 199
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » 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:

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Thu Sep 24, 2020 3:26 pm

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! :)
Please forgive my weak English.
Sony x700 ----> Denon AVR ----> LG OLED C8

ghostshadow
Posts: 34
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow » Thu Sep 24, 2020 3:29 pm

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: 34
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow » Thu Sep 24, 2020 5:39 pm

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: 265
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » 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
Please forgive my weak English.
Sony x700 ----> Denon AVR ----> LG OLED C8

mulucy
Posts: 69
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy » Fri Sep 25, 2020 1:20 am

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 » 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 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: 5
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by chros » 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!

PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD » Fri Sep 25, 2020 4:58 pm

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

chros
Posts: 5
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by chros » Fri Sep 25, 2020 7:03 pm

PapitaHD wrote:
Fri Sep 25, 2020 4:58 pm
Here you go: https://we.tl/t-scOQyYpmT9
Thanks, both (m2ts and ts files) indeed work well on m9702! The interesting part is that the old Joker dvhe.07.06_BL_EL_RPU_Single_Track_Double_Layer.mp4 sample didn't work :)

lexyz
Posts: 49
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz » Sat Sep 26, 2020 6:02 am

PapitaHD wrote:
Fri Sep 25, 2020 12:42 pm
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.
It seems this STDL.sample doesn't flicker on shield.
Hard to tell for sure.
Can you please make one more sample but 1 min longer?
Bravia XF90, Shield TV Pro'19, UBP-X700

PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD » Sat Sep 26, 2020 7:14 am

lexyz wrote:
Sat Sep 26, 2020 6:02 am
PapitaHD wrote:
Fri Sep 25, 2020 12:42 pm
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.
It seems this STDL.sample doesn't flicker on shield.
Hard to tell for sure.
Can you please make one more sample but 1 min longer?
Here is a 3 min long sample: https://we.tl/t-K5JhSURkGS

yusesope
Posts: 199
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » Sat Sep 26, 2020 8:21 am

RESET_9999 wrote:
Thu Sep 24, 2020 10:23 pm
yep, it looks like @yusesope fel to mel conversions are done properly.
https://screenshotcomparison.com/comparison/6581
PapitaHD wrote:
Fri Sep 25, 2020 12:42 pm
...muxed a short sample of Saving Private Ryan to single track dual layer FEL, then I demuxed and converted it to MEL ...It plays perfectly on my M9702 and looks the same as the original complete UHD BluRay backup.
Thank you for your time. Thanks to your tests it seems to me that "method 2" is safe and functional.

Before releasing version v0.0.4_BETA I need one last test: an STDL FEL-> MEL file inside the MKV container (to be tested on a device like the FireStick 4K, capable of playing MEL profile 7 but not FEL profile 7 ). Of course you have to use my version of ExoP.
Always using the various conversion steps FEL -> MEL, instead of creating an m2ts MEL DTDL in TsMuxeR, generate an ISO (always adding first BL.hevc and then EL_RPU.hevc in TsMuxeR) and feed it to MakeMKV.


ghostshadow wrote:
Thu Sep 24, 2020 3:29 pm
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.
............
I would like to have a .ts with a dv 8 profile
thanks
This behavior is normal. If you give TsMuxeR a raw hevc stream consisting of BL+EL+RPU, TsMuxer will only be able to assign profile 7.
Do you want profile 8? You have to import a stream with only BL+RPU into TsMuxeR. To do this, right click on "MUX.bat" and "MUX_AND_CONVERT_TO_MEL.bat" and then select "Edit". Add the string -mode 2 in both and save the changes. At the moment, however, I do not recommend proceeding with this solution. Read on to understand why.
PS:
the name of the file created will always be BL_EL_RPU.hevc but it is simply a placeholder for people who are "too lazy" :wink: to use the command line
Image


RESET_9999 wrote:
Thu Sep 24, 2020 10:23 pm
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
mulucy wrote:
Fri Sep 25, 2020 1:20 am
True profile 5, that's what I am waiting for...
I honestly don't understand why you guys care so much about profile 5.
It uses a proprietary color space (the advantages of which will perhaps be appreciable when we have 12bit panels) and not having an Enhancement Layer is definitely lower quality than a UHD-BD. So why?

Converting a color space involves an encoding operation, and if you wait for me to write an encoder from scratch then the wait will be very long (years).
I'm sure there are people in the world who are already working on it. I don't have the skills for that!

Instead I am doing some experiments on profile 8 (in particular 8.1). The idea is to improve my -mode 2 (UHD-BD -> 8.1). This profile should work for any "streaming device" (from televisions to consoles). What do you think?
Image


ghostshadow wrote:
Thu Sep 24, 2020 5:39 pm
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 wrote:
Thu Sep 24, 2020 10:23 pm
if you're looking for a new project, I would love an RPU parser(supported by x265.exe)...
x265 does not need a parser for RPU. It simply accepts a file containing the RPUs (I presume sorted according to each access unit present in the Base Layer). Look HERE.

What's the problem? If you proceed with an encoding of the Base Layer then you must also change the parameters of the RPU. At the moment, however, we do not know the algorithm that allows to generate new RPUs!
Last edited by yusesope on Sat Sep 26, 2020 8:31 am, edited 1 time in total.

lexyz
Posts: 49
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz » Sat Sep 26, 2020 8:29 am

PapitaHD wrote:
Sat Sep 26, 2020 7:14 am
Here is a 3 min long sample: https://we.tl/t-K5JhSURkGS
much appreciated :D
Still flickers
Bravia XF90, Shield TV Pro'19, UBP-X700

Post Reply