Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Trees wrote: Thu Nov 23, 2023 9:39 am Hey all. As of recently, I'm getting the current errors for script 3-1. Worked great in the past, however, it recenty started spitting out errors:
Any ideas as to what it could be?
looks like your scene cuts file is wrong. whats the input release name?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by speeddemon »

I'm getting the error message "DoViBaker: Clip length does not match length indicated by RPU file" in StaxRip after using 7-1. It seems like the EL & RPU are 1 frame shorter at the end than the BL. How can I fix this?
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

you can use the ''trim'' function in avisynth

something like that:
bl2 = Trim(bl, 0, -206370)
el2 = Trim(el, 0, -206370)

speeddemon wrote: Thu Nov 23, 2023 8:01 pm I'm getting the error message "DoViBaker: Clip length does not match length indicated by RPU file" in StaxRip after using 7-1. It seems like the EL & RPU are 1 frame shorter at the end than the BL. How can I fix this?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by speeddemon »

RESET_9999 wrote: Thu Nov 23, 2023 8:26 pm you can use the ''trim'' function in avisynth

something like that:
bl2 = Trim(bl, 0, -206370)
el2 = Trim(el, 0, -206370)

speeddemon wrote: Thu Nov 23, 2023 8:01 pm I'm getting the error message "DoViBaker: Clip length does not match length indicated by RPU file" in StaxRip after using 7-1. It seems like the EL & RPU are 1 frame shorter at the end than the BL. How can I fix this?
It's not working for me and I'm trying this...

Code: Select all

LoadPlugin("DoViBaker_x64.dll") 
LoadPlugin("DGDecodeNV.dll") 
bl = DGSource("BL.dgi") 
el = DGSource("EL.dgi") 
bl2 = Trim(bl, 0, -203758)
el2 = Trim(el, 0, -203758)
DoViBaker(bl2, el2, rpu= "RPU_FEL.bin") 
ConvertToYUV420(matrix="2020") 
Any other tips?

The RPU reports as being 203758 frames long. I do get an error while processing with 7-1 that says:

Code: Select all

Warning: Unexpected RPU NALU found for frame 203757. Discarding.
Last edited by speeddemon on Fri Nov 24, 2023 5:02 am, edited 1 time in total.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

i dont know, try to remove or duplicate the last frame in 2-1-1
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by speeddemon »

RESET_9999 wrote: Thu Nov 23, 2023 10:33 pm i dont know, try to remove or duplicate the last frame in 2-1-1
The problem is that the BL is 203759 frames and the EL & RPU are both only 203758 frames. I can't do that with 2-1-1 though since it'll only effect the RPU, right? Any ideas on how to remove 1 frame just from the BL in the AVS?
Trees
Posts: 59
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

RESET_9999 wrote: Thu Nov 23, 2023 11:56 am
Trees wrote: Thu Nov 23, 2023 9:39 am Hey all. As of recently, I'm getting the current errors for script 3-1. Worked great in the past, however, it recenty started spitting out errors:
Any ideas as to what it could be?
looks like your scene cuts file is wrong. whats the input release name?
"S01E01 - The Holy Trinity Full is SDH 2160p HDR10 Amazon WEB-DL.mkv"

No "(". Purposely removed the "(" and ")".
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Trees wrote: Fri Nov 24, 2023 9:03 am "S01E01 - The Holy Trinity Full is SDH 2160p HDR10 Amazon WEB-DL.mkv"
o yeah, I forgot about the old amazon HDR10plus webdl without a profile. They need --skip-validation in order to extract the metadata/shot list.
will be fixed in the next version.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Gatorman
Posts: 84
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

speeddemon wrote: Fri Nov 24, 2023 3:52 am
The problem is that the BL is 203759 frames and the EL & RPU are both only 203758 frames. I can't do that with 2-1-1 though since it'll only effect the RPU, right? Any ideas on how to remove 1 frame just from the BL in the AVS?
What about using the Preview tab in StaxRip to ignore the final frame from the BL before encoding?
More reasons to collect physical media. Ugoos AM6B+ CE p3i PM4K.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Gatorman wrote: Fri Nov 24, 2023 2:19 pm What about using the Preview tab in StaxRip to ignore the final frame from the BL before encoding?
Preview will not work if the script can't be played in the first place.

Anyway, no reason why the trim in avisynth wouldn't work if it's just the BL that need trimming.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
TheEqualizer
Posts: 51
Joined: Tue Feb 21, 2023 3:50 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by TheEqualizer »

RESET_9999, Hi! When using DoVi_Scripts_MP4 (last version) point 5, if you apply an mkv with audio delay to the input, then we get a "broken" mp4 at the output. What is the problem and how can it be fixed so that everything in mp4 is identical to the mkv file?
Input file
https://ibb.co/mzsq3SP
Output file
https://ibb.co/C02ndrm
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

thanks for reporting, I'll check it out.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Trees
Posts: 59
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

RESET_9999 wrote: Fri Nov 24, 2023 12:15 pm
Trees wrote: Fri Nov 24, 2023 9:03 am "S01E01 - The Holy Trinity Full is SDH 2160p HDR10 Amazon WEB-DL.mkv"
o yeah, I forgot about the old amazon HDR10plus webdl without a profile. They need --skip-validation in order to extract the metadata/shot list.
will be fixed in the next version.
Thanks brother. I'll wait patiently. :)
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Trees wrote: Fri Nov 24, 2023 10:55 pm Thanks brother. I'll wait patiently. :)
no need to wait, I already released a fix a couple of hours ago. :)
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
TheEqualizer
Posts: 51
Joined: Tue Feb 21, 2023 3:50 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by TheEqualizer »

RESET_9999 wrote: Fri Nov 24, 2023 10:43 pm thanks for reporting, I'll check it out.
And also, for interest, I ran the finished movie through the script, the script completely recoded all the sound from eac3 to ac3, spoiling it, he can't just transfer everything from the mkv container to mp4 without changes?
Post Reply