extract_audio_from_video
Extract audio from video files using specified codecs (e.g., mp3, aac, wav). Save the audio to a designated path for easy access or further editing.
Instructions
Extracts audio from a video file and saves it.
Args: video_path: The path to the input video file. output_audio_path: The path to save the extracted audio file. audio_codec: The audio codec to use for the output (e.g., 'mp3', 'aac', 'wav'). Defaults to 'mp3'. Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
audio_codec | No | mp3 | |
output_audio_path | Yes | ||
video_path | Yes |