Skip to content
dav2mp4

DAV file won’t open, converts to zero length, or has no sound? Here’s why

Most .dav problems come down to a handful of causes. Find your symptom below — each row says what’s going on and what to do, and links to the exact message dav2mp4 shows.

On this page

Quick fixes

Symptoms, their likely causes and what to do
SymptomLikely causeWhat to doHelp
Your phone or Windows says the format isn’t supportedIt’s a DHAV .dav file, which players don’t recogniseConvert it to MP4Open the converter
A converted video shows zero length, or the wrong lengthThe recorder’s millisecond counter restarts about every 65 seconds, and some converters mis-read it; or the export was cut shortConvert with dav2mp4, which rebuilds the timeline; re-export if the file ends earlyW_TIMESTAMP_REPAIRED Timing was repairedW_TRUNCATED_TAIL The file ends mid-recording
No sound after convertingThe recorder’s G.711 audio was dropped because MP4 players don’t accept it, or the audio is in a format that isn’t supported yet (MP2, ADPCM), or the camera never recorded sounddav2mp4 converts G.711 and PCM to AAC; for the others it tells you the sound was left out. Check the camera’s audio setting for future recordingsW_AUDIO_DROPPED_UNSUPPORTED The sound couldn’t be kept
The first seconds are grey, green or frozenThe export starts part-way through a group of picturesdav2mp4 starts at the first complete picture and tells you how much it skipped; export a little earlier next timeW_LEADING_FRAMES_DROPPED The first moments were skipped
Plays on the phone but not on a Windows PCH.265 (HEVC) videoUse VLC or install Microsoft’s HEVC Video ExtensionsW_HEVC_PLAYBACK This video is H.265 (HEVC)
The video jumps forward in timeMotion or schedule recording left gapsdav2mp4 closes gaps so the video plays continuously; choose Keep real-time gaps in Advanced to keep themW_GAPS_CLOSED Recording gaps were closed
You only see one camera, or the wrong oneThe export holds several camerasPick the camera, or choose All cameras for one MP4 eachW_CHANNELS_MULTIPLE Several cameras in one file
Short glitches in the middleDamaged frames in the exportRe-copy from the recorder; dav2mp4 skips damaged frames and counts themW_CORRUPT_FRAMES_SKIPPED Damaged frames were skipped
It only opens in the recorder’s own playerAn encrypted or protected exportRe-export with protection offE_SCRAMBLED_SUSPECTED This export looks encrypted by the recorder
“Not a DAV video”A firmware file, another format, or a broken copyCheck that you exported video, and copy it againE_NOT_DAV This file isn’t a DAV video
“Older video format”A recorder that records MPEG-4 Part 2 or MJPEGNot supported yet; VLC may play itE_CODEC_UNSUPPORTED This recording uses an older video format
The phone runs out of spaceThe MP4 needs about as much space as the .davFree up space, or convert on a computerE_OUTPUT_QUOTA Not enough space in your browser for this MP4
Playback stutters or jumps back and forthA rare stream setting (frame reordering)Try playing it in VLCW_REORDER_POSSIBLE Check playback: frames may be reordered

Why converted files end up with zero length

Forum threads about .dav files are full of the same complaint: the converted video shows zero playback length, or a length that makes no sense.

One common cause is the clock inside the file. Each frame carries a clock that counts milliseconds and starts again from zero about every 65 seconds (it’s a 16-bit counter, so it wraps every 65,536 ms). A converter that doesn’t notice the restart sees time jump backwards again and again, and writes a timeline that players can’t use.

dav2mp4 unwraps the counter, cross-checks it with the recorder’s own wall-clock time stored in the file, and repairs any jumps it finds. If it had to repair timestamps, the result tells you how many times.

The other cause is a file that really is cut short — for example when a USB stick was removed before the recorder finished copying. dav2mp4 converts everything up to the point where the file stops and warns you that the export is incomplete. The missing part can only come from a new export.

Why the first seconds look wrong

Video is stored as groups of pictures: one complete picture, then a run of small changes to it. An export often starts part-way through a group, so the first changes have no complete picture to apply to, and players show grey or green blocks, or a frozen frame, until the next complete picture arrives.

dav2mp4 starts the MP4 at the first complete picture and tells you how much it left out, in seconds. To keep those moments, export from a little earlier next time.

Why the sound disappears

Most recorders save sound as G.711 (A-law or µ-law), sometimes as PCM, and on some models as AAC. MP4 players on phones and computers expect AAC, and most of them refuse G.711 inside an MP4, so a converter that copies the recorder’s sound as it is produces a file that plays silently or not at all.

dav2mp4 converts G.711 and PCM sound to AAC on your device, and copies AAC and MP3 sound unchanged. If you need the recorder’s G.711 sound exactly as recorded, choose MOV under Advanced: the MOV keeps the original audio, and the video is the same.

A few older formats, such as MP2 and ADPCM, aren’t supported yet. The video is still converted, and the result says the sound was left out. If a camera never had its microphone switched on, there’s simply no sound to keep: check the camera’s audio setting for future recordings.

Why it plays on one device and not another

Many recorders save H.265 (HEVC) video. Many phones play it, but Windows needs Microsoft’s HEVC Video Extensions before the Photos and Films & TV apps will. VLC usually plays H.265 on any computer, with or without them.

Converting to MKV doesn’t fix this — it only changes the container, and the video inside is still H.265. dav2mp4 copies the video as recorded and never re-encodes it, so the picture you get is the recorder’s own.

Still stuck?

Every message dav2mp4 shows has a code, and the table above names each one with its help entry. Every code is explained in one place: Help: what dav2mp4’s messages mean. If a conversion fails, Copy technical details copies only the error code, your browser and your system — never your file name or video — so you can share it with whoever is helping you.

Open the converter

Questions

Can dav2mp4 repair a damaged .dav?

It skips damaged frames and rebuilds timing so the rest plays, and tells you what it skipped. It can’t recreate missing video.

In the help page: Damaged frames were skipped · Timing was repaired

Will converting again fix it?

If the source file is the same, the result will be the same — re-export or re-copy from the recorder instead.

Dahua, DMSS and SmartPSS are trademarks of their owners. dav2mp4 is not affiliated with, endorsed by, or sponsored by Dahua Technology or any recorder manufacturer.

Convert your .dav to MP4 now — on this device

Open the converter