Visit ComfyUI Online for ready-to-use ComfyUI environment
Merge video and audio seamlessly for multimedia projects with automatic synchronization and format handling.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
fps
parameter to adjust the playback speed of your video, especially when creating a video from a sequence of images.audio_path
or an AUDIO
tensor with the necessary waveform and sample rate.video_path
or a sequence of IMAGES
to create a video from frames.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.