# Video To Wav

> Extracts audio tracks from video files to PCM WAV using FFmpeg while preserving source quality. Use when the user wants to extract audio from video, rip sound from MP4/MKV/MOV/WebM, export video audio to WAV, or batch-convert video soundtracks without quality loss.

- **Type:** Skill
- **Install:** `agentstack add skill-godot-fun-godot-framework-video-to-wav`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [godot-fun](https://agentstack.voostack.com/s/godot-fun)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [godot-fun](https://github.com/godot-fun)
- **Source:** https://github.com/godot-fun/godot-framework/tree/main/.cursor/skills/video-to-wav

## Install

```sh
agentstack add skill-godot-fun-godot-framework-video-to-wav
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Video to WAV

Extract the first audio track from supported video files to **PCM WAV** via FFmpeg. **Defaults preserve source quality** — no resampling, bit depth matched from the embedded audio (32-bit float for lossy codecs), channels preserved, video stream discarded (`-vn`).

## Rules

When this skill applies, read and follow [skill-dependency-manager](../../rules/skill-dependency-manager.md) — run scripts as documented, install missing tools into `.dependency/`.

## Quick Start

Extract a file or folder, output to `wav/`:

```bash
.dependency/python/python .cursor/skills/video-to-wav/scripts/extract.py path/to/video_or_folder
```

Example: `assets/clip.mp4` → `assets/wav/clip.wav` (same rate/depth as embedded audio)

Batch with subfolders:

```bash
.dependency/python/python .cursor/skills/video-to-wav/scripts/extract.py Video/Clips -r
```

## Format Defaults

| Setting | Default | Notes |
|---------|---------|-------|
| Audio track | First (`a:0`) | Use `--track N` for alternate tracks (0-based) |
| Sample rate | Preserve source | No resampling unless `-s` or `--standardize` |
| Bit depth | Match source | Probed per file; lossy → 32-bit float PCM |
| Channels | Preserve source | Use `--mono` or `--stereo` to force |
| Lossless PCM in container | Stream copy | Bit-perfect when no overrides |

## Common Flags

`-r` · `-o` / `--output-dir` · `--track` · `-s` / `--sample-rate` · `-b` / `--bit-depth` · `--standardize` · `--mono` · `--stereo` · `--dry-run` · `--overwrite`

Alternate audio track:

```bash
.dependency/python/python .cursor/skills/video-to-wav/scripts/extract.py clip.mkv --track 1
```

Downconvert for project batch preset (48 kHz / 16-bit):

```bash
.dependency/python/python .cursor/skills/video-to-wav/scripts/extract.py Video/Clips -r --standardize
```

**Never overwrite source files.** The script writes only to `wav/` (or `-o`). Supported inputs: `.mp4`, `.mkv`, `.mov`, `.avi`, `.webm`, `.wmv`, `.flv`, `.m4v`, `.mpeg`, `.mpg`, `.ts`, `.mts`, `.m2ts`, `.3gp`.

## Agent Notes

1. Use the bundled script, not hand-written `ffmpeg -i …` commands.
2. **Do not downsample or reduce bit depth** unless the user explicitly asks — omit `-s`, `-b`, and `--standardize`.
3. **No audio track** — script reports failure; confirm the file has an audio stream.
4. Missing Python/FFmpeg → populate `.dependency/` per skill-dependency-manager, retry same command.
5. **Do not copy, move, or replace the source with extracted output** — tell the user where `wav/` files are; they swap assets manually when ready.
6. Need **48 kHz / 16-bit project batch** → pass `--standardize`.
7. This skill is for video containers only; standalone audio files are out of scope.
8. FFmpeg codec and probing details: [reference.md](reference.md)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [godot-fun](https://github.com/godot-fun)
- **Source:** [godot-fun/godot-framework](https://github.com/godot-fun/godot-framework)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-godot-fun-godot-framework-video-to-wav
- Seller: https://agentstack.voostack.com/s/godot-fun
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
