Audio Extractor
Extract audio from videos and download audio-only content from 1500+ websites using...
Install
npx skills add dp-archive/archive --skill audio-extractor -g -a claude-code -y- Repository
- dp-archive/archive1.1k
- Category
- Media
- Updated
- 8mo ago
- License
- Apache-2.0
- Context cost
- Mediumabout 1,898 tokens
- Runs scripts
- Yes, review before use
What it does
Extract audio from videos and download audio-only content from 1500+ websites using yt-dlp. Converts to MP3, M4A, FLAC, WAV, or OPUS with embedded metadata and cover art. Use when the user wants to extract audio from videos, download podcasts, download music from YouTube/SoundCloud/Bandcamp, convert video to audio, or batch download playlist audio. Triggers on requests like 'extract audio', 'download as MP3', 'get the audio from this video', 'download this podcast', 'download music', 'convert to FLAC'.
Audio Extractor
Extract pure audio from videos and download audio content. Supports format conversion, metadata embedding, and batch playlist processing.
Prerequisites
- Executor: Must use the
remotionexecutor (provides yt-dlp, ffmpeg, deno) - JS Runtime: deno is required for YouTube extraction (yt-dlp 2025+ default). The remotion executor includes deno.
- ffmpeg: Required for audio format conversion and metadata embedding. Included in remotion executor.
Limitations
| Issue | Detail |
|---|---|
| YouTube rate limiting | Server IPs are frequently rate-limited by YouTube. If you get "This content isn't available, try again later", wait ~1 hour or ask the user to upload the audio file directly. |
| YouTube JS runtime | yt-dlp requires deno for YouTube. Without it: No supported JavaScript runtime could be found. |
| Geo-restrictions | Some content may be region-locked. Use --geo-bypass flag. |
| Authentication | Some platforms require cookies. Use --cookies-from-browser or --cookies cookies.txt. |
Fallback strategy: If YouTube download fails, suggest the user upload the audio file directly or provide a direct audio URL.
Quick Start
# Extract audio (best quality, original format)
yt-dlp -x "URL"
# Extract as MP3
yt-dlp -x --audio-format mp3 "URL"
# MP3 with metadata and cover art
yt-dlp -x --audio-format mp3 --embed-metadata --embed-thumbnail "URL"
Audio Formats
Format Selection
| Format | Command | Use Case |
|---|---|---|
| MP3 | --audio-format mp3 | Universal compatibility |
| M4A/AAC | --audio-format m4a | Apple devices, good quality/size |
| FLAC | --audio-format flac | Lossless, archival |
| WAV | --audio-format wav | Uncompressed, editing |
| OPUS | --audio-format opus | Best quality/size ratio |
| Vorbis | --audio-format vorbis | Open source, OGG container |
| Best | --audio-format best | Keep original (no conversion) |


