Save Transparent Video:
The SaveTransparentVideo node is designed to facilitate the export of image batches into video files that maintain alpha channel transparency. This node is particularly beneficial for AI artists and video creators who need to preserve transparency in their visual content, allowing for seamless integration into various projects. It supports three distinct output formats: Animated WebP, which offers good compression and is compatible with web browsers; ProRes 4444 in MOV format, which is ideal for professional compositing in software like DaVinci Resolve and After Effects; and a PNG image sequence, which provides a universal, lossless fallback option. The node intelligently sources alpha transparency from a connected MASK input, the fourth channel of RGBA images, or defaults to a fully opaque setting if neither is available. This flexibility ensures that your video outputs maintain the desired transparency effects, enhancing the quality and versatility of your creative projects.
Save Transparent Video Input Parameters:
images
This parameter accepts a batch of images in the format [N, H, W, C], where N is the number of images, H is the height, W is the width, and C is the number of channels. If C equals 4, the fourth channel is used as the alpha channel unless a MASK is connected. This allows for the preservation of transparency in the output video.
filename_prefix
This parameter specifies the prefix for the output filename. It supports ComfyUI variables such as %date:yyyy-MM-dd%, allowing for dynamic and organized file naming. The default value is "ComfyUI_alpha", which helps in identifying the files generated by this node.
format
This parameter determines the output format of the video. It offers three options: webp for animated WebP with good compression and browser compatibility, mov_prores4444 for lossless ProRes 4444 suitable for compositing, and png_sequence for individual RGBA PNGs. The default format is webp, providing a balance between quality and file size.
fps
This parameter sets the frames per second for the output video. It accepts values ranging from 1.0 to 120.0, with a default of 24.0. Adjusting the FPS can impact the smoothness and playback speed of the video, allowing you to tailor it to your specific needs.
quality
This parameter controls the quality of the output video on a scale from 1 to 100. It primarily affects the lossy quality of WebP outputs and is ignored for PNG and ProRes formats. The default value is 80, which provides a good balance between quality and file size for WebP videos.
Save Transparent Video Output Parameters:
file_path
This output parameter provides the file path of the saved video. It is crucial for locating and accessing the generated video file, allowing you to easily integrate it into your workflow or share it with others.
Save Transparent Video Usage Tips:
- To achieve the best quality for web use, select the
webpformat and adjust thequalityparameter to balance file size and visual fidelity. - For professional video editing, choose the
mov_prores4444format to ensure lossless quality and compatibility with compositing software. - Use the
filename_prefixparameter with ComfyUI variables to organize your output files systematically, making them easier to manage and retrieve.
Save Transparent Video Common Errors and Solutions:
"Invalid image batch format"
- Explanation: This error occurs when the input image batch does not conform to the expected format [N, H, W, C].
- Solution: Ensure that your input images are correctly formatted and include the necessary channels, especially the alpha channel if required.
"Unsupported format selected"
- Explanation: This error indicates that an invalid format option was chosen.
- Solution: Verify that the format parameter is set to one of the supported options:
webp,mov_prores4444, orpng_sequence.
"Alpha channel missing"
- Explanation: This error arises when the node cannot find an alpha channel in the input images or a connected MASK.
- Solution: Check that your images include an alpha channel or connect a MASK input to provide the necessary transparency information.
