Video Speed(VideoSpeedStage)
The Video Speed node (VideoSpeedStage) adjusts the playback speed of a video within the ComfyTV/Video category.
Video Speed Stage
Description
The Video Speed node (VideoSpeedStage) adjusts the playback speed of a video within the ComfyTV/Video category. It can slow a clip down or speed it up across a wide range, optionally reverse playback, and optionally compensate audio pitch when the timing changes. The result is returned as a COMFYTV_VIDEO clip that can be connected to other ComfyTV video nodes.
Inputs
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
speed | FLOAT | Yes | 1 | Playback speed multiplier. Minimum 0.1, maximum 10, step 0.05. |
reverse | BOOLEAN | Yes | false | Reverses playback direction when enabled. |
pitch_compensate | BOOLEAN | Yes | true | Applies audio pitch compensation when speed changes. |
video | COMFYTV_VIDEO | No | - | Source video clip to process. |
speed
Controls how fast the output clip plays compared with the input clip.
1keeps the original speed.- Values below
1slow the clip down. For example,0.5plays at half speed and produces a longer clip. - Values above
1speed the clip up. For example,2plays at double speed and produces a shorter clip.
The value must be between 0.1 and 10, and the widget advances in steps of 0.05.
reverse
When enabled, the clip plays in reverse. When disabled, playback direction remains normal. This can be combined with any speed value.
pitch_compensate
Controls audio pitch handling when the playback speed is changed. It is enabled by default.
- When enabled, the node is expected to compensate the audio pitch so that speech and other audio do not shift simply because the speed changed.
- When disabled, the audio pitch is allowed to follow the speed change, which can be useful when the pitch shift is part of the intended effect.
If the source clip has no audio, or if audio is not used later in the workflow, this option may have no visible effect.
video
The COMFYTV_VIDEO clip to retime. This input is optional in the node schema, but normal use requires a valid video source to be connected. Connect the output of another ComfyTV video node here before adjusting speed, reverse, or pitch_compensate.
Outputs
| Name | Type | Notes |
|---|---|---|
COMFYTV_VIDEO | COMFYTV_VIDEO | The retimed video clip, with optional reversal and pitch compensation applied. |
The single output is a COMFYTV_VIDEO clip that can be passed to other nodes in the ComfyTV/Video category.
Usage Notes
- At
speedequal to1withreversedisabled, timing and direction are effectively unchanged. - Use values below
1to create slow motion or extend clip duration. - Use values above
1to create fast motion or shorten clip duration. - Enable
reversewhen you need the clip to play backward, independently of the chosen speed. - Keep
pitch_compensateenabled for natural-sounding audio when changing speed. Disable it when you want the pitch to change along with the playback speed. - The
speedrange is limited from0.1to10; values outside this range cannot be set through the widget. - Connect the output to any downstream node that accepts
COMFYTV_VIDEOfor further processing or output.
Comments
Sign in with GitHub to join the discussion.