Visit ComfyUI Online for ready-to-use ComfyUI environment
Reindex frames with custom starting index and step for video processing tasks.
The Frame Set Reindex [DVB] node is designed to reindex a set of frames, allowing you to adjust the starting index and the step between indices. This is particularly useful when you need to reorganize or re-sequence frames for various video processing tasks. By providing a new starting index and step value, you can control the order and spacing of frames, which can be essential for creating specific visual effects or ensuring compatibility with other processing nodes. This node helps streamline the workflow by offering a simple yet powerful way to manage frame indices, making it easier to achieve the desired sequence and timing in your video projects.
This parameter represents the set of frames that you want to reindex. It is of the type FrameSet
, which is a collection of frames with associated indices and framerate information. The frames parameter is required and serves as the primary input for the reindexing process.
The start
parameter specifies the new starting index for the frame set. It is an integer value with a default of 0. This parameter allows you to define the initial index from which the reindexing should begin. Adjusting the start index can help align the frame set with other sequences or meet specific project requirements.
The step
parameter determines the interval between consecutive frame indices in the reindexed frame set. It is an integer value with a default of 1. By modifying the step value, you can control the spacing between frame indices, which can be useful for creating effects such as slow motion or time-lapse. The step parameter ensures that the frames are reindexed at the desired intervals.
The output parameter frames
is a reindexed FrameSet
. This reindexed frame set reflects the new starting index and step values provided as input parameters. The reindexed frames maintain their original order but are assigned new indices based on the specified start and step values. This output is essential for subsequent processing steps that rely on a specific frame index sequence.
start
index of the reindexed frame set aligns with the end index of the preceding frame set.step
value greater than 1 to create a time-lapse effect, where frames are spaced further apart, giving the appearance of accelerated motion.start
and step
values to maintain synchronization and avoid index conflicts.DVB_UnwrapFrameSet
with the gap_mode
set to BLEND
to fill in any gaps before reindexing.start
or step
parameters are set to invalid values that the node cannot process.start
and step
parameters are set to appropriate integer values. The start
should be a non-negative integer, and the step
should be a positive integer. Adjust these values as needed to ensure they are within valid ranges.© Copyright 2024 RunComfy. All Rights Reserved.