ComfyUI > Nodes > comfy_Pond_Nodes > 🐳Video Frame Extractor (Advanced)

ComfyUI Node: 🐳Video Frame Extractor (Advanced)

Class Name

VideoFrameExtractorAdvanced

Category
🐳Pond/video
Author
Pondowner857 (Account age: 730days)
Extension
comfy_Pond_Nodes
Latest Updated
2026-01-28
Github Stars
0.04K

How to Install comfy_Pond_Nodes

Install this extension via the ComfyUI Manager by searching for comfy_Pond_Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfy_Pond_Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🐳Video Frame Extractor (Advanced) Description

Extracts video frames by index, percentage, or time for precise creative control.

🐳Video Frame Extractor (Advanced):

The VideoFrameExtractorAdvanced node is a sophisticated tool designed to extract specific frames from a video based on various criteria. This node is particularly beneficial for AI artists and creators who need precise control over frame selection for tasks such as video analysis, animation, or creating visual effects. By offering multiple modes of frame extraction—such as by index, percentage, or time—this node provides flexibility and precision, allowing you to tailor the frame extraction process to your specific needs. Whether you are working with a short clip or a lengthy video, the VideoFrameExtractorAdvanced node ensures that you can efficiently and accurately extract the frames you need, enhancing your creative workflow and enabling more detailed and nuanced video manipulation.

🐳Video Frame Extractor (Advanced) Input Parameters:

video

The video parameter represents the input video from which frames will be extracted. It is expected to be in the form of an IMAGE tensor, which is a sequence of frames. This parameter is crucial as it provides the source material for the frame extraction process.

mode

The mode parameter determines the method used to select the frame to be extracted. It can take one of three values: "index", "percentage", or "time". The "index" mode allows you to specify the exact frame number, "percentage" mode lets you select a frame based on its position as a percentage of the total video length, and "time" mode enables frame selection based on a specific time in seconds, calculated using the frames per second (fps) rate. This parameter is essential for defining the frame extraction strategy.

value

The value parameter is used in conjunction with the mode parameter to specify the exact frame to extract. Its interpretation varies depending on the selected mode. For "index" mode, it represents the frame number; for "percentage" mode, it indicates the percentage of the video duration; and for "time" mode, it specifies the time in seconds. The value parameter has a default of 0.0, with a minimum of 0.0 and a maximum of 9999.0, allowing for precise frame selection.

fps

The fps parameter, which stands for frames per second, is an optional input that is particularly relevant when using the "time" mode. It defines the frame rate of the video, which is used to calculate the frame index from the specified time value. The default value is 30.0, with a range from 1.0 to 120.0, providing flexibility to accommodate different video formats and frame rates.

🐳Video Frame Extractor (Advanced) Output Parameters:

image

The image output parameter is the extracted frame from the video, returned as an IMAGE tensor. This output is the primary result of the frame extraction process, providing you with the specific frame you requested based on the input parameters. It is essential for any subsequent processing or analysis tasks you may wish to perform on the extracted frame.

frame_index

The frame_index output parameter indicates the index of the extracted frame within the video. This information is useful for verification purposes, allowing you to confirm that the correct frame has been extracted according to your specified criteria. It provides a reference point for further operations or documentation.

🐳Video Frame Extractor (Advanced) Usage Tips:

  • When using the "percentage" mode, ensure that the value parameter is set between 0 and 100 to accurately reflect the desired position within the video.
  • For time-based extraction, adjust the fps parameter to match the frame rate of your video to ensure accurate frame selection.
  • Utilize the "index" mode for precise frame extraction when you know the exact frame number you need.

🐳Video Frame Extractor (Advanced) Common Errors and Solutions:

Frame index exceeds video length

  • Explanation: This error occurs when the calculated frame index is greater than the total number of frames in the video.
  • Solution: Ensure that the value parameter is within the valid range for the selected mode, and adjust the fps parameter if using the "time" mode to match the video's frame rate.

Invalid mode selection

  • Explanation: This error arises when an unsupported mode is specified in the mode parameter.
  • Solution: Verify that the mode parameter is set to one of the supported values: "index", "percentage", or "time".

🐳Video Frame Extractor (Advanced) Related Nodes

Go back to the extension to check out more related nodes.
comfy_Pond_Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

🐳Video Frame Extractor (Advanced)