Convert DVR to ALAC — Free Online Tool

Convert DVR recordings to ALAC (Apple Lossless Audio Codec), extracting the audio track from your digital video recorder footage into a lossless M4A file compatible with iTunes, Apple Music, and the broader Apple ecosystem. ALAC preserves every bit of the original audio data with no quality loss, stored in an MPEG-4 container.

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 contain video encoded with H.264 (libx264) or MJPEG alongside AAC or MP3 audio, all wrapped in a proprietary container used by digital video recorders for TV capture or surveillance footage. During this conversion, the video stream is completely discarded — only the audio track is extracted and re-encoded using the ALAC codec into an M4A container. Because DVR audio is commonly AAC (a lossy format), the audio is decoded from AAC and then re-encoded as ALAC lossless. This means ALAC captures a perfect lossless snapshot of what the lossy DVR audio contained — no further generation loss is introduced beyond what already existed in the source recording.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg multimedia processing engine — the same underlying library that powers this browser-based tool via WebAssembly. All conversion parameters follow this command.
-i input.dvr Specifies the input DVR file. FFmpeg will probe the proprietary DVR container to identify and demux the contained video and audio streams — typically H.264 video and AAC or MP3 audio — before processing begins.
-c:a alac Sets the audio codec to ALAC (Apple Lossless Audio Codec), instructing FFmpeg to decode the source DVR audio stream (usually AAC or MP3) and re-encode it as lossless ALAC data suitable for storage in an M4A container.
-c:a alac This flag appears twice in the resolved command, which is redundant but harmless — FFmpeg applies the last valid instance. In practice, a single '-c:a alac' is sufficient to specify ALAC encoding for the output audio stream.
output.m4a Defines the output filename with the .m4a extension, which signals to FFmpeg to use the MPEG-4 audio container — the standard and correct container for ALAC files and the format natively recognized by iTunes, Apple Music, iOS, and macOS.

Common Use Cases

  • Archiving audio from DVR-recorded broadcast television programs — such as news segments, interviews, or live performances — in lossless quality for long-term storage in an iTunes or Apple Music library.
  • Extracting the audio commentary or dialogue track from surveillance DVR footage for use as evidence or documentation, where preserving exact audio fidelity without additional compression artifacts is critical.
  • Pulling the audio from a DVR-captured broadcast event (a concert, sports broadcast, or live show) to create a high-quality audio archive playable on Apple devices without re-encoding degradation.
  • Converting DVR recordings of radio or TV shows to ALAC for playback on an iPhone, iPad, or Apple TV using the native Files or Music app, without introducing additional lossy compression.
  • Preparing DVR audio tracks for professional audio editing in Logic Pro or GarageBand, where working from a lossless intermediate file avoids cumulative quality loss during editing and export.
  • Migrating a library of DVR-recorded content to an Apple-centric media workflow, using ALAC's iTunes compatibility and metadata tag support to organize recordings with proper titles and artwork.

Frequently Asked Questions

No — ALAC is lossless, meaning it perfectly preserves whatever audio data it receives, but it cannot recover detail that was already discarded by the DVR's lossy AAC or MP3 encoder. The resulting ALAC file will sound identical to the audio in the source DVR recording. The benefit of ALAC is that no additional quality is lost during this conversion, and no further loss will occur if you process or re-export the file later.
ALAC is Apple's lossless codec and is stored inside the MPEG-4 container format, which uses the .m4a file extension for audio files. This is the standard and expected container for ALAC — it is what iTunes, Apple Music, and iOS devices natively recognize. If you need a different lossless format like FLAC or WAV, you would need a different conversion tool targeting those output formats.
DVR files are proprietary and often carry minimal or non-standard metadata — typically a timestamp or channel identifier, if anything. The ALAC/M4A format supports rich metadata tags (title, artist, album, artwork), but those tags will only populate from whatever the DVR container actually contains. In most cases you will need to add metadata manually after conversion using iTunes, MP3Tag, or a similar tool.
The ALAC output will be dramatically smaller than the DVR source file because the video stream — which accounts for the vast majority of DVR file size — is completely removed. The audio-only ALAC file size depends on the duration and original audio bitrate, but a one-hour DVR recording with AAC audio at 128k will typically yield an ALAC file of only 50–100 MB, compared to several gigabytes for the original video recording.
ALAC is a lossless codec and does not use a bitrate or quality parameter — it always encodes every sample perfectly, so there is no quality knob to adjust. The only meaningful variable is the sample rate and bit depth inherited from the source audio stream. If you want to change the sample rate, you can add '-ar 44100' or '-ar 48000' to the command before the output filename, but this is rarely necessary for standard DVR audio.
Yes — on Linux or macOS you can adapt the command with a shell loop: 'for f in *.dvr; do ffmpeg -i "$f" -c:a alac "${f%.dvr}.m4a"; done'. On Windows PowerShell you can use 'Get-ChildItem *.dvr | ForEach-Object { ffmpeg -i $_.FullName -c:a alac ($_.BaseName + ".m4a") }'. This is especially useful for large DVR archives that exceed the 1GB browser-based limit of the online tool.

Technical Notes

DVR is a catch-all term for proprietary container formats used by consumer and professional digital video recorders from manufacturers such as Hikvision, Dahua, TiVo, and others. FFmpeg's support for specific DVR variants can vary — some DVR containers are well-supported while others may require manufacturer-specific tools for demuxing. The audio stream inside most DVR files is AAC at 128k or MP3, both lossy formats. When decoded and re-encoded to ALAC, the result is a lossless representation of that already-lossy audio — a process sometimes called 'lossless wrapping of lossy source material.' The ALAC codec flag '-c:a alac' instructs FFmpeg to use its native ALAC encoder, which produces files fully compatible with Apple's ecosystem without requiring any third-party library. The output M4A container supports chapter markers, which ALAC includes in its feature set, though DVR sources do not carry chapter data so this field will remain empty. Subtitle and secondary audio track data are not applicable here — DVR's single audio track maps directly to ALAC's single-track limitation, so no stream selection issues arise in standard conversions.

Related Tools