video_add_audio
Add or replace audio tracks in video files with options to adjust volume, apply fades, mix with existing audio, and control timing.
Instructions
Add or replace the audio track of a video.
Args: video_path: Absolute path to the video file. audio_path: Absolute path to the audio file (MP3, WAV, etc.). volume: Audio volume (0.0 to 2.0, where 1.0 = original). fade_in: Fade in duration in seconds. fade_out: Fade out duration in seconds. mix: If true, mix with existing audio. If false, replace it. start_time: When the audio starts playing (seconds). output_path: Where to save the output. Auto-generated if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_path | Yes | ||
| audio_path | Yes | ||
| volume | No | ||
| fade_in | No | ||
| fade_out | No | ||
| mix | No | ||
| start_time | No | ||
| output_path | No |