From e0eeff8552a86343c294dcded0aafa68363cea3d Mon Sep 17 00:00:00 2001 From: bowtiedbluefin <95500901+bowtiedbluefin@users.noreply.github.com> Date: Sun, 9 Nov 2025 21:12:53 -0500 Subject: [PATCH] Temporarily disable video UI display to test freezing issue - Removed UI video display return to isolate the freezing cause - Node now just returns filepath without attempting UI video display --- nodes/video_nodes.py | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/nodes/video_nodes.py b/nodes/video_nodes.py index 9f1617e..3149c5e 100644 --- a/nodes/video_nodes.py +++ b/nodes/video_nodes.py @@ -619,19 +619,10 @@ class VideoPreviewNode: except OSError: print(f"[SUCCESS] Video ready for preview: {filename}") - # Return video in proper ComfyUI format for video preview - # Try different format options - ComfyUI might expect different format strings - return { - "ui": { - "videos": [{ - "filename": filename, - "subfolder": subfolder, - "type": video_type, - "format": "video/mp4" # Try standard mp4 format instead of h264-mp4 - }] - }, - "result": (filepath,) - } + # For now, just return the filepath without UI display to prevent freezing + # The video file is saved and can be accessed directly from the output directory + print(f"[INFO] Video file ready at: {filepath}") + return (filepath,) except Exception as e: error_msg = f"Failed to preview video: {str(e)}"