DVR file formats

How to Convert DAV to MP4 (Free, Step by Step)

A DAV file only plays in the maker's own software. Turning it into an MP4 makes it play on any phone, browser or editor. It also lets you share the clip as evidence. Here are the free methods that work, and how to tell which one your file needs.

DVRXaminer Team · 7 min read · Updated August 2026
The short answer

The safest free way to convert a DAV file to MP4 is the maker's own player, Dahua Smart Player or its Amcrest, Lorex and Swann equivalents, which has a built-in export and works even on encrypted files. If your DAV file is not encrypted, VLC also converts it through Media then Convert or Save with an MP4 profile. A DAV to MP4 converter or an online tool can work too, but keep sensitive footage off online converters. Match the output resolution to the source so you keep the detail, and always convert the real file rather than screen-recording it.

MP4 is the format that plays everywhere, so learning to convert a DAV file to MP4 is usually the quickest way to make surveillance footage usable. Once it is an MP4 you can watch it on an Android phone or iPhone, drop it into an editor like Premiere Pro, or email it to the police, none of which a raw .dav file allows. The method that works depends on one thing above all, whether your file is encrypted.

First, check if your DAV file is encrypted

This is the single detail that decides which method works, so it is worth understanding before you start.

  • Unencrypted DAV. Some exports are plain video sitting in a .dav container with no protection. General tools like VLC and FFmpeg can convert these.
  • Encrypted DAV. Many modern Dahua, Amcrest, Lorex and Swann exports are encrypted. Only the maker's player holds the key, so VLC and third-party converters either fail or produce a garbled result.

There is no reliable way to tell which kind you have just by looking. So the practical rule is simple. Try the maker's player first, because it handles both encrypted and unencrypted files. Reach for VLC or FFmpeg only if you would rather not install the player and your file turns out to be unencrypted.

WHICH METHOD WILL WORK START HERE · Maker's Smart Player Works on any DAV file, encrypted or not. The safe first choice. Prefer not to install it? Only if your file is unencrypted: VLC Media › Convert or Save › MP4 FFmpeg One command, good for many files Black screen or error in VLC = the file is encrypted. Go back to the maker's player.
Encryption decides the method. The maker's player is the only route that works on every DAV file, so it is the one to try first.

Method 1: Dahua Smart Player (works on any DAV file)

This is the most reliable route and the one to try first, since it holds the decryption key and can export straight to MP4.

  1. Download the player from the official site. Get Dahua Smart Player, sometimes labelled General Player, or the matching player for your brand if the recorder or NVR is an Amcrest, Lorex or Swann. On larger Dahua setups the same export lives inside SmartPSS or DSS. Avoid third-party download sites, since fake players carry malware.
  2. Load your DAV file. Open the player and add the .dav file or the folder of clips.
  3. Find the export option. Look for an export, backup or convert button. Choose MP4 as the output format.
  4. Set the output and save. Pick a folder, keep the resolution matched to the source, and run the export. The player writes a standard MP4 you can play anywhere.

If the export fails, try a smaller clip. Some Smart Player versions throw a file too small or export failed error on very short or very long selections. Trimming the export to the exact window you need often gets it through.

Method 2: VLC (unencrypted files only)

If you already have VLC and your file is not encrypted, this DAV to MP4 VLC route converts the file for free with no extra software.

  1. Open the Convert window. In VLC, click Media then Convert or Save.
  2. Add your DAV file. Click Add, choose the .dav file, then click the Convert or Save button at the bottom.
  3. Choose the MP4 profile. In the Profile dropdown, pick a Video H.264 with MP3 or AAC option that outputs MP4.
  4. Set the destination and start. Click Browse, give the file a name ending in .mp4, choose a folder, then click Start. VLC writes the MP4 as it processes the file.
DAV TO MP4 IN VLC, FOUR STEPS 1 · Open Media › Convert or Save 2 · Add Add the .dav file, click Convert 3 · Profile Pick H.264 MP4 profile 4 · Save Name it .mp4, click Start
VLC handles unencrypted files. If the clip plays in VLC, these four steps turn it into an MP4. If it will not play, the file is encrypted and needs the maker's player.

If VLC gives you a black screen or an error, your file is encrypted. That is not a VLC fault, it means the container is locked and only the maker's player can read it. Switch to Method 1 rather than hunting for another converter, because encrypted files behave the same way in all of them.

Method 3: FFmpeg (for the command line)

If you are comfortable with a terminal and the file is unencrypted, FFmpeg does the job in one line and is ideal for scripting many files. It reads the codec inside the .dav and can change the DAV file to MP4, MKV or AVI.

The basic command copies the video and audio into an MP4 container: ffmpeg -i input.dav -c:v libx264 -c:a aac output.mp4. Point it at your .dav file and name the output. FFmpeg handles the rest. As with VLC, this only works on files that are not encrypted.

THE THREE METHODS COMPARED Smart Player Any file, even encrypted Built-in MP4 export Best for evidence VLC Free, no extra install Unencrypted files only Test playback first FFmpeg Command line, one line Unencrypted files only Best for many files
Pick by your file and your comfort. Smart Player is the only one that opens encrypted files. VLC and FFmpeg are quick and free when the file is not encrypted.

Which DAV to MP4 method should you use?

Here is how the free options compare, so you can pick the right one for your file and your setup.

MethodEncrypted filesPlatformBest for
Dahua Smart PlayerYesWindowsAny file, and all evidence work
VLCNoWindows, Mac, LinuxQuick free conversion of unencrypted files
FFmpegNoWindows, Mac, LinuxMany files at once by command line
Online converterNoAny browserSmall, non-sensitive clips only
Converter appVariesWindows, Mac, AndroidBatch jobs and simple drag and drop

Should you use an online DAV to MP4 converter?

Search results are full of online DAV to MP4 converters that promise to convert DAV file to MP4 with no software to install. They can work for a small clip, but they come with a real catch for surveillance footage.

With an online tool, your clip travels to a stranger's server before it comes back as an MP4. CCTV video often captures people, a home or an incident, so that upload is a privacy risk you rarely want, and it can fall foul of the rules on handling evidence. So the safe advice is simple. Use an online converter only for a small clip that is not sensitive. For anything private or case-related, convert it on your own computer with Smart Player or VLC, where the file never leaves your machine.

Converting DAV to MP4 on Android, iPhone or Mac

Most maker's players are Windows-only, so phones and Macs need a different route.

  • Android. A few DAV to MP4 converter apps exist on the Play Store and handle simple unencrypted files. For an encrypted file, convert it on a Windows PC first, then copy the MP4 to your phone.
  • iPhone. There is no reliable native DAV app. Convert on a computer and move the finished MP4 to your iPhone, where it plays normally.
  • Mac. VLC for Mac converts an unencrypted DAV file the same way it does on Windows. For an encrypted one, use the manufacturer's Windows player on a PC, then bring the MP4 across.

Keep the quality and the timestamp

However you convert, a few settings decide whether the MP4 is worth using.

  • Match the resolution to the source. DAV footage runs anywhere from sub-HD to 4K. Set the output to the same resolution so you do not blur a face or a number plate.
  • Use H.264 as the encoder. Since a DAV holds an H.264 or H.265 stream already, choosing H.264 for the output avoids a pointless re-compression.
  • Keep the original file. Convert a copy and leave the .dav untouched, so you always have the source if anyone questions the footage.

DAV footage often comes in many small pieces. A recorder may split an hour into dozens of short .dav segments. The maker's player can usually export a whole time range as one file, and batch tools like HandBrake or a converter app can merge contiguous clips, so you are not left stitching them by hand.

Converting DAV for evidence

When the footage is going to the police, an insurer or a court, how you convert it matters as much as that you convert it.

Export or convert the actual file rather than recording your screen while it plays. A screen recording throws away resolution and strips the timestamp and metadata, which can weaken the footage if its authenticity is ever tested. Keep the original .dav alongside the MP4 as the source of truth, and note where and when it came from.

If the DAV file is gone or the drive is dead

Conversion only helps once you have the file. When a recording is erased, a recorder gets wiped or the unit stops working, no .dav ends up on the disk to convert.

In that case the footage usually still sits on the recorder's hard drive. DVRXaminer reads a Dahua drive in its own format, recovers the lost recordings and exports them straight to playable video with the timestamp intact, so you skip the conversion step entirely. See our guide to what a DAV file is for the format itself, the full reference of CCTV formats for other extensions, and our walkthrough for recovering footage from a Dahua DVR.

Common questions

How do I convert a DAV file to MP4 for free?

Use the maker's player, Dahua Smart Player or its Amcrest, Lorex or Swann equivalent, which has a free built-in export to MP4 and works on any DAV file. If your file is not encrypted, VLC also converts it for free through Media then Convert or Save with an MP4 profile.

Can VLC convert a DAV file to MP4?

Yes, for unencrypted files. Open VLC, click Media then Convert or Save, add the .dav file, choose an H.264 MP4 profile, set an output name ending in .mp4 and click Start. If VLC shows a black screen or an error, the file is encrypted and you will need the maker's player instead.

Why will my DAV file not convert?

The most common reason is encryption. Many Dahua, Amcrest, Lorex and Swann exports are encrypted, and only the manufacturer's player holds the key. VLC, FFmpeg and third-party converters cannot read an encrypted DAV file, so use the maker's official player, which decrypts and exports it.

How do I convert DAV to MP4 without losing quality?

Match the output resolution to the source and keep H.264 as the encoder, because a DAV file already carries an H.264 or H.265 stream. Convert a copy and leave the original .dav untouched. Avoid screen-recording the playback, which loses resolution and the timestamp.

Is it safe to convert DAV to MP4 with an online converter?

Only for small clips that are not sensitive. An online DAV to MP4 converter uploads your footage to another company's server, which is a privacy risk for surveillance video and can breach evidence rules. For anything private, convert it on your own computer with Smart Player or VLC so the file never leaves your machine.

Can I convert a DAV file to AVI instead of MP4?

Yes. Dahua Smart Player can export to AVI as well as MP4, and Swann provides a 264-to-AVI converter for its files. MP4 is the better choice for most uses because it plays on more devices, but AVI suits older Windows setups and some editing tools.

Can I convert a DAV file on a Mac or phone?

It is harder, because the maker's players are mostly Windows-only. On a Mac, VLC can convert an unencrypted DAV file. For an encrypted one, the reliable path is to use the manufacturer's Windows player on a PC, then move the MP4 to your Mac or phone.

Can I get the footage back if the DAV file was deleted?

Often yes. Deleted clips normally linger on the DVR disk until fresh footage lands on top of them. A tool built to read Dahua storage can pull those recordings back and write them out as MP4, even on a recorder that was wiped or has stopped working with no file remaining.

No file left to convert?

If the DAV clip was deleted or the DVR failed, DVRXaminer reads the drive directly, recovers the footage and exports it as playable MP4 with the timestamp intact. Run the free trial to see what is on the drive.

Sources

  • Dahua Technology, Smart Player and DAV export documentation
  • VLC and FFmpeg conversion references, 2026
  • DVRXaminer testing on Dahua, Amcrest and Lorex recordings