ffmpeg__mux_audio
Replace a video's audio track by muxing an external audio file. Attach dubbed or mixed audio, discarding original audio.
Instructions
Replace or attach an audio track to a video by muxing a separate audio file. @remarks The original video audio is discarded. Typical use: attach a mixed or dubbed audio track to a graded video. Returns JSON in stdout with output_path and applied parameters. @param video_path Source video path (its original audio track will be discarded). @param audio_path Replacement audio track path. @param output_path Destination video path with the new audio track. @param audio_delay_ms Audio track delay in milliseconds (positive = delay audio). Default 0. @param reencode_audio Whether to re-encode the audio to AAC. Default false uses stream copy. @param __mcp_response_mode Optional response mode: content (default) or structuredContent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_path | Yes | ||
| video_path | Yes | ||
| output_path | Yes | ||
| audio_delay_ms | No | ||
| reencode_audio | No | ||
| __mcp_response_mode | No | content |