Log in

View Full Version : [DoVi_Scripts] Multi-Function Scripts for Dolby Vision processing and a lot more...


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

wyup
1st November 2024, 01:29
Please allow me to disagree. I mean HDR to HDR, although it doesn't change much.
When you convert HDR to SDR, you just compress data present in the source.
When you convert HDR to SDR, you can't fit all HDR range in a narrower SDR range, you have to discard something, so you lose data in the source. You choose your balance from different tonemapping algorithms.
When you go from SDR to HDR, you create/simulate data not in the source.
When upping nits, you just tonemap up the same content, like turning up brightness + contrast, or peak brightness on a tv. In that sense, you create/simulate as much as in HDR to SDR conversion, but you don't lose information. None of these conversions will be the same, but it might be interesting to try turning up the brightness while keeping the original grade as intact as possible. What I think you do with low nit grades like Romulus is tweaking up highlights, which is fine, but I'd just want the same image, only proportionally brighter, because tvs don't let you increase more brightness.

I am not familiar with Staxrip, but fast reading its wiki there are HDR to SDR functions although not HDR to HDR. I can choose from all libplacebo tonemapping options with Rigaya QSVEncC.

tormento
1st November 2024, 11:47
Much better to go for HLG than SDR.

ac777103
3rd November 2024, 11:27
Having run 6-2 and 3-1 on quite a few titles now, I've come across just a couple where the graph produced by 6-2 reports BT2020 in the mastering display info: The Empire Strikes Back and Inside Out 2 UK discs. So I've used the 21 option for 3-1 on these titles, just curious though what the visual significance is of BT2020 vs P3, and if I made the mistake of specifying P3 for these titles how things would change.

Kuler087
3rd November 2024, 12:48
I've never tested if there was any visual difference but I don't think it matters that much.

Black Ops
4th November 2024, 16:30
Might be another bug using Windows 11 24h2. Looks like WMIC is deprecated and only available as a Feature on demand so the disk space check fails since WMIC is not present. Ive got the powershell command below which should calculate the freespace. Seems to run in command prompt (Assuming you set the letterPath variable first). Hopefully the command below should help you incoperate the free space check in the newer version of your scripts.


powershell -command "[math]::Floor((Get-WmiObject Win32_LogicalDisk -Filter "DeviceID='%letterpath%'").FreeSpace / 1GB)"

Kuler087
4th November 2024, 16:59
my win11 pc didnt get that update yet. I'll check it out

Black Ops
7th November 2024, 10:28
Is there any way to completely automate the workflow to generate hdr10+ metadata and inject it into the original. The davanci side of stuff (Scene Detect, Output blanking and generating hdr10+ metadata and export). Are there any 3rd party CLI tools that can automate this side of the workflow?

It gets quite tiresome to do this for multiple episodes of a TV show. In my case, i do this because my samsung qn90c 50 inch TV doesn't have dolby vision so HDR content is dimmed abit too much since it tonemaps the input based on MAXDML.

Kuler087
7th November 2024, 12:46
No, I don't think so.

Black Ops
7th November 2024, 13:38
I guess if I can’t automate it. Is there any way to stop the TV from tone mapping hdr10 unceccesarily and display a more 1:1 image?

Kuler087
7th November 2024, 14:09
With Dolby Vision content (generated or original), you can do that with LLDV and a high edid but if you have a bright TV (1000+), you need to find a cmv4.0 player because all the 2.9 players have a bug with lldv (https://docs.google.com/spreadsheets/d/1jBIGF8XTVi9VmDBZ8a5hEyongYMCDlUiLHU9n1f_S74/edit?gid=1222148710#gid=1222148710) and edid higher than 1000nits. If your TV is less than 1000nits, then the Ugoos AM6B+ is the perfect solution for any HDR10/HDR10plus display since it has a built-in edid injector and supports 12-bit FEL decoding as a bonus... Unfortunately, cmv4.0 is not supported in lldv on the ugoos but it supports everything else.

ATV and Shield support cmv4.0 LLDV but they require expensive HDfury products to force LLDV and don't support 12-bit FEL.

lemaireus
10th November 2024, 06:06
I made the move from 3.0.2 to 3.0.3 last week and have run into a couple of issues.

Each time I try to launch the GUI, I get an error "Windows cannot find 'pythonw' ". I rolled back my Python installation from 3.13 to 3.12.6 but that hasn't helped. I probably need to show the Python installation directory to DoVi_Scripts. How do I do that?

Also, how do I show DoVi_Scripts the path to my Dolby Encoding Engine and Dolby Vision Professional Tools installation directories?

I've copied the Python, DEE, and Dolby Vision tools folders into the 'tools' folder of DoVi_scripts, but that has not resolved the issue.

Kuler087
10th November 2024, 14:23
Each time I try to launch the GUI, I get an error "Windows cannot find 'pythonw' "

open a cli window and type: pip install pythonw

how do I show DoVi_Scripts the path to my Dolby Encoding Engine
path to dee is around lines 330 for the cli version
for the GUI version, its in tools\SETTINGS_GUI.bat

Dolby Vision Professional Tools installation directories

just put the exe in the tools folder without renaming it. You can also edit the path around lines: 338
for the GUI version, its in tools\SETTINGS_GUI.bat

lemaireus
10th November 2024, 17:07
open a cli window and type: pip install pythonw

Thank you, Kuler. The DEE issue is resolved now, and I've also added the Dolby Vision .exe files in the tools folder without renaming them.

Alas, the 'pythonw' issue remains. I and not familiar with CLI. Tried using the command prompt window to install Pythonw but failed. :(

The strange thing is that I wasn't getting the pythonw error while I was using DoVi_scripts 3.0.2.

Anyway, I'll let it rest at that for the moment. I'll stick to using DoVi_Scripts for 7.1 audio transcoding and that is working fine.

Thank you for helping out.

Kuler087
10th November 2024, 17:12
Strange. You could also try installing Python from the Windows Store.
The GUI should work with the default Python libraries but some workflows do require installing the libraries listed in the DS github page

lemaireus
11th November 2024, 16:28
Strange. You could also try installing Python from the Windows Store.

Strange indeed. I had initially installed Python from the link that you shared on the github page and I continued to get the missing 'pythonw'
message each time I tried launching the GUI.

I followed your suggestion and installed Python 3.13 from the Windows store, without uninstalling 3.12, and now everything works. DoVi_Scripts no longer flashes the missing 'pythonw' message and the GUI launches as it should. I should probably go ahead and uninstall Python 3.12 but since everything is working as it should, I am a little hesitant at the moment. :)

Anyhow, I finally have everything going. Thank you, once again!

Kuler087
11th November 2024, 16:30
Glad it worked. I'll add the info on the github page.
PS keep both python installations.

lemaireus
11th November 2024, 16:31
Uninstalled Python 3.12 and the GUI continues to launch flawlessly.

lemaireus
11th November 2024, 16:33
Glad it worked. I'll add the info on the github page.
PS keep both python installations.

Had uninstalled by the time a page refresh brought your message to my notice. No problem thus far, though. The GUI works with Python 3.13 installed from the Windows store.

Kuler087
11th November 2024, 16:44
all good then. If you notice that other workflows are not working, just re-install it. I think the heatmap and gamut workflow(7-3) requires it.

lemaireus
11th November 2024, 16:47
all good then. If you notice that other workflows are not working, just re-install it. I think the heatmap and gamut workflow(7-3) requires it.

Sure, will do. Thank you!

ac777103
14th November 2024, 20:39
I've been using auto L5 without issue for many titles processed via 3-1. My rip of Bladerunner Final Cut gives crazy values though. Is there a recommended way around this?

Kuler087
14th November 2024, 20:48
yeah ''auto-L5 '' is never ideal and can sometimes output crazy values. It's always better / more accurate to measure the letterbox manually.

FYI, the correct L5 values for this movie is: 0,0,280,280

https://i.ibb.co/F8XHYsZ/Capture-d-cran-2024-11-14-144658.png

ac777103
14th November 2024, 20:55
many thanks.

ac777103
16th November 2024, 10:58
forgot to ask, which program do you use for measuring the letterbox manually?

Kuler087
16th November 2024, 12:53
avspmod, workflow 6-1

ac777103
17th November 2024, 18:05
I've used 6-2 without problem on around 60 UHD disc rips now, but have encountered a problem with Pacific Rim (UK release). It gets very close to the end and then there is an error about an incomplete file having been produced, and it crashes out. I thought there might be an issue with the rip so re-ripped with latest makemkv 1.17.8, and got the same error. Any ideas? There is nothing changing in the set up or file location, this one title persistently fails. I suppose a third party RPU could be injected, but puzzled as to what is happening here.

Kuler087
17th November 2024, 18:28
Yes, some rips might fail to be measured with madvr. It usually happens with TS/M2TS input but I've seen it too with some MKV rip on rare occasions and I don't think there's anything we can do about it. As a workaround, you can crop and enable prores around line 182: set crop.prores62=YES
My US mkv rip works fine for this movie though.

https://i.ibb.co/s23qsT1/Pacific-Rim-2013-BD-HDR-plot.png

ac777103
17th November 2024, 18:51
thanks, so could it be worth me ripping to a full disc backup, and then trying 6-2 using the TS bat file?

Kuler087
17th November 2024, 19:00
Yes, you could try the original M2TS.

The TS/MP4 or MKV bat files are all the same scripts. The .bat filename just determines the preferred container for muxing. It's not a script issue anyway.

Atari1971
18th November 2024, 21:51
processing..."Pirates of the Caribbean.mkv"

Reading input tracks format/id/language...
Done.


====================
- DEMUXING -
====================

Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'E:\temp.folder92\hdr.hevc'. Container format: HEVC/H.265 elementary stream
Extracting track 1 with the CodecID 'A_TRUEHD' to the file 'E:\temp.folder92\Pirates of the Caribbean.track_2_eng.thd'. Container format: TrueHD
Extracting track 2 with the CodecID 'A_EAC3' to the file 'E:\temp.folder92\Pirates of the Caribbean.track_3_fre.ac3'. Container format: Dolby Digital Plus (E-AC-3)
Extracting track 3 with the CodecID 'S_HDMV/PGS' to the file 'E:\temp.folder92\Pirates of the Caribbean.track_4_fre.sup'. Container format: SUP
Extracting track 4 with the CodecID 'S_HDMV/PGS' to the file 'E:\temp.folder92\Pirates of the Caribbean.track_5_fre.sup'. Container format: SUP
Progress: 0%
Progress: 1%
Progress: 2%
Progress: 3%
Progress: 4%
Progress: 5%
Progress: 6%
Progress: 7%
Progress: 8%
Progress: 9%
Progress: 10%
Progress: 11%
Progress: 12%
Progress: 13%
Progress: 14%
Progress: 15%
Progress: 16%
Progress: 17%
Progress: 18%
Progress: 19%
Progress: 20%
Progress: 21%
Progress: 22%
Progress: 23%
Progress: 24%
Progress: 25%
Progress: 26%
Progress: 27%
Progress: 28%
Progress: 29%
Progress: 30%
Progress: 31%
Progress: 32%
Progress: 33%
Progress: 34%
Progress: 35%
Progress: 36%
Progress: 37%
Progress: 38%
Progress: 39%
Progress: 40%
Progress: 41%
Progress: 42%
Progress: 43%
Progress: 44%
Progress: 45%
Progress: 46%
Progress: 47%
Progress: 48%
Progress: 49%
Progress: 50%
Progress: 51%
Progress: 52%
Progress: 53%
Progress: 54%
Progress: 55%
Progress: 56%
Progress: 57%
Progress: 58%
Progress: 59%
Progress: 60%
Progress: 61%
Progress: 62%
Progress: 63%
Progress: 64%
Progress: 65%
Progress: 66%
Progress: 67%
Progress: 68%
Progress: 69%
Progress: 70%
Progress: 71%
Progress: 72%
Progress: 73%
Progress: 74%
Progress: 75%
Progress: 76%
Progress: 77%
Progress: 78%
Progress: 79%
Progress: 80%
Progress: 81%
Progress: 82%
Progress: 83%
Progress: 84%
Progress: 85%
Progress: 86%
Progress: 87%
Progress: 88%
Progress: 89%
Progress: 90%
Progress: 91%
Progress: 92%
Progress: 93%
Progress: 94%
Progress: 95%
Progress: 96%
Progress: 97%
Progress: 98%
Progress: 99%
Progress: 100%
Could not retrieve IMeasureHDR interface.

Generating DoVi from a MadVR measurement file...
Reading generate config file...
Parsing madVR measurement file...
Error: Le fichier spécifié est introuvable. (os error 2)
Done.

Stack backtrace:
0: std::backtrace::Backtrace::create
1: std::backtrace::Backtrace::capture
2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from

3: madvr_parse::MadVRMeasurements::parse_file
4: dovi_tool::dovi::generator::Generator::generate
5: dovi_tool::main
6: std::sys_common::backtrace::__rust_begin_short_backtrace
7: std::rt::lang_start::{{closure}}
8: std::rt::lang_start_internal
9: main
10: __tmainCRTStartup
11: mainCRTStartup
12: <unknown>
13: <unknown>
Editing L5 (active area) to left=0, right= 0, top= 262, bottom= 262
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
Appuyez sur une touche pour continuer...
0: std::backtrace::Backtrace::create
Done.
1: std::backtrace::Backtrace::capture

2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
3: dolby_vision::rpu::utils::parse_rpu_file
4: dovi_tool::dovi::editor::Editor::edit
5: dovi_tool::main
6: std::sys_common::backtrace::__rust_begin_short_backtrace
7: std::rt::lang_start::{{closure}}
8: std::rt::lang_start_internal
9: main
10: __tmainCRTStartup
11: mainCRTStartup
12: <unknown>
13: <unknown>
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Editing L6 to MDL= 50/50, MaxCLL/FALL= 0/0
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
Appuyez sur une touche pour continuer...
0: std::backtrace::Backtrace::create
Done.
1: std::backtrace::Backtrace::capture

2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from

3: dolby_vision::rpu::utils::parse_rpu_file
4: dovi_tool::dovi::editor::Editor::edit
5: dovi_tool::main
6: std::sys_common::backtrace::__rust_begin_short_backtrace
7: std::rt::lang_start::{{closure}}
8: std::rt::lang_start_internal
9: main
10: __tmainCRTStartup
11: mainCRTStartup
12: <unknown>
================
13: <unknown>
- INJECTING DV -
================

Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
Appuyez sur une touche pour continuer...
0: std::backtrace::Backtrace::create
1: std::backtrace::Backtrace::capture
2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
3: dolby_vision::rpu::utils::parse_rpu_file
4: dovi_tool::dovi::rpu_injector::RpuInjector::inject_rpu
5: dovi_tool::main
6: std::sys_common::backtrace::__rust_begin_short_backtrace
7: std::rt::lang_start::{{closure}}
8: std::rt::lang_start_internal
9: main
10: __tmainCRTStartup
11: mainCRTStartup
12: <unknown>
13: <unknown>

=================
- MUXING TO MKV -
=================

mkvmerge v88.0 ('All I Know') 64-bit
Error: The type of file 'E:\Pirates of the Caribbean_DV.hevc' could not be recognized.
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
Parsing RPU file...
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
Parsing RPU file...
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder92\full.json
Le fichier sp‚cifi‚ est introuvable.
Le fichier sp‚cifi‚ est introuvable.
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

L5 Left offset: 0
Stack backtrace:
L5 Right offset: 0
0: <unknown>
L5 Top offset: 262
1: <unknown>
L5 Bottom offset: 262
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
1st Frame is a Scene Cut: NO
12: RtlUserThreadStart
Consecutive Scene Cuts: NO (good)
Deleting TEMP folder...

Start time: 21:34:47,31
End time: 21:47:48,72
Time taken: 0:13:01

"The script has been completed..."

Process finished.

Good evening. I always have these errors, whether in madvr DV encoding or original DV encoding. This code is from Dovi_Script GUI V1.0.0 BETA, but same code with DoVi_Scripts_MKV...:angry:

Kuler087
18th November 2024, 22:09
Looks like you did not install madvr or you're using an old non-beta version.
I believe madmeasureHDR.exe works only with the beta builds so go to the tools/madvr folder and click with admin rights on the install bat.

Also, make sure that you have installed lavfilters.

Atari1971
19th November 2024, 10:25
THANKS. It works with madvr, but original dolby encoding does not work. I installed all the apps, as well as "Dolby_Vision_Professional_Tools_v5.5.0"...

Kuler087
19th November 2024, 12:51
you have to put the .exe in the tools folder without renaming them.

Atari1971
19th November 2024, 12:56
I put all the .exe from the dolby folder into the tools folder. It doesn't work

Kuler087
19th November 2024, 13:06
show me the logs, it sure works.

https://i.ibb.co/fFqbYdC/Windows-Terminal-6o-Tm0-Kcmej.gif

https://i.ibb.co/H2cDHR0/pythonw-OVInlts-HNS.gif

Atari1971
19th November 2024, 13:54
Processing: "Pirates of the Caribbean - Dead Man's Chest.mkv"

Reading input tracks format/id/language...
Done.
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'E:\temp.folder77\BL.hevc'. Container format: HEVC/H.265 elementary stream
Progress: 0%
Progress: 1%
Progress: 2%
Progress: 3%
Progress: 4%
Progress: 5%
Progress: 6%
Progress: 7%
Progress: 8%
Progress: 9%
Progress: 10%
Progress: 11%
Progress: 12%
Progress: 13%
Progress: 14%
Progress: 15%
Progress: 16%
Progress: 17%
Progress: 18%
Progress: 19%
Progress: 20%
Progress: 21%
Progress: 22%
Progress: 23%
Progress: 24%
Progress: 25%
Progress: 26%
Progress: 27%
Progress: 28%
Progress: 29%
Progress: 30%
Progress: 31%
Progress: 32%
Progress: 33%
Progress: 34%
Progress: 35%
Progress: 36%
Progress: 37%
Progress: 38%
Progress: 39%
Progress: 40%
Progress: 41%
Progress: 42%
Progress: 43%
Progress: 44%
Progress: 45%
Progress: 46%
Progress: 47%
Progress: 48%
Progress: 49%
Progress: 50%
Progress: 51%
Progress: 52%
Progress: 53%
Progress: 54%
Progress: 55%
Progress: 56%
Progress: 57%
Progress: 58%
Progress: 59%
Progress: 60%
Progress: 61%
Progress: 62%
Progress: 63%
Progress: 64%
Progress: 65%
Progress: 66%
Progress: 67%
Progress: 68%
Progress: 69%
Progress: 70%
Progress: 71%
Progress: 72%
Progress: 73%
Progress: 74%
Progress: 75%
Progress: 76%
Progress: 77%
Progress: 78%
Progress: 79%
Progress: 80%
Progress: 81%
Progress: 82%
Progress: 83%
Progress: 84%
Progress: 85%
Progress: 86%
Progress: 87%
Progress: 88%
Progress: 89%
Progress: 90%
Progress: 91%
Progress: 92%
Progress: 93%
Progress: 94%
Progress: 95%
Progress: 96%
Progress: 97%
Progress: 98%
Progress: 99%
Progress: 100%
Measuring video file "E:\Pirates of the Caribbean - Dead Man's Chest.mkv" using D3D11 (native)...
0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99%100%Metadata:
Mastering display luminance: 0.005/4000, gamut: 0.68 0.32, 0.15 0.06, 0.265 0.69, 0.3127 0.329
MaxCLL: 0, MaxFALL: 0 nits
Measurements:
Frames: 216724, MaxCLL 100%: 451, 99.9%: 369, MaxFALL: 175, AvgFALL: 12, AvgFMLL: 106 nits
Reading generate config file...
Parsing madVR measurement file...
Generating metadata: Profile 8.1 (HDR10)...
Generated metadata for 216724 frames
Done.
1 fichier(s) d‚plac‚(s).
Parsing RPU file...
Exporting scenes list...
Done.
Indexing, please wait... 0%
Indexing, please wait... 1%
Indexing, please wait... 2%
Indexing, please wait... 3%
Indexing, please wait... 4%
Indexing, please wait... 5%
Indexing, please wait... 6%
Indexing, please wait... 7%
Indexing, please wait... 8%
Indexing, please wait... 9%
Indexing, please wait... 10%
Indexing, please wait... 11%
Indexing, please wait... 12%
Indexing, please wait... 13%
Indexing, please wait... 14%
Indexing, please wait... 15%
Indexing, please wait... 16%
Indexing, please wait... 17%
Indexing, please wait... 18%
Indexing, please wait... 19%
Indexing, please wait... 20%
Indexing, please wait... 21%
Indexing, please wait... 22%
Indexing, please wait... 23%
Indexing, please wait... 24%
Indexing, please wait... 25%
Indexing, please wait... 26%
Indexing, please wait... 27%
Indexing, please wait... 28%
Indexing, please wait... 29%
Indexing, please wait... 30%
Indexing, please wait... 31%
Indexing, please wait... 32%
Indexing, please wait... 33%
Indexing, please wait... 34%
Indexing, please wait... 35%
Indexing, please wait... 36%
Indexing, please wait... 37%
Indexing, please wait... 38%
Indexing, please wait... 39%
Indexing, please wait... 40%
Indexing, please wait... 41%
Indexing, please wait... 42%
Indexing, please wait... 43%
Indexing, please wait... 44%
Indexing, please wait... 45%
Indexing, please wait... 46%
Indexing, please wait... 47%
Indexing, please wait... 48%
Indexing, please wait... 49%
Indexing, please wait... 50%
Indexing, please wait... 51%
Indexing, please wait... 52%
Indexing, please wait... 53%
Indexing, please wait... 54%
Indexing, please wait... 55%
Indexing, please wait... 56%
Indexing, please wait... 57%
Indexing, please wait... 58%
Indexing, please wait... 59%
Indexing, please wait... 60%
Indexing, please wait... 61%
Indexing, please wait... 62%
Indexing, please wait... 63%
Indexing, please wait... 64%
Indexing, please wait... 65%
Indexing, please wait... 66%
Indexing, please wait... 67%
Indexing, please wait... 68%
Indexing, please wait... 69%
Indexing, please wait... 70%
Indexing, please wait... 71%
Indexing, please wait... 72%
Indexing, please wait... 73%
Indexing, please wait... 74%
Indexing, please wait... 75%
Indexing, please wait... 76%
Indexing, please wait... 77%
Indexing, please wait... 78%
Indexing, please wait... 79%
Indexing, please wait... 80%
Indexing, please wait... 81%
Indexing, please wait... 82%
Indexing, please wait... 83%
Indexing, please wait... 84%
Indexing, please wait... 85%
Indexing, please wait... 86%
Indexing, please wait... 87%
Indexing, please wait... 88%
Indexing, please wait... 89%
Indexing, please wait... 90%
Indexing, please wait... 91%
Indexing, please wait... 92%
Indexing, please wait... 93%
Indexing, please wait... 94%
Indexing, please wait... 95%
Indexing, please wait... 96%
Indexing, please wait... 97%
Indexing, please wait... 98%
Indexing, please wait... 99%
Indexing, please wait... 100%

Writing index... done.
Encoding to prores, you need at least 300gb of free HDD space...
[in#0 @ 0000028ae7f3c680] Error opening input: Unknown error occurred
Error opening input file E:\temp.folder77\script.avs.
Error opening input files: Unknown error occurred
Generating Dolby Vision with CM_Analyze...
Copyright (c) 2013-2024 Dolby Laboratories, Inc. All Rights Reserved
11/19/2024/13:50:39.521000000 CPU: 13th Gen Intel(R) Core(TM) i9-13900KF (GenuineIntel) [ mmx sse sse2 sse3 ssse3 sse41 sse42 avx avx2 fma ]
11/19/2024/13:50:39.546000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.597000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.652000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.666000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.689000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.724000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.743000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.798000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
11/19/2024/13:50:39.799000000 cm_analyze: ERROR Unable Open Sequence 'file:///E:/temp.folder77/Pirates of the Caribbean - Dead Man's Chest_prores.422.mov'. Check file permissions are/or existence
Parsing XML metadata...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Fichier introuvable - Pirates of the Caribbean - Dead Man's Chest_DV.xml
Le fichier sp‚cifi‚ est introuvable.
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Reading generate config file...
Error: invalid type: null, expected usize at line 3 column 18

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: BaseThreadInitThunk
11: RtlUserThreadStart
Error: expected value at line 21 column 36

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
Parsing RPU file...
6: <unknown>
7: <unknown>
Appuyez sur une touche pour continuer...
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)


Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
=================
- MUXING TO MKV -
=================

mkvmerge v88.0 ('All I Know') 64-bit
Error: The type of file 'E:\Pirates of the Caribbean - Dead Man's Chest_Generated.hevc' could not be recognized.
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
Parsing RPU file...
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
Le fichier sp‚cifi‚ est introuvable.
Le fichier sp‚cifi‚ est introuvable.
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
L5 Left offset: 0
0: <unknown>
L5 Right offset: 0
1: <unknown>
L5 Top offset: 280
2: <unknown>
L5 Bottom offset: 280
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
1st Frame is a Scene Cut: NO
Consecutive Scene Cuts: NO (good)
Deleting TEMP folder...

Start time: 13:15:06,25
End time: 13:50:40,95
Time taken: 0:35:34

"The script has been completed..."

Process finished.

Kuler087
19th November 2024, 14:08
it looks like you did not install avisynth plus.. please read the installation instructions or watch the installation video tutorial.

Atari1971
19th November 2024, 14:13
I watched the tutorial and installed all the requested apps

Kuler087
19th November 2024, 14:26
well the error your getting is because of your avisynthplus installation. It's on your end so I cant help you more.

Atari1971
19th November 2024, 15:01
THANKS. I actually reinstalled avisynth+. It seems to work. To encode with the Dolby encoder, you have to click the Generate CM button?

Kuler087
19th November 2024, 15:07
Yes CM = Dolby CM_Analyze.exe

Atari1971
19th November 2024, 15:10
thanks :)

Atari1971
19th November 2024, 16:13
Frame 0 complete
Frame 1 complete. Last frame: 0.054 seconds. ETA: 3:16:43.113
Frame 2 complete. Last frame: 0.232 seconds. ETA: 8:37:30.592
Frame 3 complete. Last frame: 0.136 seconds. ETA: 8:29:20.554
Frame 4 complete. Last frame: 0.188 seconds. ETA: 9:12:17.147
Frame 5 complete. Last frame: 0.174 seconds. ETA: 9:27:52.533
Frame 6 complete. Last frame: 0.187 seconds. ETA: 9:45:52.725
Frame 7 complete. Last frame: 0.182 seconds. ETA: 9:56:07.458
Frame 8 complete. Last frame: 0.202 seconds. ETA: 10:13:10.378
Frame 9 complete. Last frame: 0.191 seconds. ETA: 10:21:46.953
Frame 10 complete. Last frame: 0.202 seconds. ETA: 10:32:54.900
Frame 11 complete. Last frame: 0.132 seconds. ETA: 10:18:58.743
Frame 12 complete. Last frame: 0.227 seconds. ETA: 10:36:00.838
Frame 13 complete. Last frame: 0.127 seconds. ETA: 10:22:30.135
Frame 14 complete. Last frame: 0.220 seconds. ETA: 10:34:56.544
Frame 15 complete. Last frame: 0.181 seconds. ETA: 10:36:21.652
Frame 16 complete. Last frame: 0.166 seconds. ETA: 10:34:07.925
Frame 17 complete. Last frame: 0.133 seconds. ETA: 10:25:14.715
Frame 18 complete. Last frame: 0.224 seconds. ETA: 10:35:36.961
Frame 19 complete. Last frame: 0.251 seconds. ETA: 10:50:02.089
Frame 20 complete. Last frame: 0.054 seconds. ETA: 10:27:21.126
Frame 21 complete. Last frame: 0.185 seconds. ETA: 10:29:22.253
Frame 22 complete. Last frame: 0.186 seconds. ETA: 10:31:24.476
Frame 23 complete. Last frame: 0.163 seconds. ETA: 10:29:37.631
Frame 24 complete. Last frame: 0.279 seconds. ETA: 10:45:28.364
Frame 25 complete. Last frame: 0.063 seconds. ETA: 10:28:52.183
Frame 26 complete. Last frame: 0.174 seconds. ETA: 10:28:53.281
Frame 27 complete. Last frame: 0.192 seconds. ETA: 10:31:17.690
Frame 28 complete. Last frame: 0.176 seconds. ETA: 10:31:28.664
Frame 29 complete. Last frame: 0.172 seconds. ETA: 10:31:10.564
Frame 30 complete. Last frame: 0.205 seconds. ETA: 10:34:49.443
Frame 31 complete. Last frame: 0.141 seconds. ETA: 10:30:52.869
Frame 32 complete. Last frame: 0.221 seconds. ETA: 10:36:10.079
Frame 33 complete. Last frame: 0.137 seconds. ETA: 10:31:56.028
Frame 34 complete. Last frame: 0.232 seconds. ETA: 10:38:03.707
Frame 35 complete. Last frame: 0.130 seconds. ETA: 10:33:15.788
Frame 36 complete. Last frame: 0.221 seconds. ETA: 10:37:50.565
Frame 37 complete. Last frame: 0.177 seconds. ETA: 10:37:58.196
Parsing XML metadata...
Frame 38 complete. Last frame: 0.129 seconds. ETA: 10:33:31.914
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Fichier introuvable - Pirates of the Caribbean - Dead Man's Chest_DV.xml
Le fichier sp‚cifi‚ est introuvable.
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Reading generate config file...
Generating metadata: Profile 8.1 (HDR10)...
Generated metadata for 216724 frames
Done.
Error: expected value at line 21 column 36

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
Appuyez sur une touche pour continuer...
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart

=================
- MUXING TO MKV -
=================

mkvmerge v88.0 ('All I Know') 64-bit
Error: The type of file 'E:\Pirates of the Caribbean - Dead Man's Chest_Generated.hevc' could not be recognized.
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
Parsing RPU file...
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
Parsing RPU file...
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)

Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
FINDSTR*: Impossible d’ouvrir E:\temp.folder77\full.json
Le fichier sp‚cifi‚ est introuvable.
Le fichier sp‚cifi‚ est introuvable.
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)
L5 Left offset: 0

L5 Right offset: 0
Stack backtrace:
L5 Top offset: 280
0: <unknown>
L5 Bottom offset: 280
1: <unknown>
2: <unknown>
3: <unknown>
1st Frame is a Scene Cut: NO
4: <unknown>
5: <unknown>
Consecutive Scene Cuts: NO (good)
6: <unknown>
Deleting TEMP folder...
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart

Start time: 14:17:20,82
End time: 16:04:10,77
Time taken: 1:46:50

"The script has been completed..."

Process finished.



I'm sorry, but I have a new error...

Kuler087
19th November 2024, 16:34
no idea but it's on your end. Your input is only 38 frames?

Atari1971
19th November 2024, 16:42
No, 216686 frames

Kuler087
19th November 2024, 16:50
then it sounds like cm_analyze crashed. I have this issue too but only on my Windows 11 PC, so there's nothing we can do about it since it seems CM just doesn't like win11.
It crashes after about 15 000frames on my end. You could open a ticket on the Dolby forum.

Atari1971
19th November 2024, 16:53
Ah OK :). What is the difference between MadVR and Dolby encoding?

Kuler087
19th November 2024, 17:10
Dolby is the official way to generate the metadata. Madvr generates the metadata the same way but it calculates the average brightness quite differently and can introduce brightness instability between shots.

As a workaround to CM, you can use Resolve (https://www.youtube.com/watch?v=FVSh3oGqfXY).

Atari1971
19th November 2024, 17:18
All right. Is there a tutorial for using an HDR10 file in Resolve and exporting the Dolby XML file?

Kuler087
19th November 2024, 17:25
yes click on the link i just gave you