Visit ComfyUI Online for ready-to-use ComfyUI environment
Merge audio and video files seamlessly, creating synchronized media with specified segments, ideal for AI artists.
The AudioVideoCombine
node is designed to seamlessly merge audio and video files, allowing you to create a combined media file with synchronized audio and video tracks. This node is particularly useful for AI artists who want to overlay custom audio onto a video clip, ensuring that the audio matches the specified segment of the video. By providing a straightforward interface for specifying the start and end times of the video segment, this node simplifies the process of combining media files, making it accessible even to those without a technical background. The node also offers an option to automatically open the combined file after processing, enhancing the user experience by providing immediate feedback on the results.
This parameter represents the audio data that you want to combine with the video. The audio should be in a format that the node can process, typically as a waveform tensor with an associated sample rate. The audio data will be synchronized with the specified segment of the video.
This parameter specifies the path to the video file that you want to combine with the audio. The path should be a string pointing to a valid video file on your system. The default value is "/path/to/video.mp4"
. Ensure that the file exists at the specified path to avoid errors.
This optional parameter allows you to specify the start time of the video segment you want to use. The time should be in the format "MM:SS"
, representing minutes and seconds. If not provided, the default value is "0:00"
, which means the video will start from the beginning.
This optional parameter allows you to specify the end time of the video segment you want to use. The time should be in the format "MM:SS"
, representing minutes and seconds. If not provided, the default value is "1:00"
, which means the video will end at the 1-minute mark. Ensure that the end time is greater than the start time to avoid errors.
This optional boolean parameter determines whether the combined video file should be automatically opened after processing. The default value is False
. If set to True
, the node will attempt to open the file using the default media player on your system.
This output parameter provides the path to the saved combined video file. The path is a string pointing to the location where the new video file has been stored. You can use this path to access and view the combined media file.
video_path
parameter exists and is accessible to avoid file not found errors.video_start_time
and video_end_time
parameters to precisely control the segment of the video you want to combine with the audio. This is useful for creating clips with specific durations.auto_open
parameter to True
if you want to immediately review the combined video file after processing. This can save time and provide instant feedback on the results.<video_path>
video_path
parameter is correct and that the file exists at the specified location.video_start_time
is less than the video_end_time
to define a valid video segment.auto_open
parameter and ensure that your system has a default media player configured to open video files.© Copyright 2024 RunComfy. All Rights Reserved.