Visit ComfyUI Online for ready-to-use ComfyUI environment
Create smooth, dynamic linear camera panning effects for videos with adjustable directions and cinematic effects.
The Linear Camera Pan [DVB] node is designed to create smooth, linear panning effects in your video frames. This node allows you to move the camera across the frame in a specified direction, either horizontally, vertically, or diagonally, providing a dynamic and engaging visual experience. By adjusting the panning direction and mode, you can achieve various cinematic effects, such as moving from the center to the edge of the frame or vice versa. This node is particularly useful for AI artists looking to add motion to static images or enhance the storytelling aspect of their videos by guiding the viewer's focus across the scene.
This parameter represents the set of video frames that you want to apply the panning effect to. It is essential as it provides the visual content that will be manipulated by the node.
This integer parameter defines the width of the output frames after the panning effect is applied. The default value is 512, with a minimum value of 1. Adjusting this parameter allows you to control the horizontal dimension of the final video output.
This integer parameter specifies the height of the output frames after the panning effect is applied. The default value is 512, with a minimum value of 1. This parameter helps you control the vertical dimension of the final video output.
This float parameter determines the horizontal direction and magnitude of the pan. A positive value moves the camera to the right, while a negative value moves it to the left. The default value is 1.0. Adjusting this parameter changes the horizontal movement of the camera.
This float parameter sets the vertical direction and magnitude of the pan. A positive value moves the camera downwards, while a negative value moves it upwards. The default value is -1.0. Modifying this parameter alters the vertical movement of the camera.
This parameter allows you to choose the panning mode from three options: "edge to edge," "center to edge," and "edge to center." Each mode defines a different starting and ending point for the pan, affecting how the camera moves across the frame. Selecting the appropriate mode helps you achieve the desired visual effect.
This output parameter represents the set of video frames after the panning effect has been applied. It retains the same type as the input frames but with the added motion effect, providing a dynamic and visually engaging result.
direction_x
to a positive or negative value and direction_y
to 0.direction_y
and set direction_x
to 0.pan_mode
settings to achieve various cinematic effects, such as starting the pan from the center or the edges of the frame.output_width
and output_height
are smaller than the input frame dimensions to avoid warnings about output size.output_width
and output_height
are smaller than the dimensions of the input frames.direction_x
and direction_y
are set to 0, resulting in no movement.direction_x
or direction_y
(or both) to a non-zero value to define the panning direction.© Copyright 2024 RunComfy. All Rights Reserved.