AUDIOEXTRACTOR

An automated Windows batch utility that probes single or multiple dropped media files, cleanly lists detailed stream metadata (bit-depth, high-precision sample rate, titles, languages), and losslessly demuxes targeted audio streams without re-encoding.

What is Audio Extractor?

Audio Extractor is a hardened, production-ready Windows CLI script designed to demux audio streams out of video and audio containers (such as MKV, MP4, MOV, or TS files) with zero quality loss.

It automatically inspects dropped media files with ffprobe, presents an interactive terminal menu mapping user choices directly to FFmpeg stream numbers (e.g., Stream #0:2), displays formatted sample rates (44.1kHz, 88.2kHz, 96kHz), and extracts your chosen audio stream into its exact native format instantly.

Key Capabilities

Complete Guide: Setting Up FFmpeg on Windows

On a fresh Windows installation, Windows does not know what ffmpeg or ffprobe means until you set them up. Follow these simple steps to configure your environment:

STEP 1 Download FFmpeg for Windows

1. Go to the official builds website: Gyan.dev FFmpeg Builds →

2. Scroll down to the git master builds or release builds section and click on ffmpeg-git-full.7z or ffmpeg-release-full.7z to download the compressed archive file.

3. If you don't have an extractor to open .7z files, download 7-Zip (Free).

STEP 2 Extract FFmpeg to Your Computer

1. Open the downloaded .7z archive file.

2. Open your Local Disk (C:) drive in Windows File Explorer.

3. Extract the folder into C:\ and rename it to ffmpeg. Your path should look like this:

C:\ffmpeg\bin\ffmpeg.exe
C:\ffmpeg\bin\ffprobe.exe
STEP 3 Add FFmpeg to Windows System PATH (Recommended)

Adding FFmpeg to your PATH allows Windows to run ffmpeg and ffprobe from any location on your PC:

  1. Press the Windows Key on your keyboard, type env, and select "Edit the system environment variables".
  2. In the window that appears, click the "Environment Variables..." button near the bottom right.
  3. Under the "User variables for [YourName]" section (top box), click on Path and then click Edit....
  4. Click New on the right side and type: C:\ffmpeg\bin
  5. Click OK on all open windows to save the changes.
ALTERNATIVE The Quick Local Folder Method

If you do not want to configure system environment variables, you can extract the binaries directly to your working folder:

  1. Open the downloaded ffmpeg-release-full.7z (or git-full.7z) archive file using 7-Zip.
  2. Navigate into the internal bin\ folder inside the archive.
  3. Extract both ffmpeg.exe and ffprobe.exe directly into the exact same folder where AudioExtractor.bat is saved.

Your local folder structure should look like this:

📁 MyExtractor/
   ├── 📄 AudioExtractor.bat
   ├── ⚙️ ffmpeg.exe
   └── ⚙️ ffprobe.exe

How to Use Audio Extractor

  1. Download & Extract: Download AudioExtractor.zip and extract AudioExtractor.bat into your desired folder.
  2. Drag and Drop: Drag one or more video/audio files (e.g., Movie1.mkv, Movie2.mp4) directly onto the AudioExtractor.bat file icon.
  3. Inspect & Select Track: Review the numbered list of audio tracks displayed alongside their exact FFmpeg stream index (`Stream #0:1`, `Stream #0:2`).
  4. Input Choice: Type the stream choice number you want to extract (e.g., 1 for English DTS, 2 for Director Commentary) and press Enter.
  5. Retrieve File: Your extracted stream will instantly save to the Extracted Audio\ folder in the same directory.

Automatic Container & Codec Mapping

Audio Extractor intelligently matches probed audio stream formats with their exact native file extensions:

AAC / ALAC → .m4a FLAC → .flac MP3 → .mp3 AC3 → .ac3 E-AC3 → .eac3 TrueHD → .thd DTS → .dts MLP → .mlp Opus → .opus Vorbis → .ogg WavPack → .wv APE → .ape TTA → .tta PCM / WAV → .wav Fallback → .mka
[01]
AAC / ALAC / MPEG-4

Muxes Advanced Audio Coding and Apple Lossless streams directly into standard .m4a audio containers.

[02]
Dolby Digital & TrueHD

Demuxes raw surround bitstreams into native Dolby Digital .ac3, .eac3, or Dolby TrueHD .thd files.

[03]
DTS / Lossless Audiophile

Preserves bitstream headers for DTS, FLAC, WavPack (.wv), Monkey's Audio (.ape), and True Audio (.tta).

[04]
PCM DVD & Blu-Ray Repair

Detects raw PCM hardware streams and enforces 16-bit or 24-bit pcm_s24le quantization inside standard .wav wrappers.