ShotSplitter defaults tuned: adaptive_threshold 3.0->2.0, transnet_threshold 0.5->0.3 (better sensitivity)
Browse files
ComfyUI-ShotSplitter/shot_splitter_node.py
CHANGED
|
@@ -46,8 +46,8 @@ class Oz_ShotSplitter:
|
|
| 46 |
"detector": (["ensemble", "transnet", "pyscenedetect"], {"default": "ensemble"}),
|
| 47 |
"min_shot_seconds": ("FLOAT", {"default": 0.5, "min": 0.1, "max": 10.0, "step": 0.1}),
|
| 48 |
"merge_window_frames": ("INT", {"default": 3, "min": 0, "max": 30}),
|
| 49 |
-
"adaptive_threshold": ("FLOAT", {"default":
|
| 50 |
-
"transnet_threshold": ("FLOAT", {"default": 0.
|
| 51 |
"output_subfolder": ("STRING", {"default": "shots/{source_stem}"}),
|
| 52 |
"filename_prefix": ("STRING", {"default": "shot"}),
|
| 53 |
"crf": ("INT", {"default": 18, "min": 0, "max": 51}),
|
|
|
|
| 46 |
"detector": (["ensemble", "transnet", "pyscenedetect"], {"default": "ensemble"}),
|
| 47 |
"min_shot_seconds": ("FLOAT", {"default": 0.5, "min": 0.1, "max": 10.0, "step": 0.1}),
|
| 48 |
"merge_window_frames": ("INT", {"default": 3, "min": 0, "max": 30}),
|
| 49 |
+
"adaptive_threshold": ("FLOAT", {"default": 2.0, "min": 0.5, "max": 10.0, "step": 0.1}),
|
| 50 |
+
"transnet_threshold": ("FLOAT", {"default": 0.3, "min": 0.1, "max": 0.9, "step": 0.05}),
|
| 51 |
"output_subfolder": ("STRING", {"default": "shots/{source_stem}"}),
|
| 52 |
"filename_prefix": ("STRING", {"default": "shot"}),
|
| 53 |
"crf": ("INT", {"default": 18, "min": 0, "max": 51}),
|