SK-Hardwired/nv_hevc_hdr_patcher

File nvhsp.py line error

Opened this issue · 0 comments

The script keeps failing every time with this error:

Using nvhsp.exe

M:\CONVERTING\nvhsp_w_runtimes>nvhsp.exe -full_range tv -colorprim bt2020 -colormatrix bt2020nc -videoformat unspec -transfer smpte-st-2084 -maxcll 1000,300  -chromaloc 2 -masterdisplay G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) "M:\CONVERTING\pp_15_13_19_8810_01.265" "M:\CONVERTING\pp_15_13_19_8810_15_13_19_8810_02.265
Parsing the infile:

==========================

Prepending SEI data
Starting new SEI NALu...
SEI message with MaxCLL= 1000  and MaxFall= 300  created in SEI NAL
SEI message Mastering Display Data G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) created in SEI NAL
Looking for SPS......... [240]
SPS_Nals_addresses [240]
SPS NAL Size 400
Starting reading SPS NAL contents
Traceback (most recent call last):
  File "nvhsp.py", line 684, in <module>
  File "nvhsp.py", line 428, in main
TypeError: unorderable types: type() < int()
Failed to execute script nvhsp

Using nvhsp.py

Prepending SEI data
Starting new SEI NALu...
SEI message with MaxCLL= 1000  and MaxFall= 400  created in SEI NAL
SEI message Mastering Display Data G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) created in SEI NAL
Looking for SPS......... [240]
SPS_Nals_addresses [240]
SPS NAL Size 416
Starting reading SPS NAL contents
Traceback (most recent call last):
  File "M:\CONVERTING\nvhsp.py", line 684, in <module>
    main()
  File "M:\CONVERTING\nvhsp.py", line 428, in main
    for i in range < (num_long_term_ref_pics_sps):
TypeError: '<' not supported between instances of 'type' and 'int'