ComfyUI > Nodes > Bjornulf_custom_nodes > 📹🔊 Combine Video + Audio

ComfyUI Node: 📹🔊 Combine Video + Audio

Class Name

Bjornulf_CombineVideoAudio

Category
video
Author
justUmen (Account age: 3046days)
Extension
Bjornulf_custom_nodes
Latest Updated
2025-02-28
Github Stars
0.2K

How to Install Bjornulf_custom_nodes

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

📹🔊 Combine Video + Audio Description

Merge video and audio seamlessly for multimedia projects with automatic synchronization and format handling.

📹🔊 Combine Video + Audio:

The Bjornulf_CombineVideoAudio node is designed to seamlessly merge video and audio files into a single cohesive multimedia output. This node is particularly beneficial for AI artists and creators who wish to combine visual and auditory elements without delving into complex technical processes. By leveraging this node, you can efficiently synchronize audio tracks with video sequences, ensuring that the final product is both visually and audibly aligned. The node handles various input formats, converting them as necessary to produce a high-quality output. It simplifies the process of combining media by automatically managing file paths, formats, and synchronization, making it an essential tool for multimedia projects.

📹🔊 Combine Video + Audio Input Parameters:

IMAGES

This optional parameter allows you to input a sequence of images that will be compiled into a video. The images should be provided in a format that can be processed into frames, such as a list of image tensors. This parameter is crucial if you do not have a pre-existing video file and wish to create one from individual frames. The node will handle the conversion of these images into a video format, ensuring they are correctly ordered and formatted.

AUDIO

This optional parameter accepts an audio input in the form of a waveform tensor. The audio data should include both the waveform and the sample rate. This parameter is essential if you do not have a pre-existing audio file and wish to use raw audio data. The node will process this audio input, ensuring it is in the correct format and synchronized with the video.

audio_path

This optional string parameter specifies the file path to an existing audio file. If provided, the node will use this audio file instead of the raw audio data from the AUDIO parameter. This is useful if you have a pre-recorded audio track that you want to synchronize with your video. The default value is an empty string, indicating no file path is provided.

video_path

This optional string parameter specifies the file path to an existing video file. If provided, the node will use this video file instead of creating one from the IMAGES parameter. This is useful if you have a pre-recorded video that you want to combine with an audio track. The default value is an empty string, indicating no file path is provided.

fps

This optional float parameter sets the frames per second for the video output. It determines the playback speed of the video and is particularly important when creating a video from images. The default value is 30.0, with a minimum of 1.0 and a maximum of 120.0, allowing for a wide range of video speeds to suit different project needs.

📹🔊 Combine Video + Audio Output Parameters:

video_path

This output parameter provides the file path to the combined video and audio output. It is a string that indicates where the final multimedia file is saved, allowing you to easily locate and use the output in your projects.

video_duration

This output parameter returns the duration of the combined video in seconds. It is a float that helps you understand the length of the final output, ensuring it meets your project requirements.

fps

This output parameter confirms the frames per second of the output video. It is a float that reflects the playback speed of the video, ensuring it matches the intended speed set during input.

number_of_frames

This output parameter provides the total number of frames in the output video. It is an integer that gives you insight into the video's structure, helping you verify that all frames have been correctly processed and included.

📹🔊 Combine Video + Audio Usage Tips:

  • Ensure that your image and audio inputs are correctly formatted and synchronized to avoid any discrepancies in the final output.
  • Use the fps parameter to adjust the playback speed of your video, especially when creating a video from a sequence of images.
  • Verify the file paths for both audio and video inputs to prevent errors related to missing files.

📹🔊 Combine Video + Audio Common Errors and Solutions:

No valid audio input provided

  • Explanation: This error occurs when neither an audio file path nor a valid audio tensor is provided.
  • Solution: Ensure that you provide either a valid audio_path or an AUDIO tensor with the necessary waveform and sample rate.

No valid video input provided

  • Explanation: This error arises when neither a video file path nor a sequence of images is provided.
  • Solution: Provide either a valid video_path or a sequence of IMAGES to create a video from frames.

File not found

  • Explanation: This error indicates that the specified audio or video file path does not exist.
  • Solution: Double-check the file paths for both audio and video inputs to ensure they are correct and accessible.

📹🔊 Combine Video + Audio Related Nodes

Go back to the extension to check out more related nodes.
Bjornulf_custom_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 Playground, enabling artists to harness the latest AI tools to create incredible art.