extract_audio
Extract audio from video and re-encode audio files into MP3, WAV, FLAC, OGG, M4A, Opus, or AAC, with bitrate control and lossless copy option.
Instructions
Pull the audio track out of a video (or re-encode an audio file).
format: mp3 (default), wav, flac, ogg, m4a, opus, aac, or "copy" to keep the original audio stream untouched (fast, lossless; picks the matching extension). bitrate: for lossy formats, e.g. "192k" (overrides quality). Fails clearly if the input has no audio. Default output: name.audio.mp3 next to the input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| format | No | mp3 | |
| output | No | ||
| bitrate | No | ||
| dry_run | No | ||
| quality | No | medium | |
| overwrite | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |