Recovered CCTV Footage Will Not Play? How to Fix It
You got the footage back, but the file will not open, plays as a black screen or shows 0 KB. Here is why recovered DVR video breaks, how to open a .dav file and how to turn it into a clean MP4 you can use anywhere.
Recovered CCTV footage usually will not play for one of two reasons. Either the file is in a proprietary format like .dav that normal players cannot read, or the recovery tool pulled out broken fragments instead of a whole clip. The fix depends on which one you have. A .dav file needs the right player or a convert to MP4 step. A broken file needs a tool that rebuilds the video stream, not just carves it. This guide walks through both.
A successful recovery does not always mean a watchable clip. Plenty of people finish a recovery, double-click the result and get nothing. A black window, an error or a file that says 0 KB when it should be gigabytes. It is one of the most frustrating moments in the whole process, because it feels like the footage is right there but out of reach.
The good news is that a file which will not play is often still fixable. The key is working out why it broke, then applying the right fix. Below we cover the two causes, the players and converters that open surveillance video and the reason so many recovery tools hand back footage that will not run.
Two reasons recovered footage will not play
Before you try any fix, work out which problem you have. They look similar but need different answers.
- The format is proprietary. The file opened fine on the recorder, but your PC cannot read it. This is common with .dav files from Dahua units and other DVR containers. The video data is intact, your player just does not speak the format.
- The file is broken or incomplete. The recovery tool returned a 0 KB file, a clip that stops after a second, or a screen full of green and grey blocks. This means the tool carved out pieces of the video without stitching them back into a whole, playable stream.
The symptom on screen usually tells you which problem you have. Match what you are seeing to the table below, then jump to the fix.
Why surveillance video uses formats your PC cannot read
A DVR does not store neat MP4 files in folders. It writes a continuous stream to the disk in its own container, built to record fast, survive power loss and index by time and channel. When you export a clip, many recorders wrap it in a proprietary format instead of a standard one.
The most common is .dav, used by Dahua and the many brands built on Dahua hardware. So what is a .dav file? It is Dahua's own video format, a container that holds a raw H.264 or H.265 video stream plus service data like timecodes, channel numbers and event markers. Some recorders use .ps instead, a Program Stream from the MPEG family. Either way, the video is real and complete. Standard players like VLC, Windows Media Player and QuickTime simply were not built to open these containers, so they show an error or a black screen.
A .dav file that will not open is good news. It means the footage came off the recorder whole. You are not looking at damage, just a format your player does not recognise yet. The fixes below open it in minutes.
How to open a .dav file
If your problem is the format, you have three routes, from easiest to most technical. Try them in this order.
- Use the maker's own player. The recorder's software reads its own format without any setup. For Dahua and its OEM brands that is the free Dahua Smart Player, sometimes listed as SmartPlayer, which you install from the Dahua Toolbox. For Hikvision it is VSPlayer, the player that ships with iVMS-4200. Drop the .dav file in and it should play, and both have an export or convert button to save an MP4.
- Turn VLC into a .dav player. VLC can open .dav if you point it at the right decoder. Open Tools then Preferences, switch the settings view from Simple to All, go to Input / Codecs then Demuxers, set the Demux module to H264 video demuxer and save. VLC will then open .dav files. Remember to switch it back to Automatic afterwards, or normal MP4 files stop playing.
- Convert the .dav to MP4. The most portable fix is to convert the file, so it plays on any device and drops into any editor or case file. VLC can do this through Media then Convert / Save, choosing MP4 as the output. If you are comfortable in a terminal, FFmpeg can remux or transcode an unprotected .dav to MP4 as well.
Quick trick worth a try first. Renaming the file from .dav to .avi or .mp4 sometimes lets a standard player open it, and installing the free K-Lite Codec Pack can give Windows Media Player the codecs it needs. Neither is guaranteed, but both take a minute and cost nothing before you set up VLC or a converter.
Converting a .dav file to MP4
Converting to MP4 is the cleanest end state. An MP4 with an H.264 or H.265 stream plays on Windows, Mac, phones and in every editor, and it is the format most courts and insurers expect. There are two ways the conversion can go.
If the video inside is already H.264 or H.265, a remux just rewraps the same stream in an MP4 container. It is fast and loses no quality, because nothing is re-encoded. If the stream needs changing, a transcode decodes and re-encodes it, which takes longer and can lose a little quality. A tool like FFmpeg can do either, and a good DVR recovery tool does the remux automatically so you never touch a command line.
Do not upload surveillance footage to online converters. A "convert .dav to MP4 online" site sends your video to a server you do not control. That footage shows the inside of a home or business, faces, number plates and people who never agreed to be uploaded anywhere. If the clip is evidence, uploading it can also break the chain of custody. Stick to a local player or converter on your own machine.
When the file is broken, not just the wrong format
A format problem is easy. A broken file is the harder case, and it points back at how the footage was recovered. If your recovered clip shows 0 KB, stops after a second or plays as green and grey blocks, converting it will not help. There is no clean stream inside to convert.
This happens because of how a DVR writes video. It does not store one tidy file per clip. It scatters the frames across the disk as it records, and keeps a separate index that says which pieces belong together and in what order. A basic recovery tool finds the start of a file and copies from there, but it does not follow that index. So it hands back the header with no body, a 0 KB file or a jumble of frames from different moments that no player can decode.
Before you redo the recovery, two quick VLC tricks are worth a try on a broken file, because they take a minute and sometimes work. Rename the file to .avi, then in VLC open Tools, Preferences, Input / Codecs and set Damaged or incomplete AVI file to Always fix, which makes VLC patch minor damage as it opens. If the video plays as a black screen but the audio runs, the problem is often the display path, so in Preferences under Video change Output from Automatic to DirectX video output and try again. Neither fixes a truly broken stream, but both clear up the milder cases fast.
Black screen with sound, or a white screen? A black or white screen with working audio usually points to a codec or display problem rather than lost video, and the VLC output fix above often clears it. A black screen with no audio at all, a 0 KB file or frozen frames points to a broken stream that needs rebuilding, covered next.
The fix for a broken recovered file
If you are holding a broken file, the answer is not a repair tool bolted on afterwards. It is to redo the recovery with software that understands the DVR format from the start. A DVR-aware tool reads the recorder's own index, follows it to every frame of a clip wherever it landed on the disk and reassembles them in the right order. The output is a whole stream it can then save as a clean MP4.
This is the difference between carving and rebuilding. Carving grabs whatever looks like a video file and hopes it plays. Rebuilding uses the structure the recorder left behind to put the clip back together properly. For surveillance footage, rebuilding is the only approach that reliably gives you video that plays, with the timestamps still attached.
Still have access to the drive? If the source DVR drive is still available and has not been recorded over, running a proper DVR-aware scan again is almost always better than trying to repair a broken export. You get a clean file the first time instead of patching a damaged one.
What decides whether it plays
A few things decide how easily a recovered clip ends up playable.
- Which format it came out in. A whole .dav or .ps file just needs the right player or a convert step. A raw stream with no container needs rebuilding first.
- Whether the stream is complete. A clip recovered before the DVR looped over it comes back whole. One that was partly overwritten may only play up to the damaged point.
- The tool that recovered it. A DVR-aware tool that follows the index returns playable files. A generic carver often does not, no matter how many repair steps you add afterwards.
- The codec. H.264 converts and plays almost everywhere. H.265, also called HEVC, needs a slightly newer player or the right decoder, which trips up some older machines.
Common questions
Why will my recovered CCTV footage not play?
Usually one of two reasons. The file is in a proprietary format like .dav that standard players cannot open, or the recovery tool returned a broken file that was never stitched into a whole stream. A format problem is fixed with the right player or a convert to MP4 step. A broken file needs redoing with a DVR-aware recovery tool.
What is a .dav file?
A .dav file is Dahua's proprietary video format, used by Dahua recorders and the brands built on Dahua hardware such as Amcrest and Lorex. Inside is a raw H.264 or H.265 video stream with extra service data like timecodes and channel numbers. Because it is not a standard format, you need the Dahua Smart Player, a configured VLC or a converter to play or view a .dav file.
How do I open a .dav file?
Three ways, easiest first. Use the maker's own player, the free Dahua Smart Player for Dahua or VSPlayer for Hikvision. Or turn VLC into a .dav player by setting the Demux module to H264 video demuxer under Input / Codecs. Or convert the .dav to MP4 so it plays anywhere.
How do I convert a .dav file to MP4?
The recorder's own software usually has an export or convert option that outputs MP4. VLC can also convert through Media then Convert / Save with MP4 as the output. For a lossless result, a DVR-aware tool or FFmpeg can remux an H.264 or H.265 .dav straight into an MP4 container without re-encoding. Avoid online converters for surveillance footage.
Why is my recovered video file 0 KB?
A 0 KB file means the recovery tool found the start of a video but copied no actual footage. DVRs scatter frames across the disk and track them with a separate index. A tool that does not follow that index grabs an empty header instead of the video. Redo the recovery with software that reads the DVR format so it can gather every frame.
Can I fix footage that plays as green or grey blocks?
Green and grey blocks mean the frames are out of order or incomplete, so the player cannot decode them. Converting the file will not fix this, because there is no clean stream inside. The fix is to recover the clip again with a DVR-aware tool that reassembles the frames in the right order before saving.
Is it safe to use an online .dav to MP4 converter?
Not for surveillance footage. An online converter uploads your video to a server you do not control, and that footage often shows private spaces, faces and number plates. If the clip is evidence, uploading it can break the chain of custody. Use a local player or converter on your own machine instead.
Get playable footage back
DVRXaminer reads the DVR format directly, reassembles the video stream and exports a clean MP4 with the timestamps intact, so you skip the broken files and conversion headaches. Run the free trial to see what plays before you buy.
Sources
- Dahua Smart Player documentation, .dav playback and MP4 export
- Hikvision iVMS-4200 and VSPlayer playback guides
- VLC and FFmpeg documentation on demuxers and MP4 conversion