ComfyUI  >  Nodes  >  Dream Video Batches >  ↻ Sine Camera Roll

ComfyUI Node: ↻ Sine Camera Roll

Class Name

Sine Camera Roll [DVB]

Category
🎭 DVB/🎥 camera
Author
Dream Project (Account age: 661 days)
Extension
Dream Video Batches
Latest Updated
5/22/2024
Github Stars
0.1K

How to Install Dream Video Batches

Install this extension via the ComfyUI Manager by searching for  Dream Video Batches
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Dream Video Batches 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

↻ Sine Camera Roll Description

Create smooth, rhythmic rolling effect on video frames with loopable, dynamic motion using sine wave function.

Sine Camera Roll [DVB]:

The Sine Camera Roll [DVB] node is designed to create a smooth, sinusoidal rolling effect on a sequence of video frames. This node is particularly useful for adding dynamic and rhythmic motion to your video projects, making them more visually engaging. By applying a sine wave function to the rotation of each frame, the node ensures that the roll effect is both smooth and loopable, which is ideal for creating seamless animations. The primary goal of this node is to provide a simple yet powerful way to introduce periodic rolling motion to your videos, enhancing their aesthetic appeal without requiring complex manual adjustments.

Sine Camera Roll [DVB] Input Parameters:

frames

This parameter represents the set of video frames that will be processed by the node. It is essential as it provides the raw material on which the sine camera roll effect will be applied.

output_width

This integer parameter defines the width of the output frames. The default value is 512, with a minimum value of 1. Adjusting this parameter allows you to control the horizontal resolution of the resulting video frames.

output_height

This integer parameter specifies the height of the output frames. Similar to output_width, the default value is 512, with a minimum value of 1. This parameter lets you set the vertical resolution of the output frames.

degrees

This float parameter determines the maximum degree of rotation applied to each frame during the sine roll effect. The default value is 45.0 degrees. Adjusting this parameter changes the intensity of the rolling motion, with higher values resulting in more pronounced rotations.

period_seconds

This float parameter sets the duration of one complete sine wave cycle in seconds. The default value is 1.0 seconds, with a minimum value of 0.1 seconds and a step of 0.1 seconds. This parameter controls the speed of the rolling effect, with shorter periods resulting in faster motion.

phase_seconds

This float parameter defines the phase shift of the sine wave in seconds. The default value is 0.0 seconds. Adjusting this parameter allows you to offset the starting point of the sine wave, effectively changing the initial rotation angle of the frames.

Sine Camera Roll [DVB] Output Parameters:

frames

The output parameter is a set of video frames that have been processed to include the sine camera roll effect. This output retains the original frame sequence but with the added rolling motion, making the video more dynamic and visually appealing.

Sine Camera Roll [DVB] Usage Tips:

  • To create a subtle rolling effect, use a lower value for the degrees parameter.
  • Experiment with different period_seconds values to find the optimal speed for your specific video project.
  • Use the phase_seconds parameter to synchronize the rolling effect with other elements in your video.

Sine Camera Roll [DVB] Common Errors and Solutions:

"WARNING: Cannot pan - output larger than input!"

  • Explanation: This error occurs when the specified output dimensions are larger than the input frame dimensions.
  • Solution: Ensure that the output_width and output_height parameters are set to values equal to or smaller than the dimensions of the input frames.

"WARNING: Cannot pan - no direction!"

  • Explanation: This error is related to panning functions and indicates that no direction has been specified for the pan motion.
  • Solution: Verify that the direction parameters (direction_x and direction_y) are correctly set to non-zero values.

↻ Sine Camera Roll Related Nodes

Go back to the extension to check out more related nodes.
Dream Video Batches
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.