Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD »

yusesope wrote:
Thu Sep 17, 2020 5:54 pm
Yes you are right. Your Windows needs THESE libraries (unpack the archive and place the two dll files where there are the files MUX.bat, DEMUX.bat, etc ...). It's not an elegant solution but it should at least work for these days of testing.
Let me know!
Are these libraries still needed? I forgot to save them and the link is already dead.
I'm just asking because for some reason I've encountered 4 movies (War of the Worlds, Terminator Genisys, Terminator Dark Fate, Valerian) in a row that were unplayable on LG C8 and M9702 after converted to MEL. I tried to mux them with tsMuxeR and mp4muxer too but they were all lagging unwatchably on C8 and gave black screen on M9702. I used the latest version of yusesope's tool and it finished with 100% every time.

Has anyone had success with either of these movies?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

PapitaHD wrote:
Tue Oct 13, 2020 8:01 pm
Are these libraries still needed? I forgot to save them and the link is already dead.
I'm just asking because for some reason I've encountered 4 movies (War of the Worlds, Terminator Genisys, Terminator Dark Fate, Valerian) in a row that were unplayable on LG C8 and M9702 after converted to MEL. I tried to mux them with tsMuxeR and mp4muxer too but they were all lagging unwatchably on C8 and gave black screen on M9702. I used the latest version of yusesope's tool and it finished with 100% every time.

Has anyone had success with either of these movies?
Why do you need to go through so much trouble for playback on the oppo clone? Just play it off your folder backup, no?
PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD »

shawnc22 wrote:
Tue Oct 13, 2020 8:16 pm
PapitaHD wrote:
Tue Oct 13, 2020 8:01 pm
Are these libraries still needed? I forgot to save them and the link is already dead.
I'm just asking because for some reason I've encountered 4 movies (War of the Worlds, Terminator Genisys, Terminator Dark Fate, Valerian) in a row that were unplayable on LG C8 and M9702 after converted to MEL. I tried to mux them with tsMuxeR and mp4muxer too but they were all lagging unwatchably on C8 and gave black screen on M9702. I used the latest version of yusesope's tool and it finished with 100% every time.

Has anyone had success with either of these movies?
Why do you need to go through so much trouble for playback on the oppo clone? Just play it off your folder backup, no?
I'm trying to make remuxes for my friend who has a Philips TV and so far if a MEL conversion played fine on my devices then it worked on his Philips as well.
badrobot
Posts: 21
Joined: Wed Mar 25, 2020 4:14 am

Re: Dolby Vision now possible through MP4 Mux.

Post by badrobot »

The new launched iPhone 12 can produce Dolby Vision Video. So we can have more DoVi videos created by official proven method.

The iPhone 12 spec says:

Code: Select all

 HDR video recording with Dolby Vision up to 30 fps
I am not a native English speaker.
Sorry for my bad English.
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

quietvoid wrote:
Sun Oct 11, 2020 1:49 pm
Maybe a good starting point is to just accept a MKV (in addition to raw that exists already) and be able to output the raw converted HEVC file. That on its own would save a lot of time (demuxing MKV, demuxing BL/EL, converting/remuxing 8.1), and might be simpler to do.

Afterwards, the only step left would be to pass this file through MakeMKV, and it can be reused in the original MKV, simply replacing the video (I'm not sure if mkvtoolnix would keep the headers intact if the video changes to a raw file?).
That way you don't have to handle audio, subtitle, etc.
Last Saturday I was working on just that. I hope to be able to finish next weekend and above all I hope it will work :lol: :lol: !
RESET_9999 wrote:
Sun Oct 11, 2020 2:28 pm
Manixx2020beyound wrote:
Sun Oct 11, 2020 10:08 pm
I can only thank you both for your time.
I took a quick look at a few comparisons: the Firestick performs really well. The Shield still needs to improve (but if the Stick succeeds I don't see why the Shield shouldn't do it too).
It also seems that my FEL -> MEL and UHD-> profile 8.1 algorithms work fine.
You experts, do you consider them correct? Do you have any ideas/comments on this?
Thank you!
ragico wrote:
Sun Oct 11, 2020 3:11 pm
@Yusesope
Your "test" file plays in both shield and ugoos am6+ and triggers DV.
In Firestick black screen.
Great news.
This opens the door to new experiments!
quietvoid wrote:
Mon Oct 12, 2020 11:21 pm
Should be trivial to just skip the HDR10+ NAL unit with yusesope's script, since the parsing is well done already :)
I'll send a patch to yusesope, hopefully it's good enough.
So in the end it was HDR10 + ...
What a strange device the FireStick is ...
I haven't looked at your code yet (I assume you have discarded the Prefix SEI NAL units containing the HDR10 + metadata).
As soon as I can, I'll put it in my code.
Thanks for the invaluable help.
PapitaHD wrote:
Tue Oct 13, 2020 8:01 pm
Are these libraries still needed? I forgot to save them and the link is already dead.
I'm just asking because for some reason I've encountered 4 movies (War of the Worlds, Terminator Genisys, Terminator Dark Fate, Valerian) in a row that were unplayable on LG C8 and M9702 after converted to MEL.
No, they are no longer needed.
I'm having the same problem with Term Dark Fate (I believe that when muxing in the ts or mp4 container an incorrect timestamp is assigned to the various frames ... it happens with some movies)
ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow »

yusesope wrote:
Wed Oct 14, 2020 12:48 pm

I can only thank you both for your time.
I took a quick look at a few comparisons: the Firestick performs really well. The Shield still needs to improve (but if the Stick succeeds I don't see why the Shield shouldn't do it too).
It also seems that my FEL -> MEL and UHD-> profile 8.1 algorithms work fine.
You experts, do you consider them correct? Do you have any ideas/comments on this?
Thank you!

The zidoo Z9x also accepts the profile 8.1 procedure. I only tested in mkv. But it works fine in this 8.06 profile.
I am your procedure:

Code: Select all

Extract the base layer and the enhancement layer 
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:0 -c copy path\to\BL.hevc
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:1 -c copy path\to\EL.hevc
Using my tool, double click on the MUX_AND_CONVERT_TO_PROFILE_81.bat file and follow the instructions on the screen.
You will get a BL_EL_RPU.hevc file.
Actually, the file does not contain EL (it's just BL+RPU).
BL_EL_RPU is just the filename !!!
Let's put it this way, you are too lazy to use the command line and I am too lazy to add lines of code for the purpose of renaming a file
Simply, create an ISO using BL_EL_RPU and TsMuxeR.
Open the ISO with MakeMKV


Code: Select all

Vidéo
ID                                       : 1
ID in the original source medium         : 4117 (0x1015)
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+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Identifiant du codec                     : V_MPEGH/ISO/HEVC
Durée                                    : 2 h 18 min
Débit                                    : 35,5 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
Profondeur des couleurs                  : 10 bits
Bits/(Pixel*Image)                       : 0.179

Code: Select all

Vidéo
ID                                       : 1
ID in the original source medium         : 4117 (0x1015)
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+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Identifiant du codec                     : V_MPEGH/ISO/HEVC
Durée                                    : 53 min 7s
Débit                                    : 25,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
Profondeur des couleurs                  : 10 bits
Bits/(Pixel*Image)                       : 0.126
Thank's
jayper
Posts: 331
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

While we wait and hope for the Nvidia Shield to have its color issues worked out, I want to try experimenting with my Sony x700.

Are there any clear benefits to remuxing to TS over M2TS?

I do full unencrypted backups of all my discs. Am I saving myself trouble by just playing those back directly (if possible)? I'm not concerned with storage space. I would just rather have the simplest process to prepare the file, with accurate DV playback. Anyone have thoughts?
jlpsvk
Posts: 50
Joined: Thu Sep 06, 2018 11:33 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jlpsvk »

ok..

i just wondered... it it possible to demux correctly BL+EL+RPU generated by MakeMKV to separate BL.hevc and EL+RPU.hevc with yusesope's tool demux function (to re-use in encode)?

it stops on 98.5% in my case... stops at 98.5% and shows as done, but not whole movie is demuxed....

also... MKV from HEVC created with yusesope's tool, is marked as DVHE.07.00 in MakeMKV... ist that correct?
dysprosium
Posts: 24
Joined: Thu Jun 18, 2020 6:52 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dysprosium »

ragico wrote:
Sun Oct 11, 2020 7:31 pm
I compared the firestick vs shield on Panasonic GZ2000 oled and could not see any red push or colour saturation.
Firestick at moment is better than shield IMHO.
Hi ragico, did you do any comparison of the colours in DV with the Ugoos AM6 Plus? Is it accurate like the Firestick 4K or does it also have any colour issues like the Shield?
DaMacFunkin
Posts: 312
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

jayper wrote:
Wed Oct 14, 2020 7:32 pm
While we wait and hope for the Nvidia Shield to have its color issues worked out, I want to try experimenting with my Sony x700.

Are there any clear benefits to remuxing to TS over M2TS?

I do full unencrypted backups of all my discs. Am I saving myself trouble by just playing those back directly (if possible)? I'm not concerned with storage space. I would just rather have the simplest process to prepare the file, with accurate DV playback. Anyone have thoughts?
Hi, M2TS will let you retain PGS subs I believe, dump your chapters into a chap file and your good to go if a viable MKV solution is found for Z9X or Shield.
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by blenky »

ghostshadow wrote:
Wed Oct 14, 2020 7:15 pm

The zidoo Z9x also accepts the profile 8.1 procedure. I only tested in mkv. But it works fine in this 8.06 profile.
I am your procedure:

Code: Select all

Extract the base layer and the enhancement layer 
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:0 -c copy path\to\BL.hevc
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:1 -c copy path\to\EL.hevc
Using my tool, double click on the MUX_AND_CONVERT_TO_PROFILE_81.bat file and follow the instructions on the screen.
You will get a BL_EL_RPU.hevc file.
Actually, the file does not contain EL (it's just BL+RPU).
BL_EL_RPU is just the filename !!!
Let's put it this way, you are too lazy to use the command line and I am too lazy to add lines of code for the purpose of renaming a file
Simply, create an ISO using BL_EL_RPU and TsMuxeR.
Open the ISO with MakeMKV


Code: Select all

Vidéo
ID                                       : 1
ID in the original source medium         : 4117 (0x1015)
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+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Identifiant du codec                     : V_MPEGH/ISO/HEVC
Durée                                    : 2 h 18 min
Débit                                    : 35,5 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
Profondeur des couleurs                  : 10 bits
Bits/(Pixel*Image)                       : 0.179

Code: Select all

Vidéo
ID                                       : 1
ID in the original source medium         : 4117 (0x1015)
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+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Identifiant du codec                     : V_MPEGH/ISO/HEVC
Durée                                    : 53 min 7s
Débit                                    : 25,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
Profondeur des couleurs                  : 10 bits
Bits/(Pixel*Image)                       : 0.126
Thank's
Hi, so the above process worked on your Z9X? Did the resultant DV file play OK? I have a LG CX TV that is having issues with DV titles that are 4K and 23 Hz
DaMacFunkin
Posts: 312
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

blenky wrote:
Thu Oct 15, 2020 10:24 am
ghostshadow wrote:
Wed Oct 14, 2020 7:15 pm

The zidoo Z9x also accepts the profile 8.1 procedure. I only tested in mkv. But it works fine in this 8.06 profile.
I am your procedure:

Code: Select all

Extract the base layer and the enhancement layer 
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:0 -c copy path\to\BL.hevc
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:1 -c copy path\to\EL.hevc
Using my tool, double click on the MUX_AND_CONVERT_TO_PROFILE_81.bat file and follow the instructions on the screen.
You will get a BL_EL_RPU.hevc file.
Actually, the file does not contain EL (it's just BL+RPU).
BL_EL_RPU is just the filename !!!
Let's put it this way, you are too lazy to use the command line and I am too lazy to add lines of code for the purpose of renaming a file
Simply, create an ISO using BL_EL_RPU and TsMuxeR.
Open the ISO with MakeMKV


Code: Select all

Vidéo
ID                                       : 1
ID in the original source medium         : 4117 (0x1015)
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+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Identifiant du codec                     : V_MPEGH/ISO/HEVC
Durée                                    : 2 h 18 min
Débit                                    : 35,5 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
Profondeur des couleurs                  : 10 bits
Bits/(Pixel*Image)                       : 0.179

Code: Select all

Vidéo
ID                                       : 1
ID in the original source medium         : 4117 (0x1015)
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+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Identifiant du codec                     : V_MPEGH/ISO/HEVC
Durée                                    : 53 min 7s
Débit                                    : 25,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
Profondeur des couleurs                  : 10 bits
Bits/(Pixel*Image)                       : 0.126
Thank's
Hi, so the above process worked on your Z9X? Did the resultant DV file play OK? I have a LG CX TV that is having issues with DV titles that are 4K and 23 Hz
The Dolby Vision problem With LG and Zidoo Z9X is LG specific, Dolby have reported the problem to LG.
ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow »

blenky wrote:
Thu Oct 15, 2020 10:24 am


Hi, so the above process worked on your Z9X? Did the resultant DV file play OK? I have a LG CX TV that is having issues with DV titles that are 4K and 23 Hz
Hello, yes it works I have a Panasonic HZ1500E TV. I am in auto at the level of the adjustment of the resolution of the zidoo. I am in framerate and resolution activated.
HDR = Auto.
On the TV I am in YCbCr HDMI range = Full
I also changed my HDMI cables. The mkv DV profile 8 works
THX-UltraII
Posts: 9
Joined: Fri Feb 06, 2015 7:50 am
Location: REMOVEACCOUNT
Contact:

Re: Dolby Vision now possible through MP4 Mux.

Post by THX-UltraII »

Is there a list of mediaplayers that support DV with this MakeMKV method?

I know the Shield 2019 does but it seems to have issues with colors from what I understand:"
https://www.nvidia.com/en-us/geforce/fo ... by-vision/

And is a M9702 still the best option for this moment if you want flawless DV, HDR10, Dolby Atmos and dts:X?
REMOVEACCOUNT
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

Thanks to @quietvoid it is now possible to discard HDR10+ metadata in case your device (ex: FireStick 4k) does not like DoVi + HDR10+.

As much as I liked the idea of ​​an on\off switch I opted for the destructive method:
the first method would require my tool to re-enable HDR10+.
How many of you will continue to use it in a week, a month, a year?
Better to create a "clean" file by eliminating unwanted metadata!

Find the updated version in the post we are using during this testing phase (HERE).
Those who want to skip HDR10+ metadata have to edit all ".bat" files (right click -> edit) by adding the -skip_hdr10plus switch
Post Reply