Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
DjObama
Posts: 10
Joined: Fri Oct 27, 2023 4:48 pm

Re: FLAC/LPCM lower volume FIX

#9166 Post by DjObama » Thu Nov 16, 2023 11:06 am

skull88 wrote:
Wed Nov 15, 2023 5:17 pm
DjObama wrote:
Wed Nov 15, 2023 4:43 pm
RESET_9999 wrote:
Tue Nov 14, 2023 11:29 pm


I'll check it out but I'm pretty sure LPCM is fine.

EDIT: did some tests and the original THD/DTS, flac or lpcm all sound at the same level on my PC.
Anyway, I added -drc_scale 0 in the cli, maybe that will help?
Yes, I checked and on PC there is no problem. However on TV there is a significant diffrence. I just checked another movie - Hero (2002), not even a HDR movie, but Flac plays very quiet compared to dts. Can somebody check the flac playback on their tvs/recievers compared to dts-hd tracks? I read about it a bit and seems that dts format boosts the volume while decoding, but it doesn't happen on pc.
Sounds like this is not an issue that should really be troubleshooted on this thread, but on a forum or subreddit relating to your TV or AVR? I recommend you try E-AC3 instead of FLAC, as it is 2nd best alternative if you aren't happy with FLAC playback or adjusting volume on the fly when you watch movies. ;)
Yes, sorry for introducing chaos. The issue seems to be with my tv, I chcecked pcm audio and it was louder than flac (altough weirdly the dialogue was very quiet). I'll stick to eac3 for now.

I just wonder if dovi_scripts could be configured to keep the flac track for 4-3-1 MP4?

ans40
Posts: 12
Joined: Thu Sep 07, 2023 7:54 am

Re: Dolby Vision now possible through MP4 Mux.

#9167 Post by ans40 » Thu Nov 16, 2023 3:52 pm

skull88 wrote:
Thu Nov 16, 2023 12:34 am
ans40 wrote:
Wed Nov 15, 2023 11:51 pm
RESET_9999 wrote:
Sat Oct 14, 2023 1:35 pm


2 options:

1- just use the static metadata from your source HDR10
2- check the brightness first with madvr. If 95% of the movie is under 1000nits, use 1000nits MDL else, 4000.

Option 2 is better because some movies have a static MDL of 4000nits but the actual brightness is under 1000nits.
A 4000nits RPU is a lot darker than a 1000nits one regardless of the content's actual brightness and in my opinion, 4000nits MDL + low nits content is wrong without L2 trim passes because if you look at the generated(or original) trims with a 4000nits analysis, they brighten/compensate a lot for the darkness a 4000 rpu brings.

https://slow.pics/c/uVX5iFOD
Using Resolve to generate DV.

BL HDR10: https://ibb.co/fYWDhzp

Thoughts on using a 2000nit MDL? It has a decent amount of scenes over 1000 nits. 4000 seems excessive though, so I'm between 1000 and 2000nit MDL for Resolve DV analysis. TIA :)
This is for Interstellar, and the way a movie is shot, not just plot peaks, should be taken into account when making the choice. A number of poorly lit scenes really demonstrate that 4K may not be ideal for them, but other scenes are much brighter. I marginally prefer a 1K MDL for generation on this one having watched with both 4K and 1K injected RPUs, but I guess you could try 2K as a compromise, it's honestly a toss-up and personal preference on this title in the end. Oh, and if doing yourself, make sure to correctly set L5/blanking on the IMAX shots vs. main timeline blanking. ;)
It's kind of remarkable you recognized what movie that was lol. Thanks @skull88 and @RESET_9999 -- checked out the 4k and 1k MDL versions this morning and prefer the 1k.

ans40
Posts: 12
Joined: Thu Sep 07, 2023 7:54 am

Re: Dolby Vision now possible through MP4 Mux.

#9168 Post by ans40 » Fri Nov 17, 2023 8:13 am

RESET_9999 wrote:
Thu Nov 16, 2023 1:11 am
ans40 wrote:
Wed Nov 15, 2023 11:51 pm
Thoughts on using a 2000nit MDL? It has a decent amount of scenes over 1000 nits. 4000 seems excessive though, so I'm between 1000 and 2000nit MDL for Resolve DV analysis. TIA :)
You should update your script, I added more information that makes the decision easier. My initial recommendation was if 95% is under 1000nits , choose 1000nits and for this movie only 2.4% is over 1k. I personally opted for the 1000nits MDL.
But as @skull88 said, we probably should consider the avg_pq too and I'm still thinking about the % (I'm gathering more information). Also, madvr definitely includes the black bars in its measurement so maxfall (without cropping) will always be lower than it is in reality. see: https://slow.pics/c/pV4NXJMB

BTW, here's my Resolve project for this movie, this will save you a lot of time ;)
https://drive.google.com/drive/u/0/fold ... rHG4XNSy8x

Image
Oh, hey. Just as an FYI if I'm seeing this right, your template had the wrong blanking for scene #705 (frame#72080). Your settings file saved me a bunch of time, just ran through and did a quick double-check and caught that :D .

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

Re: Dolby Vision now possible through MP4 Mux.

#9169 Post by skull88 » Fri Nov 17, 2023 2:27 pm

ans40 wrote:
Fri Nov 17, 2023 8:13 am
RESET_9999 wrote:
Thu Nov 16, 2023 1:11 am
ans40 wrote:
Wed Nov 15, 2023 11:51 pm
Thoughts on using a 2000nit MDL? It has a decent amount of scenes over 1000 nits. 4000 seems excessive though, so I'm between 1000 and 2000nit MDL for Resolve DV analysis. TIA :)
You should update your script, I added more information that makes the decision easier. My initial recommendation was if 95% is under 1000nits , choose 1000nits and for this movie only 2.4% is over 1k. I personally opted for the 1000nits MDL.
But as @skull88 said, we probably should consider the avg_pq too and I'm still thinking about the % (I'm gathering more information). Also, madvr definitely includes the black bars in its measurement so maxfall (without cropping) will always be lower than it is in reality. see: https://slow.pics/c/pV4NXJMB

BTW, here's my Resolve project for this movie, this will save you a lot of time ;)
https://drive.google.com/drive/u/0/fold ... rHG4XNSy8x

Image
Oh, hey. Just as an FYI if I'm seeing this right, your template had the wrong blanking for scene #705 (frame#72080). Your settings file saved me a bunch of time, just ran through and did a quick double-check and caught that :D .
Good catch, it does need blanking adjustment back to letterboxed for that short scene. ;)

GyulaZ
Posts: 1
Joined: Sat Nov 18, 2023 5:48 pm

Re: Dolby Vision now possible through MP4 Mux.

#9170 Post by GyulaZ » Sat Nov 18, 2023 7:01 pm

Hi Guys,

I would like to request some help in this never ending story I jumped into. :)
Long story short, I have an LG C7, and I've been trying to somehow trigger Dolby Vision playback with the appropriate encoding for the past few weeks.
My problem is that I can't tell what is considered appropriate encoding for my given TV in terms of DV playback, and the internet is full of confusing info.

As it seems, this forum could have the solution for my problem, but I'm unable to find the proper answer for the LG C7 directly, as the search engine ignores short words.

Mainly the movies I have access to, uses the following format:

Video codec: HEVC or x265
Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU
SMPTE ST 2086, HDR10 compatible
Single track single layer

Audio is mostly Dolby Digital, in some cases TrueHD Atmos.

I'm using either the built in player via USB from an external drive, or streaming the content through Plex, the issue is the same in both cases.
I already know that DV playback is not triggered from a mkv container, therefore in this case the movie is played back using the HDR layer only.
Also, when I mux it to a mp4 container DV is recognized, but the playback is not starting at all, only circles going round and round after some error message is shown.

I have tools like ffmpeg, dovi_tool, dvmkv2tomp4, but none of them proved to solve my problem.
Please keep in mind that despite I consider myself to be an IT guy, but this topic is pretty new and confusing to me currently.

I would appreciate is someone could point out that what kind of output or encoding I need exactly to meet the requirements of proper Dolby Vision playback on an LG C7.

Thanks for the help in advance!

valington
Posts: 40
Joined: Tue May 02, 2023 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

#9171 Post by valington » Sun Nov 19, 2023 2:10 pm

RESET_9999 wrote:
Thu Nov 16, 2023 1:11 am
ans40 wrote:
Wed Nov 15, 2023 11:51 pm
Thoughts on using a 2000nit MDL? It has a decent amount of scenes over 1000 nits. 4000 seems excessive though, so I'm between 1000 and 2000nit MDL for Resolve DV analysis. TIA :)
You should update your script, I added more information that makes the decision easier. My initial recommendation was if 95% is under 1000nits , choose 1000nits and for this movie only 2.4% is over 1k. I personally opted for the 1000nits MDL.
But as @skull88 said, we probably should consider the avg_pq too and I'm still thinking about the % (I'm gathering more information). Also, madvr definitely includes the black bars in its measurement so maxfall (without cropping) will always be lower than it is in reality. see: https://slow.pics/c/pV4NXJMB

BTW, here's my Resolve project for this movie, this will save you a lot of time ;)
https://drive.google.com/drive/u/0/fold ... rHG4XNSy8x

Image
Hallo RESET please give me you latest tool s pack

Gatorman
Posts: 79
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

#9172 Post by Gatorman » Sun Nov 19, 2023 6:44 pm

valington wrote:
Sun Nov 19, 2023 2:10 pm
Hallo RESET please give me you latest tool s pack
It's on the GitHub page. https://github.com/R3S3t9999/DoVi_Scripts
More reasons to collect physical media. 2019 Shield TV Pro.

theprower
Posts: 1
Joined: Tue Nov 21, 2023 11:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#9173 Post by theprower » Wed Nov 22, 2023 12:01 am

Hello. So I am pretty new to this. I am currently trying to change my DV rips from profile 7 to 8.1. Of course the first title I tried was the Criterion version of WALL-E. My issue with this is there are different aspect ratios due to the Criterion logo. Is there an easy way to adjust RPU cropping for different aspect ratios? I am using DDVT tool. On a separate topic, how do I know when to crop the RPU in the demuxer? Appreciate any input, A lot of this is currently going over my head as I have only used this to remove DV from some of my rips.

Trees
Posts: 41
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

#9174 Post by Trees » 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:

Code: Select all

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\cm_analyze.exe" --shot-list "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01.scene.cuts.txt" -m 20 -r 24000/1001 --source-format "pq bt2020" --letterbox 0 0 0 0 --analysis-tuning 1  "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01_prores.422.mov" "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01.xml"
Copyright (c) 2013-2023 Dolby Laboratories, Inc. All Rights Reserved
11/23/2023/02:39:26.865000000 CPU:         Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (GenuineIntel) [ mmx sse sse2 sse3 ssse3 sse41 sse42 avx ]
11/23/2023/02:39:27.022000000 cm_analyze: Shot cut detection is disabled when shot list is used
11/23/2023/02:39:27.023000000 cm_analyze:                Source: 'E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01_prores.422.mov'
11/23/2023/02:39:27.024000000 cm_analyze:        Master Display: 1000-nit, P3, D65, ST.2084, Full
11/23/2023/02:39:27.025000000 cm_analyze:              Src Info: '3840x2160x3 u16 interleaved 422 le tight 0-102190 23.976fps top_left pq ycbcr_bt2020 video bt2020'
11/23/2023/02:39:27.026000000 cm_analyze:                Frames: 0 - 102190
11/23/2023/02:39:27.026000000 cm_analyze:            Frame rate: 24000/1001
11/23/2023/02:39:27.027000000 cm_analyze:     Algorithm Version: 4
11/23/2023/02:39:27.027000000 cm_analyze:           XML Version: 4.0.2
11/23/2023/02:39:27.028000000 analysis: analyzing 0 frames
11/23/2023/02:39:27.028000000 cm_analyze: Shot Info Frames: -1 - -1
11/23/2023/02:39:27.051000000 cm_analyze: Metadata aspect ratios: canvas 1.777778e+00, image 1.777778e+00
11/23/2023/02:39:27.055000000 cuda: initializing CUDA
11/23/2023/02:39:27.199000000 cuda: using CUDA version 9.2.0
11/23/2023/02:39:27.200000000 cuda: NVIDIA GeForce GTX 1070: compute 6.1, cores 1920*1771MHz, memory 8191MB
11/23/2023/02:39:27.346000000 stage: ERROR Stage Reader: Could not find chunk for frame -1
11/23/2023/02:39:27.351000000 cm_analyze: Metadata saved to 'E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01.xml'

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\mediainfo.exe" "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv" --output=Video;%Width%\r\n     *.ts *.mp4 *.mkv *.m2ts *.mov *.hevc *.h265 *.avi  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\\Width.txt"

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\mediainfo.exe" "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv" --output=Video;%Height%\r\n     *.ts *.mp4 *.mkv *.m2ts *.mov *.hevc *.h265 *.avi  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\\Height.txt"

E:\Movie_Tools\DoVi_Scripts>for /F "tokens=1 delims=(,)" %x in (E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\\Width.txt) do set Width_path=%x

E:\Movie_Tools\DoVi_Scripts>set Width_path=3840

E:\Movie_Tools\DoVi_Scripts>for /F "tokens=1 delims=(,)" %x in (E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\\Height.txt) do set Height_path=%x

E:\Movie_Tools\DoVi_Scripts>set Height_path=2160

E:\Movie_Tools\DoVi_Scripts>if not "NO" == "NO" set rem_trims=y  & set L2.100=,1

E:\Movie_Tools\DoVi_Scripts>if not "YES" == "NO" set rem_trims=y  & set L2.600=,27,28

E:\Movie_Tools\DoVi_Scripts>if not "YES" == "NO" set rem_trims=y  & set L2.1000=,48,49

E:\Movie_Tools\DoVi_Scripts>if "y" == "y" (
echo Removing L2 trims.
 "E:\Movie_Tools\DoVi_Scripts\tools\metafier.exe"  -o "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01_trims_removed.xml" --remove-trim L2,27,28,48,49 "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01.xml"
 echo Generate RPU from XML
 "E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe" generate --xml "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01_trims_removed.xml" --canvas-width 3840 --canvas-height 2160 --rpu-out "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\rpu.bin"
 set RPU="E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\rpu.bin"
)  ELSE (
"E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe" generate --xml "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01.xml" --canvas-width 3840 --canvas-height 2160 --rpu-out "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\rpu.bin"
 set RPU="E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\rpu.bin"
)
Removing L2 trims.
Copyright (c) 2013-2023 Dolby Laboratories, Inc. All Rights Reserved
11/23/2023/02:39:52.839000000 metafier: Trim to be removed (L2,27) not found in Metadata
11/23/2023/02:39:52.840000000 metafier: Trim to be removed (L2,28) not found in Metadata
11/23/2023/02:39:52.840000000 metafier: Trim to be removed (L2,48) not found in Metadata
11/23/2023/02:39:52.841000000 metafier: Trim to be removed (L2,49) not found in Metadata
11/23/2023/02:39:52.842000000 Metadata: ERROR list of ERRORS/WARNINGS:
=========================
WARNING: Update CMv2.9 metadata using ./metafier --update-cm29-metadata
ERROR: No Shots found
WARNING: No L2 Trims found
WARNING: No L8 Trims found
=========================
11/23/2023/02:39:52.901000000 metafier: ERROR Invalid Metadata
Generate RPU from XML
Parsing XML metadata...
Error: The system cannot find the file specified. (os error 2)

E:\Movie_Tools\DoVi_Scripts>if ".mkv" == ".mov" goto :skipmast

E:\Movie_Tools\DoVi_Scripts>findstr /m "0.0050" "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\masteringDL.txt"  1>Nul

E:\Movie_Tools\DoVi_Scripts>if 1 == 0 set min=50

E:\Movie_Tools\DoVi_Scripts>findstr /m "0.0001" "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\masteringDL.txt"  1>Nul

E:\Movie_Tools\DoVi_Scripts>if 0 == 0 set min=1

E:\Movie_Tools\DoVi_Scripts>findstr /m "0.0020" "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\masteringDL.txt"  1>Nul

E:\Movie_Tools\DoVi_Scripts>if 1 == 0 set min=20

E:\Movie_Tools\DoVi_Scripts>findstr /m "0.0010" "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\masteringDL.txt"  1>Nul

E:\Movie_Tools\DoVi_Scripts>if 1 == 0 set min=10

E:\Movie_Tools\DoVi_Scripts>findstr /m "0.0000" "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\masteringDL.txt"  1>Nul

E:\Movie_Tools\DoVi_Scripts>if 1 == 0 set min=0

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe" info -s "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\rpu.bin"  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\\sum.rpu.json"
Error: The system cannot find the file specified. (os error 2)

E:\Movie_Tools\DoVi_Scripts>type "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\\sum.rpu.json"   | findstr Frames:  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\frames.txt"

E:\Movie_Tools\DoVi_Scripts>type "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\\sum.rpu.json"   | findstr L1  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L1.txt"

E:\Movie_Tools\DoVi_Scripts>FOR /F "tokens=4 delims=(:.)" %T IN (E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L1.txt) DO set maxcll_path=%T

E:\Movie_Tools\DoVi_Scripts>FOR /F "tokens=6 delims=(:.)" %T IN (E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L1.txt) DO set maxfall_path=%T

E:\Movie_Tools\DoVi_Scripts>FOR /F "tokens=2 delims=:" %T IN (E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\frames.txt) DO set frameCount=%T

E:\Movie_Tools\DoVi_Scripts>echo {  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo    "level6": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo        "max_display_mastering_luminance": 1000,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo        "min_display_mastering_luminance": 1,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo        "max_content_light_level": ,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo        "max_frame_average_light_level":   1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo    }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json"

E:\Movie_Tools\DoVi_Scripts>echo.


E:\Movie_Tools\DoVi_Scripts>if "NO" == "YES" set left=0  & set right=0  & set top=0  & set bottom=0

E:\Movie_Tools\DoVi_Scripts>echo {  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>if "NO" == "YES" echo       "remove_cmv4": true,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo    "active_area": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo        "crop": false,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo        "presets": [  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo            {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo                "id": 0,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo                "left": 0,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo                "right": 0,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo                "top": 0,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo                "bottom": 0  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo            }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo        ],  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo        "edits": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo            "all": 0  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo        }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo    }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json"

E:\Movie_Tools\DoVi_Scripts>echo {  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo     "cm_version": "V40",  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo     "length": 102191,  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo     "default_metadata_blocks": [  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             "Level2": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo                 "target_max_pq": 2081  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         },  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             "Level2": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo                "target_max_pq": 2851  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         },  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             "Level2": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo                 "target_max_pq": 3079  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         },  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             "Level3": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         },  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             "Level8": {  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo                "target_display_index": 1  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo             }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo         }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json

E:\Movie_Tools\DoVi_Scripts>echo     ]  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo {  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\overwrite.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo        "source_rpu": "RPU_generated.bin",  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\overwrite.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo        "rpu_levels": [8]  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\overwrite.l2.json"

E:\Movie_Tools\DoVi_Scripts>echo }  1>>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\overwrite.l2.json"

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe" editor -i "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\rpu.bin" -j "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.json" --rpu-out "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.bin"  1>nul
Error: The system cannot find the file specified. (os error 2)

E:\Movie_Tools\DoVi_Scripts>if NOT ["1"] == ["0"] pause
Press any key to continue . . .

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe" editor -i "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L5.bin" -j "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\L6.json" --rpu-out "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\RPU.l5_l6.bin"  1>nul
Error: expected value at line 5 column 35

E:\Movie_Tools\DoVi_Scripts>if NOT ["1"] == ["0"] pause
Press any key to continue . . .

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe" generate -j "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\gen.default.l2.json"  1>nul

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe" editor -i "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\RPU.l5_l6.bin" -j "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\overwrite.l2.json" -o "E:\Movie_Tools\DoVi_Scripts\S01E01_Generated.bin"  1>nul
Error: The system cannot find the file specified. (os error 2)

E:\Movie_Tools\DoVi_Scripts>if NOT ["1"] == ["0"] pause
Press any key to continue . . .

E:\Movie_Tools\DoVi_Scripts>if exist "E:\Movie_Tools\DoVi_Scripts\RPU_generated.bin" del "E:\Movie_Tools\DoVi_Scripts\RPU_generated.bin"

E:\Movie_Tools\DoVi_Scripts>if ".mkv" == ".mov" goto :end

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\dovi_tool.exe"  inject-rpu -i "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\BL.hevc" --rpu-in "E:\Movie_Tools\DoVi_Scripts\S01E01_Generated.bin" -o "E:\Movie_Tools\DoVi_Scripts\S01E01_Generated.hevc"
Parsing RPU file...
Error: The system cannot find the file specified. (os error 2)

E:\Movie_Tools\DoVi_Scripts>if NOT ["1"] == ["0"] pause
Press any key to continue . . .

E:\Movie_Tools\DoVi_Scripts>if "NO" == "YES" if exist "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01_prores.422.mov" move "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S01E01_prores.422.mov" "E:\Movie_Tools\DoVi_Scripts\"

E:\Movie_Tools\DoVi_Scripts>if "" == "y" set job=CM.3  & goto :audioCM

E:\Movie_Tools\DoVi_Scripts>if "MKV" == "TS" if "YES" == "YES" goto :MUX.TO.TS

E:\Movie_Tools\DoVi_Scripts>if "MKV" == "MKV" if "YES" == "YES" goto :MUX.TO.MKV

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\mediainfo.exe" "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv" --output=Video;%FrameRate%\r\n     *.ts *.mp4 *.mkv *.m2ts *.mov *.hevc *.h265 *.avi  1>"E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\Framerate.txt"

E:\Movie_Tools\DoVi_Scripts>for /F "tokens=1 delims=(,)" %x in (E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\Framerate.txt) do set FPS=%x

E:\Movie_Tools\DoVi_Scripts>set FPS=23.976

E:\Movie_Tools\DoVi_Scripts>if "23.976" == "23.976" set FPS=24000/1001p

E:\Movie_Tools\DoVi_Scripts>if "24000/1001p" == "24.000" set FPS=24p

E:\Movie_Tools\DoVi_Scripts>if "24000/1001p" == "25.000" set FPS=25p

E:\Movie_Tools\DoVi_Scripts>if "24000/1001p" == "29.970" set FPS=30000/1001p

E:\Movie_Tools\DoVi_Scripts>if "24000/1001p" == "30.000" set FPS=30p

E:\Movie_Tools\DoVi_Scripts>if "24000/1001p" == "50.000" set FPS=50p

E:\Movie_Tools\DoVi_Scripts>if "24000/1001p" == "59.940" set FPS=60000/1001p

E:\Movie_Tools\DoVi_Scripts>if "24000/1001p" == "60.000" set FPS=60p

E:\Movie_Tools\DoVi_Scripts>if exist "E:\Movie_Tools\DoVi_Scripts\S01E01_7.1.ec3" set DDP=--language 0:en --track-name 0:DDP_7.1 --compression 0:none  "(" "E:\Movie_Tools\DoVi_Scripts\S01E01_7.1.ec3" ")"

E:\Movie_Tools\DoVi_Scripts>if exist "E:\Movie_Tools\DoVi_Scripts\S01E01_EC3.mkv" set DDP=--language 0:en --track-name 0:DDP --compression 0:none "(" "E:\Movie_Tools\DoVi_Scripts\S01E01_EC3.mkv" ")"

E:\Movie_Tools\DoVi_Scripts>"E:\Movie_Tools\DoVi_Scripts\tools\mkvmerge.exe" --output "E:\Movie_Tools\DoVi_Scripts\S01E01_Generated.mkv" --compression 0:none --default-duration 0:24000/1001p "(" "E:\Movie_Tools\DoVi_Scripts\S01E01_Generated.hevc" ")" --no-video "(" "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv" ")"
mkvmerge v79.0 ('Funeral Pyres') 64-bit
Error: The type of file 'E:\Movie_Tools\DoVi_Scripts\S01E01_Generated.hevc' could not be recognized.

E:\Movie_Tools\DoVi_Scripts>if ["2"] == ["0"] (
del "E:\Movie_Tools\DoVi_Scripts\S01E01_Generated.hevc"
 if exist "E:\Movie_Tools\DoVi_Scripts\S01E01_7.1.ec3" del "E:\Movie_Tools\DoVi_Scripts\S01E01_7.1.ec3"
 if exist "E:\Movie_Tools\DoVi_Scripts\S01E01_EC3.mkv" del "E:\Movie_Tools\DoVi_Scripts\S01E01_EC3.mkv"
)

E:\Movie_Tools\DoVi_Scripts>rmdir /Q /S "E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\"

E:\Movie_Tools\DoVi_Scripts>for /L %i in (1 1 31) do (set T%i.Format=  & set T%i.Lang=  & set T%i.Forced=  & set SM%i=  & set T%i.Lang=  & set AUDIO%i=  & set T%i.Delay=  & set delay%i= )

E:\Movie_Tools\DoVi_Scripts>(set T1.Format=  & set T1.Lang=  & set T1.Forced=  & set SM1=  & set T1.Lang=  & set AUDIO1=  & set T1.Delay=  & set delay1= )

E:\Movie_Tools\DoVi_Scripts>(set T2.Format=  & set T2.Lang=  & set T2.Forced=  & set SM2=  & set T2.Lang=  & set AUDIO2=  & set T2.Delay=  & set delay2= )

E:\Movie_Tools\DoVi_Scripts>(set T3.Format=  & set T3.Lang=  & set T3.Forced=  & set SM3=  & set T3.Lang=  & set AUDIO3=  & set T3.Delay=  & set delay3= )

E:\Movie_Tools\DoVi_Scripts>(set T4.Format=  & set T4.Lang=  & set T4.Forced=  & set SM4=  & set T4.Lang=  & set AUDIO4=  & set T4.Delay=  & set delay4= )

E:\Movie_Tools\DoVi_Scripts>(set T5.Format=  & set T5.Lang=  & set T5.Forced=  & set SM5=  & set T5.Lang=  & set AUDIO5=  & set T5.Delay=  & set delay5= )

E:\Movie_Tools\DoVi_Scripts>(set T6.Format=  & set T6.Lang=  & set T6.Forced=  & set SM6=  & set T6.Lang=  & set AUDIO6=  & set T6.Delay=  & set delay6= )

E:\Movie_Tools\DoVi_Scripts>(set T7.Format=  & set T7.Lang=  & set T7.Forced=  & set SM7=  & set T7.Lang=  & set AUDIO7=  & set T7.Delay=  & set delay7= )

E:\Movie_Tools\DoVi_Scripts>(set T8.Format=  & set T8.Lang=  & set T8.Forced=  & set SM8=  & set T8.Lang=  & set AUDIO8=  & set T8.Delay=  & set delay8= )

E:\Movie_Tools\DoVi_Scripts>(set T9.Format=  & set T9.Lang=  & set T9.Forced=  & set SM9=  & set T9.Lang=  & set AUDIO9=  & set T9.Delay=  & set delay9= )

E:\Movie_Tools\DoVi_Scripts>(set T10.Format=  & set T10.Lang=  & set T10.Forced=  & set SM10=  & set T10.Lang=  & set AUDIO10=  & set T10.Delay=  & set delay10= )

E:\Movie_Tools\DoVi_Scripts>(set T11.Format=  & set T11.Lang=  & set T11.Forced=  & set SM11=  & set T11.Lang=  & set AUDIO11=  & set T11.Delay=  & set delay11= )

E:\Movie_Tools\DoVi_Scripts>(set T12.Format=  & set T12.Lang=  & set T12.Forced=  & set SM12=  & set T12.Lang=  & set AUDIO12=  & set T12.Delay=  & set delay12= )

E:\Movie_Tools\DoVi_Scripts>(set T13.Format=  & set T13.Lang=  & set T13.Forced=  & set SM13=  & set T13.Lang=  & set AUDIO13=  & set T13.Delay=  & set delay13= )

E:\Movie_Tools\DoVi_Scripts>(set T14.Format=  & set T14.Lang=  & set T14.Forced=  & set SM14=  & set T14.Lang=  & set AUDIO14=  & set T14.Delay=  & set delay14= )

E:\Movie_Tools\DoVi_Scripts>(set T15.Format=  & set T15.Lang=  & set T15.Forced=  & set SM15=  & set T15.Lang=  & set AUDIO15=  & set T15.Delay=  & set delay15= )

E:\Movie_Tools\DoVi_Scripts>(set T16.Format=  & set T16.Lang=  & set T16.Forced=  & set SM16=  & set T16.Lang=  & set AUDIO16=  & set T16.Delay=  & set delay16= )

E:\Movie_Tools\DoVi_Scripts>(set T17.Format=  & set T17.Lang=  & set T17.Forced=  & set SM17=  & set T17.Lang=  & set AUDIO17=  & set T17.Delay=  & set delay17= )

E:\Movie_Tools\DoVi_Scripts>(set T18.Format=  & set T18.Lang=  & set T18.Forced=  & set SM18=  & set T18.Lang=  & set AUDIO18=  & set T18.Delay=  & set delay18= )

E:\Movie_Tools\DoVi_Scripts>(set T19.Format=  & set T19.Lang=  & set T19.Forced=  & set SM19=  & set T19.Lang=  & set AUDIO19=  & set T19.Delay=  & set delay19= )

E:\Movie_Tools\DoVi_Scripts>(set T20.Format=  & set T20.Lang=  & set T20.Forced=  & set SM20=  & set T20.Lang=  & set AUDIO20=  & set T20.Delay=  & set delay20= )

E:\Movie_Tools\DoVi_Scripts>(set T21.Format=  & set T21.Lang=  & set T21.Forced=  & set SM21=  & set T21.Lang=  & set AUDIO21=  & set T21.Delay=  & set delay21= )

E:\Movie_Tools\DoVi_Scripts>(set T22.Format=  & set T22.Lang=  & set T22.Forced=  & set SM22=  & set T22.Lang=  & set AUDIO22=  & set T22.Delay=  & set delay22= )

E:\Movie_Tools\DoVi_Scripts>(set T23.Format=  & set T23.Lang=  & set T23.Forced=  & set SM23=  & set T23.Lang=  & set AUDIO23=  & set T23.Delay=  & set delay23= )

E:\Movie_Tools\DoVi_Scripts>(set T24.Format=  & set T24.Lang=  & set T24.Forced=  & set SM24=  & set T24.Lang=  & set AUDIO24=  & set T24.Delay=  & set delay24= )

E:\Movie_Tools\DoVi_Scripts>(set T25.Format=  & set T25.Lang=  & set T25.Forced=  & set SM25=  & set T25.Lang=  & set AUDIO25=  & set T25.Delay=  & set delay25= )

E:\Movie_Tools\DoVi_Scripts>(set T26.Format=  & set T26.Lang=  & set T26.Forced=  & set SM26=  & set T26.Lang=  & set AUDIO26=  & set T26.Delay=  & set delay26= )

E:\Movie_Tools\DoVi_Scripts>(set T27.Format=  & set T27.Lang=  & set T27.Forced=  & set SM27=  & set T27.Lang=  & set AUDIO27=  & set T27.Delay=  & set delay27= )

E:\Movie_Tools\DoVi_Scripts>(set T28.Format=  & set T28.Lang=  & set T28.Forced=  & set SM28=  & set T28.Lang=  & set AUDIO28=  & set T28.Delay=  & set delay28= )

E:\Movie_Tools\DoVi_Scripts>(set T29.Format=  & set T29.Lang=  & set T29.Forced=  & set SM29=  & set T29.Lang=  & set AUDIO29=  & set T29.Delay=  & set delay29= )

E:\Movie_Tools\DoVi_Scripts>(set T30.Format=  & set T30.Lang=  & set T30.Forced=  & set SM30=  & set T30.Lang=  & set AUDIO30=  & set T30.Delay=  & set delay30= )

E:\Movie_Tools\DoVi_Scripts>(set T31.Format=  & set T31.Lang=  & set T31.Forced=  & set SM31=  & set T31.Lang=  & set AUDIO31=  & set T31.Delay=  & set delay31= )

E:\Movie_Tools\DoVi_Scripts>set THD=  & set forced=  & set in.ID=  & set ch=  & set FID=  & set ec3.id=  & set count2=  & set DV=  & set Hplus=  & set shot=  & set frameCount=  & set first_line=  & set Height=

E:\Movie_Tools\DoVi_Scripts>setlocal enabledelayedexpansion

E:\Movie_Tools\DoVi_Scripts>for /L %i in (2 1 0) do (if "!f%i!" == "y" set filename1=!filename%i!  & set filepath1=!filepath%i!  & set fileext1=!fileext%i!  & set f%i=n  & goto :loop.CM )

E:\Movie_Tools\DoVi_Scripts>setlocal disabledelayedexpansion

E:\Movie_Tools\DoVi_Scripts>move E:\Movie_Tools\DoVi_Scripts\Files_for_batch\*.bin "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv"  1>Nul 2>&1

E:\Movie_Tools\DoVi_Scripts>move E:\Movie_Tools\DoVi_Scripts\Files_for_batch\*.xml "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv"  1>Nul 2>&1

E:\Movie_Tools\DoVi_Scripts>move E:\Movie_Tools\DoVi_Scripts\Files_for_batch\*.json "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv"  1>Nul 2>&1

E:\Movie_Tools\DoVi_Scripts>move E:\Movie_Tools\DoVi_Scripts\Files_for_batch\*.bat "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv"  1>Nul 2>&1

E:\Movie_Tools\DoVi_Scripts>move E:\Movie_Tools\DoVi_Scripts\Files_for_batch\*.txt "E:\Movie_Tools\DoVi_Scripts\X\Series 1\S01E01.mkv"  1>Nul 2>&1

E:\Movie_Tools\DoVi_Scripts>if exist "E:\Movie_Tools\DoVi_Scripts\Files_for_batch\" rmdir /Q /S  "E:\Movie_Tools\DoVi_Scripts\Files_for_batch\"

E:\Movie_Tools\DoVi_Scripts>echo "the script has been completed, no more files to process..."  & pause   & exit
"the script has been completed, no more files to process..."
Press any key to continue . . .
Any ideas as to what it could be?

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

Re: Dolby Vision now possible through MP4 Mux.

#9175 Post by RESET_9999 » 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?

speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#9176 Post by speeddemon » 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?

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

Re: Dolby Vision now possible through MP4 Mux.

#9177 Post by RESET_9999 » 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?

speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#9178 Post by speeddemon » Thu Nov 23, 2023 9:32 pm

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: 2082
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#9179 Post by RESET_9999 » Thu Nov 23, 2023 10:33 pm

i dont know, try to remove or duplicate the last frame in 2-1-1

speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#9180 Post by speeddemon » Fri Nov 24, 2023 3:52 am

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?

Post Reply