diff --git a/README.md b/README.md index 9d436b8..82b7051 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ Interpolates frames from an image batch. Same as Interpolate but processes a single segment of the input. Chain multiple instances with Save nodes between them to bound peak RAM. The model pass-through output forces sequential execution. -#### BIM-VFI Concat Videos +### Tween Concat Videos -Concatenates segment video files into a single video using ffmpeg. Connect from the last Segment Interpolate's model output to ensure it runs after all segments are saved. +Concatenates segment video files into a single video using ffmpeg. Connect from any Segment Interpolate's model output to ensure it runs after all segments are saved. Works with all three models. ### EMA-VFI diff --git a/__init__.py b/__init__.py index 5cc94a4..3293d11 100644 --- a/__init__.py +++ b/__init__.py @@ -38,7 +38,7 @@ def _auto_install_deps(): _auto_install_deps() from .nodes import ( - LoadBIMVFIModel, BIMVFIInterpolate, BIMVFISegmentInterpolate, BIMVFIConcatVideos, + LoadBIMVFIModel, BIMVFIInterpolate, BIMVFISegmentInterpolate, TweenConcatVideos, LoadEMAVFIModel, EMAVFIInterpolate, EMAVFISegmentInterpolate, LoadSGMVFIModel, SGMVFIInterpolate, SGMVFISegmentInterpolate, ) @@ -47,7 +47,7 @@ NODE_CLASS_MAPPINGS = { "LoadBIMVFIModel": LoadBIMVFIModel, "BIMVFIInterpolate": BIMVFIInterpolate, "BIMVFISegmentInterpolate": BIMVFISegmentInterpolate, - "BIMVFIConcatVideos": BIMVFIConcatVideos, + "TweenConcatVideos": TweenConcatVideos, "LoadEMAVFIModel": LoadEMAVFIModel, "EMAVFIInterpolate": EMAVFIInterpolate, "EMAVFISegmentInterpolate": EMAVFISegmentInterpolate, @@ -60,7 +60,7 @@ NODE_DISPLAY_NAME_MAPPINGS = { "LoadBIMVFIModel": "Load BIM-VFI Model", "BIMVFIInterpolate": "BIM-VFI Interpolate", "BIMVFISegmentInterpolate": "BIM-VFI Segment Interpolate", - "BIMVFIConcatVideos": "BIM-VFI Concat Videos", + "TweenConcatVideos": "Tween Concat Videos", "LoadEMAVFIModel": "Load EMA-VFI Model", "EMAVFIInterpolate": "EMA-VFI Interpolate", "EMAVFISegmentInterpolate": "EMA-VFI Segment Interpolate", diff --git a/nodes.py b/nodes.py index fe59495..f7ce273 100644 --- a/nodes.py +++ b/nodes.py @@ -342,7 +342,7 @@ class BIMVFISegmentInterpolate(BIMVFIInterpolate): return (result, model) -class BIMVFIConcatVideos: +class TweenConcatVideos: """Concatenate segment video files into a single video using ffmpeg. Connect the model output from the last Segment Interpolate node to ensure @@ -353,8 +353,8 @@ class BIMVFIConcatVideos: def INPUT_TYPES(cls): return { "required": { - "model": ("BIM_VFI_MODEL", { - "tooltip": "Connect from the last Segment Interpolate's model output. " + "model": ("*", { + "tooltip": "Connect from the last Segment Interpolate's model output (any model type). " "This ensures concatenation runs only after all segments are saved.", }), "output_directory": ("STRING", { @@ -383,7 +383,7 @@ class BIMVFIConcatVideos: RETURN_NAMES = ("video_path",) OUTPUT_NODE = True FUNCTION = "concat" - CATEGORY = "video/BIM-VFI" + CATEGORY = "video/Tween" @staticmethod def _find_ffmpeg():