ffmpeg_extract_audio
Extract audio from video files, choosing output format (mp3, aac, wav, flac, ogg, opus) and adjusting bitrate for quality or file size.
Instructions
Extract audio track from a video file.
Args:
file_path: Path to the input video file
audio_format: Output audio format (mp3, aac, wav, flac, ogg, opus)
bitrate: Audio bitrate (e.g., "128k", "192k", "320k"). If not specified, uses format default.
Returns:
Path to the extracted audio fileInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| audio_format | No | mp3 | |
| bitrate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |