Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates saving image sequences as videos with customizable parameters for AI artists and video creators.
The DeforumVideoSaveNode is designed to facilitate the process of saving video files generated from a series of images. This node is particularly useful for AI artists who work with animation and video creation, as it allows for the seamless conversion of image sequences into various video formats. The node offers a range of customizable parameters, enabling you to specify the desired video codec, frame rate, pixel format, and quality, among other settings. Additionally, it supports the inclusion of audio tracks and waveform images, providing a comprehensive solution for video production. The primary goal of this node is to streamline the video saving process, ensuring that you can efficiently produce high-quality videos from your creative projects.
This parameter accepts the sequence of images that will be compiled into a video. The images should be provided in a format that the node can process, typically as an array or list of image objects.
This string parameter sets the prefix for the output video file's name. The default value is "Deforum", and you can customize it to suit your project's naming conventions.
This integer parameter defines the frames per second (fps) for the output video. The default value is 24, with a minimum of 1 and a maximum of 10000. Adjusting this value will affect the playback speed of the video.
This parameter specifies the video codec to be used for encoding the video. Available options include "libx265", "libx264", "libvpx-vp9", "libaom-av1", "mpeg4", and "libvpx". The choice of codec can impact the video quality and file size.
This parameter determines the pixel format for the video. Options include "yuv420p", "yuv422p", "yuv444p", "yuvj420p", "yuvj422p", "yuvj444p", "rgb24", "rgba", "nv12", and "nv21". The pixel format affects the color representation and compatibility with different playback devices.
This parameter sets the output video format, with options such as "mp4", "mov", "gif", and "avi". The format you choose will determine the file extension and compatibility with various media players.
This integer parameter controls the quality of the output video, ranging from 1 to 10, with a default value of 10. Higher values result in better video quality but larger file sizes.
This parameter specifies the condition for dumping frames to create the video. Options include "max_frames" and "per_N_frames". This setting determines when the node will compile the images into a video.
This integer parameter works in conjunction with the "dump_by" setting. It defines the number of frames after which the video should be dumped. The default value is 0, with a range from 0 to 4096.
This boolean parameter, when set to True, forces the node to dump the video immediately. The default value is False.
This boolean parameter, when set to True, skips the saving of the video file. The default value is False.
This boolean parameter, when set to True, skips returning the video file as an output. The default value is True.
This boolean parameter enables or disables the preview of the video. The default value is True.
This optional parameter accepts additional frame data specific to Deforum, which can be used to customize the video creation process further.
This optional parameter allows you to include an audio track in the video. The audio should be provided in a compatible format.
This optional parameter accepts an image of the audio waveform, which can be included in the video.
This boolean parameter, when set to True, restores the previous state of the node. The default value is False.
This boolean parameter, when set to True, clears the cache of stored images. The default value is False.
The primary output of this node is the saved video file, which is generated based on the input parameters and settings. The video file will be saved in the specified format and location, ready for playback or further editing.
quality
parameter to a higher value, but be mindful of the resulting file size.fps
parameter to control the playback speed of your video. A higher fps value results in smoother motion.codec
and pixel_format
options to find the best combination for your specific needs and playback devices.audio
and waveform_image
parameters to enhance your video with sound and visual audio representation.dump_every
parameter is set to a value outside the acceptable range.dump_every
value between 0 and 4096.© Copyright 2024 RunComfy. All Rights Reserved.