Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
I have no idea, are you using the tsmuxer build from RESET_9999's post? I think I read something in the tsmuxer forum about it reporting 08.06 for some reason, I think it should be saying 07.06
-
- Posts: 2051
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
the file looks exactly like DVDFAB single layer remuxed in tsmuxer ( dv 5.6 become dv 8.6). EL is gone.
so unless yusesope did something different, I dont see how this will be any different (colors) than dvdfab SL.
EDIT: but using mp4muxer the EL remain in the file
so unless yusesope did something different, I dont see how this will be any different (colors) than dvdfab SL.
Code: Select all
Video
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 4 min 59 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 (Type 2)
Bit depth : 10 bits
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: 4000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 644 cd/m2
EDIT: but using mp4muxer the EL remain in the file
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.06, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 4 min 59 s
Bit rate : 31.7 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.159
Stream size : 1.11 GiB (100%)
Default : No
Encoded date : UTC 2020-03-04 17:46:37
Tagged date : UTC 2020-03-04 17:46: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: 4000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 644 cd/m2
Codec configuration box : hvcC+dvcC+hvcE
Last edited by RESET_9999 on Wed Mar 04, 2020 5:47 pm, edited 1 time in total.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 104
- Joined: Wed Nov 06, 2019 11:26 pm
Re: Dolby Vision now possible through MP4 Mux.
Yes, please confirm I did it correct.
I dropped the tsMuxeR.exe in the TsMuxer folder, removing the "original" one.
And then I click on the tsMuxerGUI.exe (2.6.12) and I'm assuming its using the modified tsMuxeR.exe
Yes?
Re: Dolby Vision now possible through MP4 Mux.
Yes that's all I did, unless I mixed up my versions of tsmuxer somehow, there seem to be quite a few around now!Angryunibrow wrote: ↑Wed Mar 04, 2020 5:47 pmYes, please confirm I did it correct.
I dropped the tsMuxeR.exe in the TsMuxer folder, removing the "original" one.
And then I click on the tsMuxerGUI.exe (2.6.12) and I'm assuming its using the modified tsMuxeR.exe
Yes?
-
- Posts: 88
- Joined: Mon Sep 03, 2018 10:36 am
Re: Dolby Vision now possible through MP4 Mux.
I get this error:
Please, drag and drop here the the Base Layer HEVC file and press ENTER:
C:\mp4\BL.hevc
Please, drag and drop here the the Enhancement Layer HEVC file and press ENTER
C:\mp4\EL.hevc
You did not specify an output file.
The BL_EL_RPU.hevc file will be created in the program folder.
(C:\temp\dv)
Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\temp\dv\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstr
_inner
self.run()
File "src\bl_el_rpu_builder.py", line 238, in run
self.output_queue.put((bl_nal_offset,bl_nal_size,el_nal_offset,el_nal_size
UnboundLocalError: local variable 'el_nal_offset' referenced before assignment
Please, drag and drop here the the Base Layer HEVC file and press ENTER:
C:\mp4\BL.hevc
Please, drag and drop here the the Enhancement Layer HEVC file and press ENTER
C:\mp4\EL.hevc
You did not specify an output file.
The BL_EL_RPU.hevc file will be created in the program folder.
(C:\temp\dv)
Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\temp\dv\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstr
_inner
self.run()
File "src\bl_el_rpu_builder.py", line 238, in run
self.output_queue.put((bl_nal_offset,bl_nal_size,el_nal_offset,el_nal_size
UnboundLocalError: local variable 'el_nal_offset' referenced before assignment
-
- Posts: 104
- Joined: Wed Nov 06, 2019 11:26 pm
Re: Dolby Vision now possible through MP4 Mux.
Updated Mediainfo, now shows 08.06 - so mine matches what you did also.baker99 wrote: ↑Wed Mar 04, 2020 5:49 pmYes that's all I did, unless I mixed up my versions of tsmuxer somehow, there seem to be quite a few around now!Angryunibrow wrote: ↑Wed Mar 04, 2020 5:47 pmYes, please confirm I did it correct.
I dropped the tsMuxeR.exe in the TsMuxer folder, removing the "original" one.
And then I click on the tsMuxerGUI.exe (2.6.12) and I'm assuming its using the modified tsMuxeR.exe
Yes?
-
- Posts: 104
- Joined: Wed Nov 06, 2019 11:26 pm
Re: Dolby Vision now possible through MP4 Mux.
I guess we need someone to do some comparisons with a couple of the "trouble" movies like Hereditary and Joker where we have seen the color shift.RESET_9999 wrote: ↑Wed Mar 04, 2020 5:45 pmthe file looks exactly like DVDFAB single layer remuxed in tsmuxer ( dv 5.6 become dv 8.6). EL is gone.
so unless yusesope did something different, I dont see how this will be any different (colors) than dvdfab SL.
Code: Select all
Video ID : 4117 (0x1015) Menu ID : 1 (0x1) Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5.1@High HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU / SMPTE ST 2086, HDR10 compatible Codec ID : 36 Duration : 4 min 59 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 (Type 2) Bit depth : 10 bits 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: 4000 cd/m2 Maximum Content Light Level : 1000 cd/m2 Maximum Frame-Average Light Level : 644 cd/m2
EDIT: but using mp4muxer the EL remain in the file
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.06, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible Codec ID : hev1 Codec ID/Info : High Efficiency Video Coding Duration : 4 min 59 s Bit rate : 31.7 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.159 Stream size : 1.11 GiB (100%) Default : No Encoded date : UTC 2020-03-04 17:46:37 Tagged date : UTC 2020-03-04 17:46: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: 4000 cd/m2 Maximum Content Light Level : 1000 cd/m2 Maximum Frame-Average Light Level : 644 cd/m2 Codec configuration box : hvcC+dvcC+hvcE
Re: Dolby Vision now possible through MP4 Mux.
Yes I think we need some tests, it could be tsmuxer or the tool
Edit: Or could it be mediainfo not reporting correctly?
Edit: Or could it be mediainfo not reporting correctly?
Last edited by baker99 on Wed Mar 04, 2020 6:07 pm, edited 1 time in total.
Re: Dolby Vision now possible through MP4 Mux.
I have no idea, could you try running it on a different hard drive?mattmarsden wrote: ↑Wed Mar 04, 2020 5:51 pmI get this error:
Please, drag and drop here the the Base Layer HEVC file and press ENTER:
C:\mp4\BL.hevc
Please, drag and drop here the the Enhancement Layer HEVC file and press ENTER
C:\mp4\EL.hevc
You did not specify an output file.
The BL_EL_RPU.hevc file will be created in the program folder.
(C:\temp\dv)
Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\temp\dv\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstr
_inner
self.run()
File "src\bl_el_rpu_builder.py", line 238, in run
self.output_queue.put((bl_nal_offset,bl_nal_size,el_nal_offset,el_nal_size
UnboundLocalError: local variable 'el_nal_offset' referenced before assignment
Re: Dolby Vision now possible through MP4 Mux.
RESET_9999 wrote: ↑Wed Mar 04, 2020 5:45 pmthe file looks exactly like DVDFAB single layer remuxed in tsmuxer ( dv 5.6 become dv 8.6). EL is gone.
so unless yusesope did something different, I dont see how this will be any different (colors) than dvdfab SL.
Angryunibrow wrote: ↑Wed Mar 04, 2020 5:55 pmI guess we need someone to do some comparisons with a couple of the "trouble" movies like Hereditary and Joker where we have seen the color shift.
guys, I quote myself from my last post.
The part that scans the NAL units relating to the enhancement layer is not yet present in the tsMuxeR code.
(take a look HERE, only the part related to RPU metadata (NAL_DV) is taken into consideration).
Let go of the audio for a moment.
Create a test file with profile 4 (and if you have time also with profile 7) using mp4muxer and who has the possibility (LG TV, X700 ...) compare it with the same track but "Double Track and Double Layer".
In case the image quality should be the same, you go to the great developers of tsMuxeR and kindly ask them if it is also possible to process the NAL units related to EL (NAL_UNSPEC63)
I'll take a lookmattmarsden wrote: ↑Wed Mar 04, 2020 5:51 pmI get this error:
File "src\bl_el_rpu_builder.py", line 238, in run
self.output_queue.put((bl_nal_offset,bl_nal_size,el_nal_offset,el_nal_size
UnboundLocalError: local variable 'el_nal_offset' referenced before assignment
Re: Dolby Vision now possible through MP4 Mux.
Ah that makes sense! I'll try mp4muxeryusesope wrote: ↑Wed Mar 04, 2020 6:06 pmRESET_9999 wrote: ↑Wed Mar 04, 2020 5:45 pmthe file looks exactly like DVDFAB single layer remuxed in tsmuxer ( dv 5.6 become dv 8.6). EL is gone.
so unless yusesope did something different, I dont see how this will be any different (colors) than dvdfab SL.Angryunibrow wrote: ↑Wed Mar 04, 2020 5:55 pmI guess we need someone to do some comparisons with a couple of the "trouble" movies like Hereditary and Joker where we have seen the color shift.
guys, I quote myself from my last post.The part that scans the NAL units relating to the enhancement layer is not yet present in the tsMuxeR code.
(take a look HERE, only the part related to RPU metadata (NAL_DV) is taken into consideration).
Let go of the audio for a moment.
Create a test file with profile 4 (and if you have time also with profile 7) using mp4muxer and who has the possibility (LG TV, X700 ...) compare it with the same track but "Double Track and Double Layer".
In case the image quality should be the same, you go to the great developers of tsMuxeR and kindly ask them if it is also possible to process the NAL units related to EL (NAL_UNSPEC63)
I'll take a lookmattmarsden wrote: ↑Wed Mar 04, 2020 5:51 pmI get this error:
File "src\bl_el_rpu_builder.py", line 238, in run
self.output_queue.put((bl_nal_offset,bl_nal_size,el_nal_offset,el_nal_size
UnboundLocalError: local variable 'el_nal_offset' referenced before assignment
Re: Dolby Vision now possible through MP4 Mux.
Right click on the "start_bl_el_rpu_builder.bat" file.mattmarsden wrote: ↑Wed Mar 04, 2020 5:51 pmException in thread Thread-3:
Traceback (most recent call last):
File "C:\temp\dv\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstr
_inner
self.run()
File "src\bl_el_rpu_builder.py", line 238, in run
self.output_queue.put((bl_nal_offset,bl_nal_size,el_nal_offset,el_nal_size
UnboundLocalError: local variable 'el_nal_offset' referenced before assignment
Left click on the "Edit" item.
In the newly opened text file there is this string:
Code: Select all
python-3.7.6.amd64\python src\bl_el_rpu_builder.py
Code: Select all
python-3.7.6.amd64\python src\bl_el_rpu_builder.py -tbw 4
-
- Posts: 88
- Joined: Mon Sep 03, 2018 10:36 am
Re: Dolby Vision now possible through MP4 Mux.
Thank you I will try that. Could you tell me how I mux this hevc file with mp4muxer? Thank you!yusesope wrote: ↑Wed Mar 04, 2020 6:18 pmRight click on the "start_bl_el_rpu_builder.bat" file.mattmarsden wrote: ↑Wed Mar 04, 2020 5:51 pmException in thread Thread-3:
Traceback (most recent call last):
File "C:\temp\dv\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstr
_inner
self.run()
File "src\bl_el_rpu_builder.py", line 238, in run
self.output_queue.put((bl_nal_offset,bl_nal_size,el_nal_offset,el_nal_size
UnboundLocalError: local variable 'el_nal_offset' referenced before assignment
Left click on the "Edit" item.
In the newly opened text file there is this string:Modify it as followsCode: Select all
python-3.7.6.amd64\python src\bl_el_rpu_builder.py
Save your changes and try again by double clicking on the "start_bl_el_rpu_builder.bat" file.Code: Select all
python-3.7.6.amd64\python src\bl_el_rpu_builder.py -tbw 4
Re: Dolby Vision now possible through MP4 Mux.
I tryed, and it's not working yet. The .ts file is not recognized by the LG C7 player.RESET_9999 wrote: ↑Wed Mar 04, 2020 12:04 am-if you're working with original m2ts from uhd-bd, you should remux to DV TS directly in tsMuxer. No mp4muxer needed.
-if you're working with DV MP4: on my end, because I also experienced the washed-out picture with grey black bars, I started using the mp4demuxer to demux first and then use the raw hevc layers to build a new DV TS with Atmos.
https://github.com/DolbyLaboratories/dlb_mp4demux
-personally I'm now using the newest tsmuxer with no DV descriptor in the HDR10 layer.
this one: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
.ts
Code: Select all
Général
ID : 1 (0x1)
Nom complet : Y:\4k\midway.ts
Format : MPEG-TS
Taille du fichier : 69,3 Gio
Durée : 2 h 18 min
Type de débit global : Variable
Débit global moyen : 71,7 Mb/s
Débit global maximum : 35,5 Mb/s
Vidéo #1
ID : 4113 (0x1011)
ID de menu : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR_Format/String : 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
MasteringDisplay_ColorPrimaries : BT.2020
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
MaxCLL : 1000 cd/m2
MaxFALL : 502 cd/m2
Vidéo #2
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/String : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Identifiant du codec : 36
Durée : 2 h 18 min
Largeur : 1 920 pixels
Hauteur : 1 080 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
MasteringDisplay_ColorPrimaries : BT.2020
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Code: Select all
Général
Nom complet : Y:\4k\Midway [dts][4k][DV].mp4
Format : MPEG-4
Profil du format : Base Media
Identifiant du codec : isom (isom)
Taille du fichier : 69,2 Gio
Durée : 2 h 18 min
Débit global moyen : 71,6 Mb/s
Date d'encodage : UTC 2020-03-03 12:24:09
Date de marquage : UTC 2020-03-03 12:24:09
Vidéo #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR_Format/String : 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 : 63,0 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.317
Taille du flux : 60,9 Gio (88%)
Default : Non
Date d'encodage : UTC 2020-03-03 09:20:45
Date de marquage : UTC 2020-03-03 12:31:27
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.2020
Caractéristiques du transfert : PQ
Coefficients de la matrice : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : BT.2020
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
MaxCLL : 1000 cd/m2
MaxFALL : 502 cd/m2
Codec configuration box : hvcC
Vidéo #2
ID : 2
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR_Format/String : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Identifiant du codec : dvhe
Identifiant du codec/Info : High Efficiency Video Coding with Dolby Vision
Durée : 2 h 18 min
Débit : 7 074 kb/s
Largeur : 1 920 pixels
Hauteur : 1 080 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.142
Taille du flux : 6,84 Gio (10%)
Default : Non
Date d'encodage : UTC 2020-03-03 09:20:45
Date de marquage : UTC 2020-03-03 12:31:27
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.2020
Caractéristiques du transfert : PQ
Coefficients de la matrice : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : BT.2020
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Codec configuration box : hvcC+dvcC
Re: Dolby Vision now possible through MP4 Mux.
mattmarsden wrote: ↑Wed Mar 04, 2020 6:23 pmThank you I will try that. Could you tell me how I mux this hevc file with mp4muxer? Thank you!
Code: Select all
mp4muxer.exe -i path\to\my\new\and\sparkling\BL_EL_RPU.hevc --dv-profile 4 -o path\to\wherever\you\want\BL_EL_RPU.mp4