audio-extraction

Extract and convert audio from video sources into MP3, FLAC, AAC, Opus, or WAV.

364|53|Updated May 9, 2026
One-click install
npx skills add https://github.com/cosmicstack-labs/mercury-agent-skills --skill audio-extraction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audio-extraction
Source: https://github.com/cosmicstack-labs/mercury-agent-skills/tree/main/categories/media-download/audio-extraction
Command: npx skills add https://github.com/cosmicstack-labs/mercury-agent-skills --skill audio-extraction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of turning video files and podcast feeds into clean, correctly formatted, and well-tagged audio collections without manual, error-prone transcoding.

Core Features & Use Cases

  • Audio extraction from video (yt-dlp/ffmpeg): Extract best-quality audio tracks from YouTube and convert them to MP3/FLAC/AAC/Opus/WAV for playback or archival.
  • Batch processing and media cleanup: Convert multiple files, split by chapters, trim segments, merge tracks, and normalize loudness so everything sounds consistent.
  • Metadata tagging for library hygiene: Embed thumbnails and tags, generate ID3 metadata (e.g., artist/album/title), and improve searchability and organization with consistent naming conventions.
  • Speech-ready extraction for transcription: Produce mono 16kHz WAV optimized for speech-to-text workflows from video sources.
  • Use case: Build a personal music and podcast library by extracting audio from a folder of recordings, converting to MP3/Opus as appropriate, normalizing loudness, and tagging files from filename patterns.

Quick Start

Use the audio-extraction skill to download the highest-quality MP3 audio from a YouTube video while embedding metadata and the thumbnail.

Frequently Asked Questions about audio-extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract audio from a YouTube video and convert it to MP3?

You can extract audio from video sources using yt-dlp to fetch the best-quality audio stream and ffmpeg to transcode it into MP3 format. This workflow preserves original audio quality while embedding ID3 metadata and cover art.

What is loudness normalization and how does it work for audio files?

Loudness normalization adjusts the perceived volume across multiple audio files so everything sounds consistent. It analyzes and applies gain changes during the audio extraction process, ensuring uniform loudness throughout your personal music or podcast library.

Can I batch process multiple video files to split audio by chapters?

Yes, batch processing allows you to convert multiple video files at once. You can split audio tracks by chapters, trim specific segments, and merge tracks together using ffmpeg-based transcoding pipelines without manual intervention.

Does audio extraction work with podcast RSS feeds for automated downloading?

Audio extraction supports podcast RSS retrieval, allowing you to automatically download and convert episodes from podcast feeds. The workflow integrates yt-dlp and ffmpeg to transcode episodes and apply consistent ID3 tagging for organized library management.

How do I prepare mono 16kHz WAV audio for speech-to-text transcription?

To produce speech-ready audio for transcription, extract the audio track from your video source and transcode it to mono 16kHz WAV format. This specific format is optimized for speech-to-text workflows and ensures accurate transcription results.

What is the best way to add ID3 metadata and tags to extracted audio files?

The best way to add ID3 metadata is by embedding thumbnails, generating artist/album/title tags, and applying consistent naming conventions during the audio extraction process. This improves searchability and organization within your personal library.