ComfyUI > Nodes > ComfyUI-VideoTransition > Video Page Turn

ComfyUI Node: Video Page Turn

Class Name

VideoPageTurnNode

Category
VideoTransition
Author
yichengup (Account age: 774days)
Extension
ComfyUI-VideoTransition
Latest Updated
2025-10-27
Github Stars
0.03K

How to Install ComfyUI-VideoTransition

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

Creates realistic page-turn transitions in videos, supporting horizontal/vertical modes efficiently.

Video Page Turn:

The VideoPageTurnNode is designed to create a realistic page-turning transition effect in videos, simulating the physical motion of flipping through a book. This node is optimized for batch processing and memory efficiency, making it suitable for handling multiple video frames simultaneously. It supports both horizontal and vertical page-turning modes, allowing you to choose the direction of the transition. The node is particularly beneficial for creating engaging video content where a smooth and natural transition between scenes is desired. By leveraging advanced computational techniques, it ensures that the page-turn effect is both visually appealing and computationally efficient.

Video Page Turn Input Parameters:

page_direction

The page_direction parameter determines the direction in which the page-turn effect will occur. It can be set to either "left-to-right" or "top-to-bottom," allowing you to customize the transition according to your creative needs. This parameter significantly impacts the visual outcome of the transition, as it dictates the axis around which the page will appear to turn. There are no specific minimum or maximum values, but the options are typically limited to the two directions mentioned.

total_frames

The total_frames parameter specifies the number of frames over which the page-turn transition will be spread. A higher number of frames results in a slower, more gradual transition, while a lower number of frames creates a quicker effect. This parameter is crucial for controlling the pacing of the transition and ensuring it aligns with the overall timing of your video. The minimum value is 1, and there is no strict maximum, but it should be set according to the length of the video segment you are working with.

batch_size

The batch_size parameter defines the number of frames processed simultaneously during the transition effect. A larger batch size can improve processing speed by taking advantage of parallel computation, but it may also increase memory usage. This parameter is essential for optimizing performance, especially when working with high-resolution videos or limited computational resources. The default value is typically set to 5, but it can be adjusted based on your system's capabilities.

background_color

The background_color parameter sets the color that will appear behind the turning page during the transition. This can be used to match or contrast with the video content, enhancing the visual appeal of the effect. The color is specified in hexadecimal format, such as "#1a1a1a" for a dark gray. This parameter allows for creative flexibility in designing the transition's aesthetic.

width

The width parameter specifies the width of the video frames being processed. It is important to set this value to match the resolution of your video to ensure the transition effect is applied correctly. There are no specific minimum or maximum values, but it should correspond to the video's actual dimensions.

height

The height parameter defines the height of the video frames being processed. Similar to the width parameter, it should match the resolution of your video to ensure the transition effect is applied accurately. There are no specific minimum or maximum values, but it should correspond to the video's actual dimensions.

Video Page Turn Output Parameters:

transitioned_video

The transitioned_video output parameter provides the video with the applied page-turn transition effect. This output is crucial as it represents the final product of the node's processing, ready for further editing or direct use in your projects. The transitioned video maintains the original video's resolution and frame rate, ensuring seamless integration into your workflow.

Video Page Turn Usage Tips:

  • To achieve a smooth and natural page-turn effect, experiment with different total_frames values to find the optimal pacing for your video content.
  • Utilize the batch_size parameter to balance processing speed and memory usage, especially when working with high-resolution videos or limited computational resources.
  • Customize the background_color to complement the visual style of your video, enhancing the overall aesthetic of the transition.

Video Page Turn Common Errors and Solutions:

"Invalid page direction specified"

  • Explanation: This error occurs when the page_direction parameter is set to a value other than "left-to-right" or "top-to-bottom."
  • Solution: Ensure that the page_direction is set to one of the valid options: "left-to-right" or "top-to-bottom."

"Frame dimensions do not match video resolution"

  • Explanation: This error indicates a mismatch between the width and height parameters and the actual resolution of the video frames.
  • Solution: Verify that the width and height parameters are set to match the resolution of your video to ensure proper application of the transition effect.

Video Page Turn Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-VideoTransition
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 Page Turn