Convert VOC to AC3 — Free Online Tool

Convert VOC audio files — the raw PCM format from Creative Labs' Sound Blaster era — into AC3 (Dolby Digital), transcoding the uncompressed 8-bit or 16-bit PCM audio into multi-channel-ready lossy AC3 at 192kbps by default. This is especially useful for integrating retro DOS game audio into modern home theater or DVD authoring workflows.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

VOC files store raw, uncompressed PCM audio (typically 8-bit unsigned or 16-bit signed little-endian samples) with no perceptual encoding. During this conversion, FFmpeg decodes the raw PCM stream from the VOC container and re-encodes it using the Dolby Digital AC3 codec at 192kbps. Because AC3 is a lossy perceptual codec designed for multi-channel broadcast and disc media, some audio information is discarded during encoding — though for the low-fidelity source audio typical of VOC files (often recorded at 8kHz–22kHz sample rates), the perceptual difference is minimal. The VOC-specific metadata blocks (loop points, silence blocks, extended headers) are not carried over, as AC3 has no equivalent structures for these retro gaming artifacts.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg command-line tool, which handles all demuxing, decoding, encoding, and muxing for this conversion pipeline.
-i input.voc Specifies the input VOC file. FFmpeg detects the VOC container and prepares to demux its block-based PCM audio payload (either 8-bit unsigned or 16-bit signed little-endian PCM) for decoding.
-c:a ac3 Instructs FFmpeg to encode the decoded PCM audio stream using the Dolby Digital AC3 codec, converting the raw uncompressed VOC audio into a perceptually compressed AC3 bitstream compatible with DVD, Blu-ray, and broadcast systems.
-b:a 192k Sets the AC3 audio bitrate to 192 kilobits per second, the default balance point for Dolby Digital stereo content. For the typically low-fidelity PCM audio found in VOC files, 192kbps is sufficient to represent all audible content in the source without unnecessary file size inflation.
output.ac3 Defines the output filename with the .ac3 extension, producing a raw Dolby Digital AC3 bitstream file ready for playback on AC3-compatible decoders or for muxing into a DVD, video container, or broadcast stream.

Common Use Cases

  • Incorporating Sound Blaster-era DOS game sound effects or music into a DVD or Blu-ray disc authoring project that requires AC3 audio tracks
  • Archiving a collection of retro game VOC audio assets into a more storage-efficient format for a home theater media server that natively decodes Dolby Digital
  • Preparing VOC-sourced audio for use in a video production timeline where the editing software or broadcast encoder requires AC3-compatible input
  • Converting old multimedia CD-ROM VOC audio clips into AC3 for use in a documentary or retrospective film about early PC gaming, where the NLE requires Dolby Digital audio
  • Testing how vintage 8-bit PCM audio from DOS applications holds up when encoded through a modern perceptual codec pipeline for quality comparison and archival documentation

Frequently Asked Questions

AC3 is a lossy codec, so some audio information is discarded during encoding. However, VOC files themselves often contain low-sample-rate, 8-bit unsigned PCM audio (common in DOS-era games), which already has significant inherent limitations in fidelity. At the default 192kbps bitrate, AC3 encoding will typically preserve the audible character of the source well. The larger perceptual impact is usually the original VOC's low sample rate or 8-bit depth, not the AC3 encoding step itself.
No. The VOC format includes proprietary Creative Labs block types for loop points, silence insertion, and extended audio parameters used by DOS game engines to trigger repeating sound effects. The AC3 format has no equivalent metadata structures for any of these. During conversion, only the raw audio samples are transcoded; all VOC-specific control blocks are discarded. If loop point data is important to you, document it separately before converting.
Yes. The default command uses '-b:a 192k', but you can substitute any AC3-supported bitrate such as 96k, 128k, 256k, 320k, 384k, 448k, or 640k. For VOC files sourced from 8-bit, low-sample-rate DOS audio, bitrates above 192k yield diminishing returns since the source quality is the bottleneck. For 16-bit VOC files at higher sample rates, 256k or 320k may produce a more accurate result.
AC3 has restrictions on supported sample rates; it natively supports 32kHz, 44.1kHz, and 48kHz. FFmpeg will automatically resample your VOC audio to a compatible rate (typically 48kHz for AC3) during encoding. This upsampling does not add audio information that wasn't in the original — it simply makes the file compatible with the AC3 container. The result will sound identical to the source, just rendered at a standard sample rate.
On Linux or macOS, you can run a shell loop: 'for f in *.voc; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "${f%.voc}.ac3"; done'. On Windows Command Prompt, use: 'for %f in (*.voc) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "%~nf.ac3"'. Each VOC file will be individually decoded and re-encoded to its own AC3 output file at 192kbps.
Yes, provided the source VOC audio is mono or stereo, the resulting AC3 file will be valid Dolby Digital and will decode correctly on any AC3-compatible device. VOC files are always mono or stereo (the format does not support more than two channels), so the output will be a standard 1.0 or 2.0 Dolby Digital stream — not a 5.1 surround file. If you need multi-channel AC3, you would need to supply a multi-channel source to begin with.

Technical Notes

VOC files use a block-based container with raw PCM payloads, supporting 8-bit unsigned (pcm_u8) and 16-bit signed little-endian (pcm_s16le) sample formats, and are strictly mono or stereo. AC3 uses psychoacoustic perceptual encoding based on the Modified Discrete Cosine Transform (MDCT), designed for efficient compression of audio in broadcast and disc media. Because the VOC source is uncompressed, FFmpeg can decode it losslessly before the AC3 encode stage — meaning no generation loss accumulates on the decode side. The primary quality consideration is the encode-side lossy compression. VOC files from DOS games frequently have sample rates of 8kHz, 11.025kHz, or 22.05kHz; FFmpeg's resampler will upsample these to 48kHz for AC3 compatibility, which is transparent in practice. The VOC format's unique block types — including repeat loop blocks (type 0x06/0x07) and silence blocks (type 0x03) — are silently ignored during demuxing; only audio sample data is passed to the encoder. The resulting AC3 file carries no legacy metadata from the original VOC structure.

Related Tools