Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
duder
Posts: 9
Joined: Mon Aug 22, 2022 2:46 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by duder »

jayper wrote:
Fri Aug 26, 2022 4:09 pm
Hi Reset! First of all, thanks for all your time and effort maintaining these tools and educating the forum.
...
I would also like to join in thanking RESET_9999 for his time and effort!!!
Really appreciate everything you’ve done and do.

And I am still struggling with my mkv to mp4 conversion)
RESET_9999
Posts: 2107
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

duder wrote:
Fri Aug 26, 2022 7:02 pm
jayper wrote:
Fri Aug 26, 2022 4:09 pm
Hi Reset! First of all, thanks for all your time and effort maintaining these tools and educating the forum.
...
I would also like to join in thanking RESET_9999 for his time and effort!!!
Really appreciate everything you’ve done and do.

And I am still struggling with my mkv to mp4 conversion)
you're welcome!

Did you try the latest version (1.5.2)?
lexyz
Posts: 120
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz »

RESET_9999 wrote:
Fri Aug 26, 2022 2:51 pm
Wow, so your TV only supports LLDV but still has the newest CMV4.X version of DV. :shock: :shock:
I don't think it has CMv4
But does it matter with Player-led mode, hm?
If player supports CMv4 it should output DV with all CMv4 processing.
Bravia XF90, Shield TV Pro'19, UBP-X700
yossSP
Posts: 54
Joined: Tue Feb 16, 2021 7:42 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yossSP »

RESET_9999 wrote:
Fri Aug 26, 2022 4:59 pm
yossSP wrote:
Fri Aug 26, 2022 4:26 pm
the UHD rip files made with MakeMKV in Dolby Vision 7.06 FEL/MEL?
This kind of DV files, which kind of CM version use?
If this is what you are asking, almost all the movies are done in CMV2.9 and I don't understand why because the CMV4.X L1 generation is VERY different than CMV2.9 L1 generation. CMV4.X is supposed to be improved compared to CMV2.9.

CMV4.x vs CMV2.9, same settings, same content:
https://screenshotcomparison.com/comparison/26961
Ok, thanks for your answer RESET_9999.

Well, then, if a mkv file uses CMv4.0, a device that only supports CMv2.9 couldn't process all the improvements of the EL layer, only the ones compatible with the CMv2.9. So that, the picture looks worse than it is, loosing all the improvements coded in L3/L8. That's right?

And a final question, the difference in image quality between a full process with CM4.0 source and a CMv4.0 source playingback compatible CMv2.9 in a device that only supports v2.9 is remarkable or subtle?
RESET_9999
Posts: 2107
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

lexyz wrote:
Sat Aug 27, 2022 8:58 am
I don't think it has CMv4
But does it matter with Player-led mode, hm?
If player supports CMv4 it should output DV with all CMv4 processing.
you can try the ATV fake p5 version in your internal tv player. It worked for other Sony owners
https://drive.google.com/file/d/1K6Z3mn ... sp=sharing
RESET_9999
Posts: 2107
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yossSP wrote:
Sat Aug 27, 2022 10:48 am
Well, then, if a mkv file uses CMv4.0, a device that only supports CMv2.9 couldn't process all the improvements of the EL layer, only the ones compatible with the CMv2.9. So that, the picture looks worse than it is, loosing all the improvements coded in L3/L8. That's right?

And a final question, the difference in image quality between a full process with CM4.0 source and a CMv4.0 source playingback compatible CMv2.9 in a device that only supports v2.9 is remarkable or subtle?
No, it would not look worse because L1 is the same.
L8 is just an improved(i suppose) version of L2 and in the end, shouldn't really look different even though each metadata works differently than L2.
The point of trim passes is that the movie looks roughly the same on every TV regardless of its capabilities.
yossSP
Posts: 54
Joined: Tue Feb 16, 2021 7:42 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yossSP »

RESET_9999 wrote:
Sat Aug 27, 2022 12:12 pm
yossSP wrote:
Sat Aug 27, 2022 10:48 am
Well, then, if a mkv file uses CMv4.0, a device that only supports CMv2.9 couldn't process all the improvements of the EL layer, only the ones compatible with the CMv2.9. So that, the picture looks worse than it is, loosing all the improvements coded in L3/L8. That's right?

And a final question, the difference in image quality between a full process with CM4.0 source and a CMv4.0 source playingback compatible CMv2.9 in a device that only supports v2.9 is remarkable or subtle?
No, it would not look worse because L1 is the same.
L8 is just an improved(i suppose) version of L2 and in the end, shouldn't really look different even though each metadata works differently than L2.
The point of trim passes is that the movie looks roughly the same on every TV regardless of its capabilities.
Thanks again for your clear answer.
I was wondering if there's an other concept/compatibility to be aware to asure a correct playback of DV content :shock:
DonaldFaQ
Posts: 7
Joined: Mon Oct 21, 2019 9:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by DonaldFaQ »

Simple Batch scripts for some dovi_tool functions available here:
https://forum.doom9.org/showthread.php?t=183479
realbabilu
Posts: 22
Joined: Sun May 15, 2022 4:23 am

Re: Dolby Vision now possible through MP4 Mux.

Post by realbabilu »

Hi DonaldFaQ .
I love your tools also. I usually use DDVT_DEMUXER to fix different cropped RPU vs Video. Especially when the mp4muxer muxed with mismatch rpu pixels range, the video played will be quenched upside down. https://github.com/DolbyLaboratories/dl ... e/issues/7

The last time i use 0.43, I can't got mp4 from mkv with DDVT_MKVTOMP4 properly
Still use mkvcleaver to extract and remux with Dolby mp4remux

BTW, I just got DV 7 video.
It is john wick 2014. Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
The tv doesn't like with DV7 mp4 container, and the mp4muxer doesn't seem support DV7 also.
Times to use tools...to get DV8.1 or DV 8 HLG

I use RESET_9999 Dovi_Script and DonaldFaq Dovi_tool to convert to DV8 and remuxit with mp4muxer from Dolby github.
Question for RESET_9999:
I just use Dovi_Script 1.5.2, and choose path 4-5-2, and installed phyton with it necessaries.

Code: Select all

 Choose a mode...

1) MODE.I=  DoVi Convert/Edit/Sync/Inject (Hybrid Maker and RPU/XML Injector)
2) MODE.F=  DoVi Fix/Extract/Info/Verify-Sync
3) MODE.H=  DoVi Maker (from HDR10 madVR or HDR10plus)
4) MODE.P=  Profile 7 Input (MKV/BDMV)
5) MODE.B=  Dovi Batch tsMuxer: MKV/MP4 to TS (ST-DV+DD+SUB)
6) MODE.M=  MIXED: Remover/Measurer/Playlist/Audio and more...
7) MODE.M4= MP4_MUXER Workflows
8) Exit

Choice? [1,2,3,4,5,6,7,8]?4
                                           *****************
                                           * CHOOSE A MODE *
                                           *****************


1) MODE.1= Bluray Disc to Profile 8 or ST Profile 7
2) MODE.2= MKV ST Profile 7 to Profile 8
3) MODE.3= DEMUX MKV Profile 7 ST-DL to DT-DL
4) MODE.4= Back to main menu

Choice? [1,2,3,4]?2
                                         *********************
                                         * CHOOSE A WORKFLOW *
                                         *********************

1) Workflow.1= P7 Single-Track Dual-Layer to Profile 8 + TrueHD_to_TrueHD.ac3 + DDP_5.1
2) Workflow.2= P7 Single-Track Dual-Layer to Profile 8 + TrueHD_to_TrueHD.ac3 + DDP_7.1 (DEE only)
3) Workflow.3= P7 Single-Track Dual-Layer to Profile 8 + DDP_5.1
4) Workflow.4= P7 Single-Track Dual-Layer to Profile 8 + TrueHD_to_TrueHD.ac3
5) Workflow.5= P7 Single-Track Dual-Layer to Profile 8
6) Workflow.6= back to main menu

Choice? [1,2,3,4,5,6]?5
-----------------------------------------------------------------------------------------
--- Install Python
--- type "pip install matplotlib"
--- type "pip install PyQt5"
--- more info here: https://github.com/zeroepoch/plotbitrate
-----------------------------------------------------------------------------------------
Drag and drop a video file and press enter...
C:\Users\DOLBY\Videos\John.Wick.2014.2160p.UHD.BluRay.x265.HDR.DV.DD.mkv
D:\mov\Dolby-Vision-Tools\tools\ffprobe.exe -> C:\ffprobe.exe
Access denied
←[91mError: Missing ffprobe from package 'ffmpeg'←[0m
Could Not Find C:\ffprobe.exe
"The script has completed."
-----------------------------------------------------------------------------------------
--- Install Python
--- type "pip install matplotlib"
--- type "pip install PyQt5"
--- more info here: https://github.com/zeroepoch/plotbitrate
-----------------------------------------------------------------------------------------
Drag and drop a video file and press enter...
Looks like it want copy to c:, it needs administrator since copy to main folder. why cant be temp folder instead.

Question for DonaldFaq:
1. If the DV7 mkv extracted using DDVT_DEMUXER with crop off by default. i got rpu.bin that different range (rpu has 280x) as video range (0px)
so i got restarted again with DDVT_DEMUXER, crop on right?
2. When i got the rpu.bin it should be same folder as input mkv right, by using DDVT_INJECTOR to get mkv DV8, right?
3. What the best for budget DV TV: DV 8.1 or DV 8 HLG format from DV7 mkv.


Regards both of you. Thank you for the tools.
RESET_9999
Posts: 2107
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

realbabilu wrote:
Sun Aug 28, 2022 6:26 pm
I just use Dovi_Script 1.5.2, and choose path 4-5-2, and installed phyton with it necessaries.
oops, the menu order is messed up. you don't need python for that workflow :)
will fix it in the next version soon.
duder
Posts: 9
Joined: Mon Aug 22, 2022 2:46 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by duder »

RESET_9999 wrote:
Fri Aug 26, 2022 7:06 pm
duder wrote:
Fri Aug 26, 2022 7:02 pm
jayper wrote:
Fri Aug 26, 2022 4:09 pm
Hi Reset! First of all, thanks for all your time and effort maintaining these tools and educating the forum.
...
I would also like to join in thanking RESET_9999 for his time and effort!!!
Really appreciate everything you’ve done and do.

And I am still struggling with my mkv to mp4 conversion)
you're welcome!

Did you try the latest version (1.5.2)?
Tried with v1.5.3 (thx again for updating it!)
With the whole file got the same mistake as above. Smth about “enough space”.
But using small cut sample from that file everything works fine!

So maybe there is a need of additional free space. A question is of what size.
RESET_9999
Posts: 2107
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

duder wrote:
Mon Aug 29, 2022 11:59 am
Tried with v1.5.3 (thx again for updating it!)
With the whole file got the same mistake as above. Smth about “enough space”.
But using small cut sample from that file everything works fine!

So maybe there is a need of additional free space. A question is of what size.
Well of course, the drive you put the script folder on must have enough space. It needs at least two times the size of the input file.
proximus
Posts: 1
Joined: Thu Jun 17, 2021 9:35 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by proximus »

Hello,

First of all excuse me for my English, I'm not English speaking at the base :)
I need your help .. I read many many pages on this forum but I remain in misunderstanding:
I'm trying to extract DV data from an MKV file, like this: Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
and reinject them into an MKV file that only contains HDR10 data, like this: SMPTE ST 2086, HDR10 compatible

Can someone give me the step by step I need to do? With what software or scripts, step by step like I was 8 years old lol

I've been trying to do this for months :(

Thanks a lot !
rophel
Posts: 9
Joined: Fri Dec 18, 2020 1:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rophel »

anyone seen any weird drastic brightness "flickering" after HDR10+ to DV? So far it's only on Nomadland, but both me an a friend converted it separately and have the same result. Basically the scene is panning across and it jumps up and down brightness dramatically in the DV version for a split second, but it is not present in the HDR layer when I view the same video on a non-DV display.

I noted down 1:06:40 in Nomadland where you can see it clearly.

Anything I should try as a fix?
quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

rophel wrote:
Wed Aug 31, 2022 4:20 am
Anything I should try as a fix?
Clearly the file you're using as source has incorrect metadata order.
Nothing you can do other than having access to the original retail source for the HDR10+ metadata.
Post Reply