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.
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.
shift loop.\ / : * ? " < > |) to ensure bulletproof file creation.pcm_dvd / pcm_bluray) by re-enforcing exact bit-depth mappings (16-bit / 24-bit pcm_s24le) to produce clean WAV files.PATH first, falling back to local folder binaries if missing.Extracted Audio\ subfolder without cluttering your source folders.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:
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).
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
Adding FFmpeg to your PATH allows Windows to run ffmpeg and ffprobe from any location on your PC:
env, and select "Edit the system environment variables".Path and then click Edit....C:\ffmpeg\binIf you do not want to configure system environment variables, you can extract the binaries directly to your working folder:
ffmpeg-release-full.7z (or git-full.7z) archive file using 7-Zip.bin\ folder inside the archive.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
AudioExtractor.zip and extract AudioExtractor.bat into your desired folder.
Movie1.mkv, Movie2.mp4) directly onto the AudioExtractor.bat file icon.
1 for English DTS, 2 for Director Commentary) and press Enter.
Extracted Audio\ folder in the same directory.
Audio Extractor intelligently matches probed audio stream formats with their exact native file extensions:
Muxes Advanced Audio Coding and Apple Lossless streams directly into standard .m4a audio containers.
Demuxes raw surround bitstreams into native Dolby Digital .ac3, .eac3, or Dolby TrueHD .thd files.
Preserves bitstream headers for DTS, FLAC, WavPack (.wv), Monkey's Audio (.ape), and True Audio (.tta).
Detects raw PCM hardware streams and enforces 16-bit or 24-bit pcm_s24le quantization inside standard .wav wrappers.