How kosinkadink/comfyui-videohelpersuite works
Project type and purpose
• This is a plugin-style extension (“ComfyUI-VideoHelperSuite”) for ComfyUI that adds video and image processing nodes, a minimal web server for previews, and a test framework for node validation. There’s no traditional database; instead it relies on JSON configs and ffmpeg as an external service.
File structure
Top-level
• pyproject.toml, requirements.txt, LICENSE, .github/workflows – build, CI/CD, packaging files
• README.md – high-level overview
• __init__.py – package root
Sub-packages
• videohelpersuite/ – core Python library implementing ComfyUI nodes, helpers, ffmpeg integrations, server.py for advanced previews
• testframework/ – a lightweight test server (server.py) plus JS testRunner for automated node tests in browser
• video_formats/ – JSON files defining ffmpeg command templates for each output format
• web/js/ – static JavaScript assets used by the ComfyUI web UI (VHS.core.js, videoinfo.js)
Tests
• tests/ – JSON test cases and a README for how to run them
Key insights from the README
• Core functionality revolves around four node families: Load Video/Image Sequence, Video Combine, Load Audio, Latent/Image utilities.
• Advanced preview feature uses ffmpeg to generate browser-playable clips on demand via the embedded server.
• Video formats are extensible via JSON configs in video_formats/.
• Testframework spins up a server and uses testRunner.js in a headless or browser environment to validate node behavior against JSON inputs.