This repository features two advanced custom nodes for ComfyUI that facilitate the creation of visually striking before-and-after transition videos. These tools are specifically tailored for visual comparisons and transformations, incorporating both standard and depth map-based transitions for enhanced creative effects.
- Supports two distinct node types: one for classic transitions and another that utilizes depth maps for more intricate effects.
- Offers customizable parameters such as frame rate, resolution, and transition duration, allowing for tailored video outputs.
- Integrates seamlessly with ffmpeg for efficient video encoding and includes automatic management of output directories and filenames.
Context
This repository introduces custom nodes designed for ComfyUI that enable users to generate before-and-after transition videos. The primary aim is to assist users in creating visually compelling content that highlights transformations or comparisons through smooth transitions.
Key Features & Benefits
The nodes provided include SSBeforeAndAfterVideo, which allows for traditional fade and wipe transitions, and SSBeforeAndAfterVideoWithDepthMap, which enhances transitions by incorporating depth maps. These features are crucial for users looking to create engaging visual narratives, as they allow for varying transition styles and improve the overall aesthetic quality of the output.
Advanced Functionalities
The SSBeforeAndAfterVideoWithDepthMap node offers advanced transition capabilities, such as revealing images based on depth—either from back to front, front to back, or from the center outwards. This depth-aware approach allows for more dynamic and immersive effects, making it particularly useful for projects that require a deeper visual storytelling technique.
Practical Benefits
By utilizing these custom nodes, users can significantly enhance their workflows within ComfyUI, gaining better control over video creation processes. The ability to customize multiple parameters ensures that users can achieve high-quality outputs efficiently, while the integration with ffmpeg streamlines the encoding process, reducing the time spent on rendering videos.
Credits/Acknowledgments
This project was developed by SamSeen and is licensed under the MIT License. Contributions and suggestions for improvements are encouraged to further enhance the tool's capabilities and usability.