# Audio Extractor

> Extract audio from video files to WAV format. Use when you need to analyze audio from video, prepare audio for energy calculation, or convert video audio to standard format for processing. Use when this capability is needed.

- Skill: `tomevault-io/audio-extractor` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/audio-extractor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/audio-extractor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/audio-extractor

---


# Audio Extractor

Extracts audio from video files to WAV format for further analysis. Converts to mono 16kHz PCM format optimized for speech/energy analysis.

## Use Cases

- Extracting audio for speech analysis
- Preparing audio for energy calculation
- Converting video audio to standard format

## Usage

```bash
python3 /root/.claude/skills/audio-extractor/scripts/extract_audio.py \
    --video /path/to/video.mp4 \
    --output /path/to/audio.wav
```

### Parameters

- `--video`: Path to input video file
- `--output`: Path to output WAV file
- `--sample-rate`: Audio sample rate in Hz (default: 16000)
- `--duration`: Optional duration limit in seconds (default: full video)

### Output Format

- Format: WAV (PCM 16-bit signed)
- Channels: Mono
- Sample rate: 16000 Hz (default)

## Dependencies

- ffmpeg

## Example

```bash
# Extract first 10 minutes of audio
python3 /root/.claude/skills/audio-extractor/scripts/extract_audio.py \
    --video lecture.mp4 \
    --duration 600 \
    --output audio.wav
```

## Notes

- Output is always mono for consistent analysis
- 16kHz sample rate is sufficient for speech analysis and reduces file size
- Supports any video format that ffmpeg can read

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/benchflow-ai) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

