How to Convert DAV to MP4 (CCTV/DVR Footage, Free Methods)
How to Convert DAV to MP4 (CCTV/DVR Footage, Free Methods)
You exported security footage from your DVR — maybe an incident at the front door, a delivery dispute, or something the police asked you to send over — and the file landed on your drive with a .dav extension. You double-click it. QuickTime shrugs. Windows Media Player throws an error. Your phone won't even acknowledge it exists. Suddenly the most important video you own is the one thing you can't watch or share. That's when almost everyone ends up searching for how to convert DAV to MP4.
The good news: in most cases you can convert DAV to MP4 for free, often using software you already have. The catch is that DAV is a deliberately awkward format, and the right method depends on whether your file is encrypted and which brand of camera system recorded it. This guide walks through every reliable way to turn a .dav file into a universal MP4 — starting with the method that works even on encrypted footage — plus the privacy precautions that actually matter when you're handling surveillance video.
What Is a DAV File?
A .dav file is a proprietary video format created by Dahua Technology, one of the largest manufacturers of surveillance hardware in the world. Because so many DVR and NVR systems are built on Dahua's platform or licensed from it, the format shows up across a huge range of brands you may recognize:
- Dahua (the original source of the format)
- Amcrest (built on Dahua hardware)
- Lorex
- Swann
- Countless white-label and OEM DVR/NVR systems sold under store brands
When you record footage to a DVR's hard drive and then export a clip — usually via the recorder's on-screen menu or a desktop client — it gets saved as .dav rather than a standard format like MP4. There are two reasons manufacturers do this:
- Tamper resistance. DAV files are often encrypted and stamped with metadata (timestamps, channel info) so footage can be authenticated as evidence and not easily edited. That's great for a court case, but terrible when you just want to email a clip.
- Proprietary lock-in. The format is designed to be played in the manufacturer's own software, which keeps you inside their ecosystem.
The result is a file that holds genuinely important video — but in a wrapper that no mainstream player understands.
Why won't my DAV file play?
DAV won't open in QuickTime, Windows Media Player, the Photos app, or on iPhone and Android because none of them include a decoder for Dahua's proprietary container. Even when the underlying video is ordinary H.264, the .dav wrapper (and, frequently, encryption) blocks standard players from reading it. To watch or share the footage anywhere outside the DVR's own software, you need to convert DAV to MP4 — the format that plays on every phone, browser, TV, and editor.
Encrypted vs. Unencrypted DAV (Read This First)
Before you pick a method, you need to know which kind of .dav file you have, because it determines what will and won't work:
- Unencrypted DAV — Some exports are plain video in the
.davcontainer with no encryption. These can often be converted with general-purpose tools like VLC or FFmpeg. - Encrypted DAV — Many modern Dahua/Amcrest/Lorex/Swann exports are encrypted. These will only open in the manufacturer's own player, which holds the decryption key. VLC, FFmpeg, and most third-party converters will fail or produce garbage.
There's no reliable way to tell at a glance, so the practical advice is simple: try the manufacturer's player first (Method 1). It works for both cases, and it's the only thing that works for encrypted files.
Method 1: The Manufacturer's Player (Most Reliable, Works on Encrypted Files)
Every major DVR brand ships a free desktop application that can both play .dav footage and export it to MP4 or AVI. Because this software holds the decryption key, it's the only method that reliably handles encrypted DAV files — and it's the one you should try before anything else.
The most common app is Dahua's SmartPlayer (sometimes labeled General Player or DSS Player). Amcrest ships its own near-identical version, and Lorex and Swann provide equivalent desktop clients.
How to convert DAV to MP4 with Dahua SmartPlayer / General Player:
- Download the player from your camera brand's official support site (Dahua, Amcrest, Lorex, or Swann). Always use the official source — surveillance-player downloads are a common malware vector on third-party sites.
- Open the app and load your
.davfile (drag it in, or use Open File). - If the file is encrypted, the player will prompt you for the password you set when exporting. Enter it.
- Play the clip to confirm it's the footage you want, and trim to the exact section if the player allows it.
- Look for an Export, Save, or Backup button — often a small disc or scissors icon on the playback toolbar.
- Choose MP4 (or AVI) as the output format, pick a destination, and export.
This produces a clean, standard MP4 that plays everywhere. It's slightly more clicks than dragging a file into a converter, but it's the most dependable route and the safest one for sensitive evidence, since nothing leaves your computer.
Tip: If you're exporting new footage from the DVR and haven't done it yet, many recorders let you choose MP4 directly in the backup/export menu instead of
.dav. Doing that at the source saves you this whole step.
Method 2: VLC (Free, for Unencrypted DAV Only)
VLC Media Player is free, cross-platform, and can play and convert some .dav files — specifically unencrypted ones. If your file isn't encrypted and the video inside is standard H.264, VLC may handle it directly.
How to convert DAV to MP4 in VLC:
- First, test playback: open VLC, go to Media → Open File, and select your
.davfile. If it plays, you're in business. (If you only get audio, a black screen, or an error, the file is likely encrypted — go back to Method 1.) - Go to Media → Convert / Save (on macOS: File → Convert / Stream).
- Click Add and choose your
.davfile. - Click Convert / Save, then under Profile select Video - H.264 + MP3 (MP4).
- Set a destination filename ending in
.mp4and click Start (or Save).
A quick trick if VLC won't recognize the extension: rename a copy of input.dav to input.h264 or input.mp4 and try opening that — some unencrypted DAV streams are raw H.264 that VLC reads fine once the extension stops confusing it.
Important: VLC has no way to decrypt protected DAV files. If your footage is encrypted, VLC will fail no matter what you rename it to. There's no workaround here except the manufacturer's player.
This is a solid free option, and VLC is the same tool people reach for to convert a video to MP4 from dozens of other formats. If it works for your file, great — if not, it costs you nothing to find out.
Method 3: FFmpeg (Command Line, Unencrypted DAV)
If you're comfortable in a terminal, FFmpeg can often remux or transcode an unencrypted .dav straight to MP4. Install it via Homebrew on macOS:
brew install ffmpeg
Then try a transcode:
ffmpeg -i input.dav -c:v libx264 -c:a aac output.mp4
This decodes the DAV stream and re-encodes it to a standard H.264/AAC MP4 that plays anywhere. If the audio errors out (some DVR audio uses unusual codecs), drop it:
ffmpeg -i input.dav -c:v libx264 -an output.mp4
If the video inside is already H.264, you can sometimes skip re-encoding entirely and just remux for a faster, lossless result:
ffmpeg -i input.dav -c copy output.mp4
Run ffmpeg -i input.dav on its own first to see what streams FFmpeg can detect. As with VLC, FFmpeg cannot decrypt encrypted DAV files — if it reports that it can't find any usable stream, your file is almost certainly protected and you'll need Method 1.
FFmpeg is the same engine behind most desktop converters, so if you already use it for things like a MKV to MP4 remux, this fits right into your workflow.
Method 4: Dedicated DAV Converters and Online Tools (Watch the Privacy Trap)
Search "DAV to MP4 converter" and you'll find two categories of third-party tools:
- Dedicated desktop DAV converters. Several small Windows utilities exist specifically to batch-convert
.davfiles. These can be convenient if you have a folder full of exports, but the same encryption rule applies: most can't decrypt protected files, and quality varies. Vet the developer before installing, since this niche attracts shady downloads. - Online "convert DAV to MP4" websites. These ask you to upload your
.davfile and download an MP4 in return.
For surveillance footage, online converters deserve a serious warning. Think about what's actually in these files: the inside of your home, your family, your business, your license plates, your delivery driver, faces of people who never consented to be uploaded anywhere. Sending that to an anonymous web service means:
- Your private footage sits on a third-party server you don't control.
- You have no idea how long it's retained, who can access it, or where it's stored.
- If the footage is evidence, uploading it can compromise its integrity and chain of custody.
For something as sensitive as CCTV video, don't use online converters. Stick to the manufacturer's player or a fully local tool like VLC or FFmpeg. The whole point of converting your own security footage is to stay in control of it — handing it to a random website defeats that.
After Converting: Compress the MP4 for Storage and Sharing
Here's the honest part: Compresto does not decode or decrypt proprietary .dav files directly. Use Methods 1–3 above to produce your MP4 first. But once you have that MP4, Compresto solves the next problem — and with surveillance footage, it's a big one.
Security recordings are enormous. DVRs record continuously at high bitrates, so even a few minutes of exported footage can run into the hundreds of megabytes or gigabytes. That makes the converted MP4 a pain to email, awkward to upload to a portal, and expensive to back up across months of clips.
Compresto is a native macOS app built exactly for this. Drop your converted MP4 onto the window and Compresto uses hardware-accelerated H.264 or HEVC encoding on Apple Silicon to shrink the file — often by 60–90% — while keeping the footage clearly viewable. And critically for surveillance video, everything happens locally on your Mac. Nothing is uploaded to a server. That's the same privacy principle that should rule out online converters: your footage of your home and family never leaves your machine.
It also handles batches, so if you've exported and converted a whole stack of incident clips, you can compress them all in one pass. Compresto works on videos, images, PDFs, and GIFs, making it a one-stop tool for cleaning up footage before you archive or send it.
Download Compresto free for macOS and compress your converted footage privately, in seconds.
Frequently Asked Questions
How do I convert a DAV file to MP4?
The most reliable way is to open the file in your camera brand's free desktop player — Dahua SmartPlayer / General Player, or the Amcrest, Lorex, or Swann equivalent — and use its built-in Export to MP4 option. This works even on encrypted files. If your DAV is unencrypted, you can also convert it with VLC (Media → Convert / Save → H.264 + MP3 (MP4)) or FFmpeg (ffmpeg -i input.dav -c:v libx264 -c:a aac output.mp4).
What program opens DAV files?
DAV files open in the manufacturer's player — most commonly Dahua's SmartPlayer or General Player, which also ships rebranded by Amcrest, Lorex, and Swann. VLC can open unencrypted DAV files but not encrypted ones. No mainstream player (QuickTime, Windows Media Player, the iPhone or Android photo apps) supports DAV natively, which is why converting to MP4 is the practical fix.
Why won't my DAV file play?
Because .dav is Dahua's proprietary, often-encrypted surveillance format, and standard players have no decoder for it. Even when the video inside is ordinary H.264, the DAV wrapper and any encryption block QuickTime, Windows Media Player, and phones from reading it. Convert the file to MP4 — using the steps above — and it will play everywhere.
Can VLC convert DAV to MP4?
Yes, but only for unencrypted DAV files. Test playback in VLC first; if the clip plays, use Media → Convert / Save, choose the Video - H.264 + MP3 (MP4) profile, and save with an .mp4 extension. If VLC shows a black screen, an error, or only audio, your file is encrypted and you'll need the manufacturer's player (Method 1) instead, since VLC cannot decrypt protected footage.
How do I convert encrypted DAV files?
Encrypted DAV files can only be opened by the manufacturer's player, which holds the decryption key — VLC, FFmpeg, and third-party converters will fail. Download the official player (Dahua SmartPlayer / General Player, or your brand's version), load the file, enter the export password when prompted, then use the Export to MP4 option. After that, you have a standard MP4 you can compress, store, or share like any other video.
Is it safe to use online DAV to MP4 converters?
For surveillance footage, no — it's a real privacy risk. Uploading CCTV clips means handing video of your home, family, business, or other people to a third-party server you don't control, with unknown retention and access. It can also compromise footage being used as evidence. Use a local method (manufacturer player, VLC, or FFmpeg) instead, and keep the file on your own machine.
Conclusion
Converting a .dav file to MP4 is mostly about matching the method to the file. If it's encrypted — and many Dahua, Amcrest, Lorex, and Swann exports are — only the manufacturer's free player will do the job, and its built-in Export to MP4 option is genuinely easy once you know to look for it. If the file is unencrypted, VLC and FFmpeg are free, fully local, and quick. What you should not do is upload sensitive security footage to a random online converter.
Once you've got your MP4, the footage is usually far bigger than it needs to be. Compresto shrinks it by up to 90% right on your Mac — no uploads, full privacy, and batch processing for whole folders of clips. If you regularly wrangle video formats, it pairs naturally with our guides to the best video converter for Mac and using a MOV to MP4 converter for Mac.
Download Compresto for macOS and handle conversion cleanup and compression in one private, local workflow.