15.09.2024, 18:49
The box "Weight" should contain the value of parameter "ref_weight".
As shown in the code "ref_weight" can have the value "refmerge_weight[ref_merge]" or 1.0 if ref_merge = 0.
The problem is that in the GUI is see these values in the box "Threshold" not in the box "Weight".
![[Image: attachment.php?aid=2721]](https://forum.selur.net/attachment.php?aid=2721)
Moreover "ref_merge" should be enabled only when method is in: 0, 1, 2
In the code there is this check:
Dan
As shown in the code "ref_weight" can have the value "refmerge_weight[ref_merge]" or 1.0 if ref_merge = 0.
The problem is that in the GUI is see these values in the box "Threshold" not in the box "Weight".
Moreover "ref_merge" should be enabled only when method is in: 0, 1, 2
In the code there is this check:
if ref_merge > 0 and method > 2:
raise vs.Error("HAVC_deepex: method must be in range [0-2] to be used with ref_merge > 0")
if method in (0, 1, 2):
sc_threshold, sc_frequency = get_sc_props(clip_ref)
if sc_threshold == 0 and sc_frequency == 0:
raise vs.Error("HAVC_deepex: method in (0, 1, 2) but sc_threshold and sc_frequency are not set")
if ref_merge > 0 and sc_frequency != 1:
raise vs.Error("HAVC_deepex: method in (0, 1, 2) and ref_merge > 0 but sc_frequency != 1")
Dan