Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Wed Nov 27, 2024 7:18 pm

DiscoD wrote:
Wed Nov 27, 2024 5:32 pm
Is there a setting somewhere i can change to save the log file of the entire process when i run 8-2-1.
i would like to save it to a txt file if possible in the same folder.
I could but it makes the x265.exe progress bar to display a new line for each few frames. I don't know how to keep the progress bar on the same line and export the log at the same time.

If you still want it, you can modify line 17370

Code: Select all

"%x265_path%" %settings% %static_metadata% %P8RPU% --input "%TEMP%script.avs" --output "%output_path%%filename%%encodetype%.hevc" & echo off & set HDR="%output_path%%filename%%encodetype%.hevc"& goto :MUXER
change it to:

Code: Select all

"%x265_path%" %settings% %static_metadata% %P8RPU% --input "%TEMP%script.avs" --output "%output_path%%filename%%encodetype%.hevc" 2>&1 | PowerShell -Command "$input | Tee-Object -FilePath \"%output_path%%filename%_encode_log.txt\""
@echo off
set HDR="%output_path%%filename%%encodetype%.hevc"& goto :MUXER


EDIT:
added an option to export x265 encoding logs at line 167 (off by default)
https://drive.google.com/file/d/128gq8a ... drive_link
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

dkangel
Posts: 5
Joined: Sun Oct 23, 2022 12:34 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by dkangel » Thu Dec 05, 2024 7:42 pm

hello everybody
can someone explain step by step how to make mkv remux from these bluray with bad authoring ?
thank you very much

EDIT : I think i've found, just import m2ts file in dovi_scripts, so simple as that ?

LV8HD
Posts: 50
Joined: Tue Jan 11, 2022 3:48 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by LV8HD » Mon Dec 09, 2024 4:51 pm

@RESET_9999 can the RPU coming from the korean UHD Blu-ray be injected in the french UHD Blu-ray in your opinion?

Plots: https://slow.pics/c/fDGDHo8Y

PQ: https://slow.pics/c/TiKmEYmY

I'm not 100% sure because there's a slight PQ difference between the two. For example in comparison number 12 you can clearly see it in the color of the red pencil.

skull88
Posts: 69
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by skull88 » Mon Dec 09, 2024 5:21 pm

You can also see in the hand, envelope and bags in this frame, so brightness seems to be slightly different, so I doubt it: https://slow.pics/c/kecXpEAV

Also, there was barely any actual L2 trim in the KOR UHD BD RPU, so generating a new one for FRA UHD BD makes even more sense. Cheers. :)

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Mon Dec 09, 2024 5:34 pm

red looks indeed slightly different but according to your HDR plot, it looks close enough IMO. The 100nits trim doesnt add much and the 1000nits trim is blank meaning there won't be an artistic trim effect for any display with a target equal or higher to 1000nits so it might be better to just generate a new CMV4.0 RPU.

PS: You should uncheck ''Optimize images'' when you do an HDR comparison because this option removes the HDR10 trigger metadata and the images can no longer be viewed natively in HDR.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Mon Dec 09, 2024 5:36 pm

dkangel wrote:
Thu Dec 05, 2024 7:42 pm
hello everybody
can someone explain step by step how to make mkv remux from these bluray with bad authoring ?
thank you very much

EDIT : I think i've found, just import m2ts file in dovi_scripts, so simple as that ?
You have to extract the RPU from the original m2ts. You might have to remux the HDR10 BL first before running workflow 1 because im not sure of what will happen if you input a DT-DL m2ts and a P7 RPU
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

dkangel
Posts: 5
Joined: Sun Oct 23, 2022 12:34 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by dkangel » Mon Dec 09, 2024 8:02 pm

RESET_9999 wrote:
Mon Dec 09, 2024 5:36 pm
dkangel wrote:
Thu Dec 05, 2024 7:42 pm
hello everybody
can someone explain step by step how to make mkv remux from these bluray with bad authoring ?
thank you very much

EDIT : I think i've found, just import m2ts file in dovi_scripts, so simple as that ?
You have to extract the RPU from the original m2ts. You might have to remux the HDR10 BL first before running workflow 1 because im not sure of what will happen if you input a DT-DL m2ts and a P7 RPU
i think it's ok, i just made workflow 1-7 with the m2ts file and the number of frame of the rpu is correct. it was incorrect with the mkv from makemkv.
And these blu-ray are MEL so P8 is enough :)

bluray done : soul eater, mississippi burning and late night with the devil

Chisum04
Posts: 17
Joined: Mon Feb 27, 2023 10:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Chisum04 » Sat Dec 14, 2024 12:36 pm

"Strange Darling" from Capelight is another faulty authored disc, which MakeMKV exposes. Its MEL, so no problem with profile 8.1. after DGDemux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Sat Dec 14, 2024 12:52 pm

Chisum04 wrote:
Sat Dec 14, 2024 12:36 pm
"Strange Darling" from Capelight is another faulty authored disc, which MakeMKV exposes. Its MEL, so no problem with profile 8.1. after DGDemux.
Thanks. is it also oversaturated like the HDR10 BD ?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

Chisum04
Posts: 17
Joined: Mon Feb 27, 2023 10:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Chisum04 » Sat Dec 14, 2024 1:42 pm

To me it looked ok, but that doesn`t say much. I was just able to see the fault in "Gamer" from Lionsgate (HDR flagged as SDR) :D .

Cannikin
Posts: 186
Joined: Tue Aug 18, 2020 11:54 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Cannikin » Sun Dec 15, 2024 7:35 pm

Strange Darling was probably the most RED movie I've ever seen...insanely saturated. But, I assumed this was on purpose: at the start there's a banner on screen "Shot completely on 35mm film". So I assumed the filmmakers really wanted to drive that fact home with some deep, saturated reds everywhere. I didn't see it in the theater so have no reference other than the disc.

Chisum04
Posts: 17
Joined: Mon Feb 27, 2023 10:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Chisum04 » Sun Dec 15, 2024 9:26 pm

Next authoring failure from Capelight is "Kill", MEL as well. Obviously they are unable to author a synchronized EL for Profile 7.

Chisum04
Posts: 17
Joined: Mon Feb 27, 2023 10:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Chisum04 » Mon Dec 16, 2024 9:22 pm

Tried different scenarios with "Kill" from Capelight:
1. with MakeMKV to Single Layer P7
2. with DGDemux and Dovi Tool to Single Layer P7
3. with DGDemux and Dovi Tool to P8
4.Extracted BL only and measured scenecuts with madVR

Then I compared the scenecuts of the newly created rpu's with the rpu of the original EL-rpu and got the following results:
1. Scenecuts had up to 300 frames difference to original
2. Scenecuts had 0-6 frames difference to original
3. Exactly as No. 2
4. Same scenecuts as original.

So for me it appears better to create a new rpu with cm analyzer than just changing to Profile 8, not to say using MakeMKV.
What do you think?

Attached the MakeMKV log:

Code: Select all

004007:0010 AV synchronization issues were found in file 'file://D:/Filme/title_t00.mkv' (title #1)
004008:0010 AV sync issue in stream 1 at 0:00:00 with duration of 41ms : audio gap was filled with silence
004047:0010 AV sync issue in stream 0 at 0:00:02.500 : secondary stream video frame timecode differs by +166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:02.708 : secondary stream video frame timecode differs by -125ms
004047:0010 AV sync issue in stream 0 at 0:00:02.708 : secondary stream video frame timecode differs by -166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:02.708 : secondary stream video frame timecode differs by -83.333ms
004047:0010 AV sync issue in stream 0 at 0:00:02.708 : secondary stream video frame timecode differs by +125ms
004047:0010 AV sync issue in stream 0 at 0:00:02.708 : secondary stream video frame timecode differs by +41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:03.208 : secondary stream video frame timecode differs by -41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:03.375 : secondary stream video frame timecode differs by +125ms
004047:0010 AV sync issue in stream 0 at 0:00:03.375 : secondary stream video frame timecode differs by +41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:03.416 : secondary stream video frame timecode differs by -333.333ms
004047:0010 AV sync issue in stream 0 at 0:00:03.416 : secondary stream video frame timecode differs by -375ms
004047:0010 AV sync issue in stream 0 at 0:00:03.416 : secondary stream video frame timecode differs by -291.666ms
004047:0010 AV sync issue in stream 0 at 0:00:03.416 : secondary stream video frame timecode differs by -83.333ms
004047:0010 AV sync issue in stream 0 at 0:00:03.500 : secondary stream video frame timecode differs by +166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:03.625 : secondary stream video frame timecode differs by -166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:03.708 : secondary stream video frame timecode differs by -125ms
004047:0010 AV sync issue in stream 0 at 0:00:03.708 : secondary stream video frame timecode differs by -166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:03.708 : secondary stream video frame timecode differs by -83.333ms
004047:0010 AV sync issue in stream 0 at 0:00:03.708 : secondary stream video frame timecode differs by +125ms
004047:0010 AV sync issue in stream 0 at 0:00:03.708 : secondary stream video frame timecode differs by +41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:04.208 : secondary stream video frame timecode differs by -41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:04.375 : secondary stream video frame timecode differs by +125ms
004047:0010 AV sync issue in stream 0 at 0:00:04.375 : secondary stream video frame timecode differs by +41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:04.416 : secondary stream video frame timecode differs by -333.333ms
004047:0010 AV sync issue in stream 0 at 0:00:04.416 : secondary stream video frame timecode differs by -375ms
004047:0010 AV sync issue in stream 0 at 0:00:04.416 : secondary stream video frame timecode differs by -291.666ms
004047:0010 AV sync issue in stream 0 at 0:00:04.416 : secondary stream video frame timecode differs by -83.333ms
004047:0010 AV sync issue in stream 0 at 0:00:04.500 : secondary stream video frame timecode differs by +166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:04.625 : secondary stream video frame timecode differs by -166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:04.708 : secondary stream video frame timecode differs by -125ms
004047:0010 AV sync issue in stream 0 at 0:00:04.708 : secondary stream video frame timecode differs by -166.666ms
004047:0010 AV sync issue in stream 0 at 0:00:04.708 : secondary stream video frame timecode differs by -83.333ms
004047:0010 AV sync issue in stream 0 at 0:00:04.708 : secondary stream video frame timecode differs by +125ms
004047:0010 AV sync issue in stream 0 at 0:00:04.708 : secondary stream video frame timecode differs by +41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:05.208 : secondary stream video frame timecode differs by -41.666ms
004047:0010 AV sync issue in stream 0 at 0:00:05.375 : secondary stream video frame timecode differs by +125ms
004047:0010 AV sync issue in stream 0 at 0:00:05.375 : too many video frames with invalid timecodes, future messages will be suppressed
004047:0010 AV sync issue in stream 0 at 0:00:05.416 : secondary stream video frame timecode differs by -333.333ms
004047:0010 AV sync issue in stream 0 at 0:00:05.416 : secondary stream video frame timecode differs by -375ms
004047:0010 AV sync issue in stream 0 at 0:00:05.416 : secondary stream video frame timecode differs by -291.666ms
004047:0010 AV sync issue in stream 0 at 0:00:05.416 : secondary stream video frame timecode differs by -83.333ms
THDSF: [truehd @ 0000017448B07030] End of stream indicated.
THDSF: [truehd @ 0000017448B07030] End of stream indicated.
THDSF: [truehd @ 0000017448B07030] End of stream indicated.
FFDEC000: [truehd @ 0000017446862760] End of stream indicated.
FFDEC000: [truehd @ 0000017446862760] End of stream indicated.
FFDEC000: [truehd @ 0000017446862760] End of stream indicated.
004047:0010 AV sync issue in stream 0 at 1:44:53.958 : video stream has 94455 frames with invalid timecodes
005005:0080 1 titles saved

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Mon Dec 16, 2024 9:44 pm

I only use tsmuxer for those GER discs and so far they were all in sync if I demux from the original m2ts and extract/convert to P8...
So it sounds like this one would not be ok but I can't check it out since I cannot find the original ISO online yet, I only see REMUX rip.

I'll check it out once I get the complete disc.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

darrrkmanxxx
Posts: 93
Joined: Mon Apr 13, 2020 9:55 am

Re: Dolby Vision now possible through MP4 Mux.

Post by darrrkmanxxx » Tue Dec 17, 2024 9:28 am

Hey guys, is there a way to be able to tell if DV works properly on my device or not. I've downloaded a bunch of test files and they all trigger dolby vision but I'm not sure how to interpret them, especially the player/tv-led stuff (chroma weight)
Any guidance/help will be appreciated.

Post Reply