Convert DVR to AC3 — Free Online Tool

Extract and convert the audio track from DVR recordings into AC3 (Dolby Digital) format, encoded at 192kbps using the ac3 codec. This is ideal for repurposing surveillance or broadcast-captured footage audio into a format natively compatible with DVD authoring tools, home theater systems, and broadcast pipelines.

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

DVR files typically store audio encoded in AAC or MP3 (libmp3lame) alongside H.264 or MJPEG video. This conversion strips the video stream entirely and transcodes only the audio track into AC3, Dolby Digital's lossy compression format. Because AAC and AC3 use fundamentally different psychoacoustic compression models, a full decode-and-reencode is required — the AAC audio is first decoded to raw PCM, then re-encoded using the ac3 codec. This means there is a generation of quality loss, though at 192kbps the output is transparent for most broadcast and home theater use cases. The output is a raw AC3 bitstream file (.ac3), not wrapped in a container, making it directly importable into DVD authoring tools like DVDStyler or Encore.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg program. In the browser tool, this runs via FFmpeg.wasm compiled to WebAssembly, executing the same logic as the desktop binary entirely within your browser — no data leaves your machine.
-i input.dvr Specifies the input DVR file. FFmpeg automatically probes the DVR container to detect the audio codec (typically AAC or MP3) and channel layout before beginning the transcode.
-c:a ac3 Instructs FFmpeg to encode the audio stream using the ac3 codec, producing Dolby Digital output. This triggers a full decode-reencode cycle since the DVR's source audio (AAC or MP3) cannot be stream-copied into the AC3 format.
-b:a 192k Sets the AC3 output bitrate to 192 kilobits per second. This is a solid default for stereo Dolby Digital — sufficient for broadcast and DVD use while keeping file sizes manageable. For 5.1 surround content, 384k is the DVD standard.
output.ac3 Defines the output filename with the .ac3 extension, producing a raw Dolby Digital bitstream file. This format is directly accepted by DVD authoring applications and can be muxed into MPEG-2 or MKV containers using FFmpeg in a subsequent step.

Common Use Cases

  • Authoring a DVD from captured broadcast television content, where the authoring tool requires a standalone AC3 audio file rather than AAC embedded in a DVR container
  • Extracting dialogue or audio from a DVR surveillance recording for use as evidence or archival, in a format compatible with professional video editing software that prefers Dolby Digital audio
  • Repurposing broadcast-captured DVR recordings for a home theater presentation where the A/V receiver or player requires AC3/Dolby Digital rather than AAC
  • Preparing audio from a DVR-recorded television program for muxing into a Blu-ray or DVD project, where AC3 is the mandated audio format for the disc specification
  • Converting surveillance DVR audio to AC3 for integration into a broadcast monitoring or logging system that ingests Dolby Digital streams
  • Separating and converting the audio component of a DVR recording to AC3 as a preprocessing step before re-encoding the full project in a professional NLE workflow

Frequently Asked Questions

Yes, this is a lossy-to-lossy transcode. The source DVR file already uses lossy compression (typically AAC or MP3), and AC3 is itself a lossy format. Re-encoding introduces an additional generation of compression artifacts, since the audio must be fully decoded to PCM and then re-encoded using Dolby Digital's psychoacoustic model. At the default 192kbps output bitrate, this quality loss is generally inaudible for speech-heavy surveillance or broadcast content, but audiophiles working with music-heavy source material may notice subtle degradation.
The AC3 format in this context produces a raw Dolby Digital bitstream — a headerless audio-only file not wrapped in a container like MP4 or MKV. This is intentional: raw AC3 files are the standard input format for DVD and Blu-ray authoring tools, and they can be directly muxed into MPEG-2 program streams. If you need the AC3 audio inside a container, you can mux the output .ac3 file into an MKV or MP4 using FFmpeg separately after this conversion.
No. The FFmpeg command used by this tool extracts only the audio stream and re-encodes it to AC3. The video stream — whether H.264 or MJPEG — is discarded entirely. The output .ac3 file is audio-only. If you need to retain the video, you would need a different conversion workflow that muxes the video into a container alongside the AC3 audio track.
The bitrate is controlled by the -b:a flag in the command. The default is 192k, but AC3 supports bitrates from 96k up to 640k. For example, to encode at 384kbps — the standard for 5.1 surround Dolby Digital on DVDs — you would change the command to: ffmpeg -i input.dvr -c:a ac3 -b:a 384k output.ac3. Higher bitrates preserve more audio fidelity but produce larger files. Note that AC3 bitrate options are fixed steps, not a continuous range, so use values like 96k, 128k, 192k, 256k, 320k, 384k, 448k, or 640k.
Yes. On Linux or macOS, you can loop through all DVR files in a directory with: for f in *.dvr; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "${f%.dvr}.ac3"; done. On Windows Command Prompt, use: for %f in (*.dvr) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "%~nf.ac3". The browser-based tool processes one file at a time, so the FFmpeg command is particularly valuable for bulk workflows involving large DVR archives.
Yes. AC3 (Dolby Digital) is one of the mandatory audio formats for DVD and is universally supported by home theater receivers, Blu-ray players, and DVD players manufactured in the last two decades. However, compatibility depends on the channel configuration: if the source DVR audio is stereo (2-channel), the AC3 output will also be stereo, not 5.1 surround. Most DVR recordings from television broadcast or surveillance systems are mono or stereo, so do not expect the conversion to upmix or add surround channels that were not present in the original recording.

Technical Notes

The DVR format stores audio most commonly as AAC (the default) or libmp3lame-encoded MP3, neither of which shares a codec with AC3. This means no stream copying is possible — FFmpeg must fully decode the source audio to uncompressed PCM before re-encoding to Dolby Digital using its built-in ac3 encoder. The AC3 encoder in FFmpeg supports joint stereo and mono configurations automatically based on the source channel layout, and it adheres to the ATSC A/52 specification. One important limitation: FFmpeg's native ac3 encoder does not produce Dolby Digital Plus (E-AC3/eac3); for that, a separate codec selection would be needed. Metadata from the DVR source (recording timestamps, channel info, or device identifiers embedded by the recorder) is not preserved in the raw AC3 bitstream, as the .ac3 format has no container-level metadata support. Additionally, if the source DVR file contains multiple audio tracks or program streams (common in broadcast DVR recordings), FFmpeg will default to the first detected audio track; use -map 0:a:1 and similar flags to select alternate tracks when running the command locally.

Related Tools