Hi, I'm kind of new to this script, and every time I try to measure something (HDR10, HDR10Plus or DoVi) I get many errors. I don't know why, since I'm pretty sure I installed all the required py modules. Anyway, this is the log file:
Code: Select all
Drag and drop an MKV HDR10 file and press enter..C:\Muxing\Nobody.2021.2160p.AMZN.WEB-DL.x265.10bit.HDR10Plus.DDP5.1-SWTYBLZ_chunk.mkv
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'C:\TEMP2_folder\BL.hevc'. Container format: HEVC/H.265 elementary stream
Progress: 100%
min: 0.0050 cd/m2, max: 1000 cd/m2
Extracting HDR10plus...
Reading parsed dynamic metadata... Done.
Reordering metadata... Done.
Generating and writing metadata to JSON file... Done.
Reading JSON file..
Plotting graph..
Traceback (most recent call last):
File "C:\Muxing\Tools\Dolby_Vision\DoVi_Scripts\tools\hdr10plus_plot.py", line 97, in <module>
plt.savefig('nits_plot.png', dpi=150)
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 977, in savefig
res = fig.savefig(*args, **kwargs)
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backends\backend_qtagg.py", line 85, in print_figure
super().print_figure(*args, **kwargs)
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backends\backend_agg.py", line 541, in print_png
mpl.image.imsave(
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\image.py", line 1675, in imsave
image.save(fname, **pil_kwargs)
File "C:\Users\leona\AppData\Local\Programs\Python\Python310\lib\site-packages\PIL\Image.py", line 2317, in save
fp = builtins.open(filename, "w+b")
PermissionError: [Errno 13] Permission denied: 'nits_plot.png'
Impossibile trovare il file specificato.
""Nobody.2021.2160p.AMZN.WEB-DL.x265.10bit.HDR10Plus.DDP5.1-SWTYBLZ_chunk_HDR10plus_plot.png"" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
the script has completed...
Premere un tasto per continuare . . .
To be 100% sure I have all the required modules this is my py list:
Code: Select all
Package Version
----------------- -------
astroid 2.12.10
awsmfunc 1.3.2
colorama 0.4.5
colour-science 0.4.1
cycler 0.11.0
dill 0.3.5.1
ffprobe 0.5
fonttools 4.37.1
ijson 3.1.4
imageio 2.21.2
isort 5.10.1
kiwisolver 1.4.4
lazy-object-proxy 1.7.1
matplotlib 3.5.3
mccabe 0.7.0
mypy 0.971
mypy-extensions 0.4.3
numpy 1.23.3
packaging 21.3
Pillow 9.2.0
pip 22.2.2
platformdirs 2.5.2
plotbitrate 1.0.8.0
pylint 2.15.2
pyparsing 3.0.9
PyQt5 5.15.7
PyQt5-Qt5 5.15.2
PyQt5-sip 12.11.0
python-dateutil 2.8.2
scipy 1.9.1
setuptools 63.2.0
six 1.16.0
tomli 2.0.1
tomlkit 0.11.4
typing_extensions 4.3.0
ujson 5.5.0
VapourSynth 60
vs-rekt 1.0.0
vsutil 0.7.0
wheel 0.37.1
wrapt 1.14.1
Could someone help me?