Skip to main content

Set Video Audio

Set Video Audio replaces a video's soundtrack with an Audio input. It keeps the video's frames and timing, and fits the replacement sound to the video's length.

Set Video Audio with Video and Audio inputs and a coastal clip in its Video output.

The coastal clip and replacement soundtrack are illustrative.

Replace a soundtrack​

  1. Add Set Video Audio to your Graph.
  2. Connect the clip you want to keep to Video.
  3. Connect the replacement recording to Audio.
  4. Run the Node and play its Video output.

Use Video Input and Audio Input for files, or connect compatible outputs from other Nodes. For spoken narration, connect the Audio output from VoxCPM2.

Fit sound to the picture​

The replacement starts at the beginning of the video. Studio fits it to the video's duration:

Replacement recordingResult
Longer than the videoStudio cuts off the extra sound at the end.
Shorter than the videoStudio adds silence after the recording ends.
The same lengthStudio uses the recording for the full video.

For example, a six-second recording on a four-second clip uses the first four seconds. A two-second recording on the same clip is followed by two seconds of silence. The Node does not repeat the recording or stretch it to fill the gap.

Any original soundtrack is replaced, not mixed with the new one. To keep it for later, connect the source video to Extract Audio before replacing it.

Give a coastal clip a score​

Video Input and Audio Input connected to Set Video Audio, with the coastal clip visible in its output.

Set Video Audio used to give a coastal clip a musical score; the media and resulting soundtrack are illustrative.

Inputs, outputs, and limits​

PortTypeWhat it supplies
VideoVideo inputThe picture and timing to keep.
AudioAudio inputThe replacement soundtrack.
VideoVideo outputThe original frames with the fitted replacement audio.

Both inputs are required. The output keeps the source dimensions, frame count, frame order, frame rate, and color channels. This Node has no settings of its own and adds no narrower media limits; the shared Video, Audio, and value-size limits apply.