Visit ComfyUI Online for ready-to-use ComfyUI environment
Extract individual frames from video files, save as images for AI artists to analyze, manipulate, and use in creative projects.
The Video Dump Frames node is designed to extract individual frames from a video file and save them as image files. This node is particularly useful for AI artists who need to analyze, manipulate, or use specific frames from a video in their creative projects. By converting video frames into image files, you can easily access and edit each frame using image editing tools or incorporate them into other workflows. The node leverages the powerful ffmpeg
library to handle video processing, ensuring compatibility with a wide range of video formats and providing high-quality frame extraction.
This parameter specifies the path to the video file from which frames will be extracted. It is essential to provide the correct path to ensure the node can locate and process the video. The video file should be in a format supported by ffmpeg
.
This parameter defines the directory where the extracted frames will be saved. If not specified, the default path is set to ./ComfyUI/input/frames
. Ensure the directory exists or can be created by the node to avoid errors.
This parameter allows you to set a prefix for the filenames of the extracted frames. The default value is frame_
. This prefix helps in organizing and identifying the frames, especially when dealing with multiple videos or large numbers of frames.
This parameter specifies the file extension for the extracted frames. The default value is png
, but you can choose other formats like jpg
or bmp
depending on your needs. The chosen format will affect the quality and size of the extracted frames.
This parameter determines the number of digits used in the frame filenames. For example, if set to 4, the frames will be named frame_0001.png
, frame_0002.png
, etc. The default value is -1
, which means no zero-padding will be applied. Adjusting this parameter can help in maintaining a consistent naming convention, especially when dealing with a large number of frames.
This output parameter returns the absolute path to the directory where the frames have been saved. This information is useful for locating the extracted frames and using them in subsequent steps of your workflow.
This output parameter indicates the number of frames that have been successfully extracted and saved. It provides a quick way to verify that the extraction process has completed and to check the number of frames available for further use.
ffmpeg_bin_path
is correctly set in the configuration file to avoid errors related to ffmpeg
not being found.png
is recommended, while jpg
can be used for smaller file sizes.ffmpeg_bin_path
is not setffmpeg
binary is not specified in the configuration file.ffmpeg_bin_path
in the configuration file to the correct path where ffmpeg
is installed.<output_file>
© Copyright 2024 RunComfy. All Rights Reserved.