extract-audio
Extract audio from video files in MP3, AAC, WAV, or OGG formats using a straightforward process. Specify the video path and desired audio format to generate audio output efficiently.
Instructions
Extract audio from a video file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Audio format to extract | mp3 |
outputDir | No | Optional directory to save the output file (defaults to a temporary directory) | |
videoPath | Yes | Path to the video file to extract audio from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"format": {
"default": "mp3",
"description": "Audio format to extract",
"enum": [
"mp3",
"aac",
"wav",
"ogg"
],
"type": "string"
},
"outputDir": {
"description": "Optional directory to save the output file (defaults to a temporary directory)",
"type": "string"
},
"videoPath": {
"description": "Path to the video file to extract audio from",
"type": "string"
}
},
"required": [
"videoPath"
],
"type": "object"
}