ComfyUI > Nodes > WhiteRabbit > πŸ‡ Unroll Frames

ComfyUI Node: πŸ‡ Unroll Frames

Class Name

UnrollFrames

Category
video utils
Author
Artificial-Sweetener (Account age: 367days)
Extension
WhiteRabbit
Latest Updated
2025-11-17
Github Stars
0.04K

How to Install WhiteRabbit

Install this extension via the ComfyUI Manager by searching for WhiteRabbit
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter WhiteRabbit 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

πŸ‡ Unroll Frames Description

Reverse cyclic shift in video clips to restore original frame sequence, essential for undoing cyclic transformations.

πŸ‡ Unroll Frames:

The UnrollFrames node is designed to reverse the cyclic shift applied to a video clip, effectively restoring the original sequence of frames. This node is particularly useful when you have previously used a cyclic shift operation, such as the one performed by the RollFrames node, and need to revert the frames back to their initial order. By unrolling the frames, you can ensure that any subsequent processing or analysis is performed on the original sequence, maintaining the integrity of the video content. This node is essential for workflows that involve cyclic transformations, providing a straightforward method to undo such operations and return to the original frame arrangement.

πŸ‡ Unroll Frames Input Parameters:

images

This parameter represents the video clip as a batch of images, formatted as framesΓ—HΓ—WΓ—C. It is the sequence of frames that you wish to unroll back to their original order. The input should be a valid image batch, ensuring that the node can process and revert the cyclic shift accurately.

offset

The offset parameter is an integer that specifies the amount by which the frames were originally shifted. It determines how far the frames need to be unrolled to restore the original sequence. The value can be positive or negative, with a default of 1, and it should be within the range of -9999 to 9999. A positive offset indicates a forward shift, while a negative offset indicates a backward shift.

πŸ‡ Unroll Frames Output Parameters:

images

This output provides the video clip with the frames unrolled back to their original sequence. It ensures that the frames are in the correct order, ready for further processing or analysis.

offset_out

The offset_out is an integer output that confirms the offset value used for the unrolling process. It serves as a reference to verify the amount of shift that was reversed, ensuring that the operation was performed as intended.

πŸ‡ Unroll Frames Usage Tips:

  • Ensure that the offset value matches the original shift applied to the frames to accurately restore the sequence.
  • Use the UnrollFrames node in conjunction with the RollFrames node to manage cyclic shifts and reversals effectively in your video processing workflow.

πŸ‡ Unroll Frames Common Errors and Solutions:

"Invalid image batch format"

  • Explanation: This error occurs when the input images parameter is not in the expected framesΓ—HΓ—WΓ—C format.
  • Solution: Verify that the input is a correctly formatted image batch and that all frames are included.

"Offset value out of range"

  • Explanation: The offset value provided is outside the acceptable range of -9999 to 9999.
  • Solution: Adjust the offset value to be within the specified range to ensure proper unrolling of frames.

πŸ‡ Unroll Frames Related Nodes

Go back to the extension to check out more related nodes.
WhiteRabbit
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.