ComfyUI > Nodes > 10S-Comfy-nodes > ⏱️ Latent Motion Retime

ComfyUI Node: ⏱️ Latent Motion Retime

Class Name

LatentMotionRetime

Category
10S Nodes/Latents
Author
TenStrip (Account age: 11days)
Extension
10S-Comfy-nodes
Latest Updated
2026-05-12
Github Stars
0.04K

How to Install 10S-Comfy-nodes

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

⏱️ Latent Motion Retime Description

Specialized node for adjusting frame velocity in upsampled latent sequences to achieve natural motion pace, crucial for maintaining artistic expression.

⏱️ Latent Motion Retime:

LatentMotionRetime is a specialized node designed to correct the pacing of an already-upsampled latent sequence. Its primary function is to adjust the velocity of each frame in a sequence to achieve a natural motion pace, particularly when converting from a lower frame rate to a higher one. This node is particularly useful for AI artists who work with video sequences that have been upsampled from a lower frame rate, such as 24fps, to a higher frame rate, like 30fps. By attenuating the per-frame velocity based on the ratio of the source and target frame rates, LatentMotionRetime ensures that the motion in the video appears smooth and natural, avoiding the unnatural speed-up that can occur when frame rates are mismatched. This correction is crucial for maintaining the intended artistic expression and ensuring that the motion in the video aligns with the viewer's expectations.

⏱️ Latent Motion Retime Input Parameters:

latent

The latent parameter represents the input latent sequence that has been upsampled and requires pacing correction. It is a multi-dimensional tensor containing the video frames that need to be adjusted for natural motion pacing. This parameter is crucial as it provides the raw data that the node will process to achieve the desired frame rate correction.

source_fps

The source_fps parameter specifies the original frame rate of the latent sequence before upsampling. It is a critical value that determines how much the velocity of each frame needs to be adjusted to match the target frame rate. The default value is typically set to the frame rate at which the original content was created, such as 24fps.

target_fps

The target_fps parameter indicates the desired frame rate for the output sequence after pacing correction. This value is essential for calculating the attenuation factor that will be applied to the frame velocities. The default value is often set to a standard playback frame rate, such as 30fps, to ensure smooth motion.

⏱️ Latent Motion Retime Output Parameters:

latent

The latent output parameter is the corrected latent sequence with adjusted frame pacing. This output retains the original structure of the input latent but with modified frame velocities to ensure natural motion at the target frame rate. The corrected sequence is ready for further processing or direct playback, providing a seamless viewing experience.

⏱️ Latent Motion Retime Usage Tips:

  • Ensure that the source_fps and target_fps parameters are set accurately to reflect the original and desired frame rates. This will ensure that the pacing correction is applied correctly.
  • Use LatentMotionRetime in conjunction with other nodes like LatentMotionSharpener to enhance both the temporal and spatial quality of your video sequences.

⏱️ Latent Motion Retime Common Errors and Solutions:

"Expected 5D, got {samples.shape} - passthrough"

  • Explanation: This error occurs when the input latent does not have the expected five-dimensional shape, which is necessary for processing.
  • Solution: Verify that the input latent is correctly formatted as a 5D tensor with dimensions corresponding to batch size, channels, frames, height, and width. Adjust the input data structure if necessary.

"MotionRetime: {samples.shape} | scale={scale:.4f} atten={atten:.4f}"

  • Explanation: This message indicates that the attenuation factor is too low, resulting in minimal or no pacing correction.
  • Solution: Check the source_fps and target_fps values to ensure they are set correctly. If the attenuation factor is still too low, consider adjusting the frame rates or reviewing the input data for inconsistencies.

⏱️ Latent Motion Retime Related Nodes

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

⏱️ Latent Motion Retime