CCTV TECH
Nassau, Bahamas
Search this site Search Help
Default
Newest
Oldest
CCTV Forum News
Use our miniPSS tool to get
enhanced hotkeys in PSS.
miniPSS is an EXE wrapper
for PSS on Windows XP/7.
Visit the Forum Post
All CCTV Pages
All Visual Basic
Real Estate in The Bahamas from $25,000
All Categories
Partners
 
 
 
Dahua Media Player
Version: 1.0, Oct 6th, 2011

Play downloaded video from Dahua DVRs with Media Player Classic.
Currently this only works on XP.

When you Playback with PSS you can download your recorded video to AVI. But to play this video back on your computer you must first have H.264 codecs installed.

This is optimized for a USB Flash Drive. When you have autorun enabled the popup will say "Explore Recorded Video".  It opens an Autorun.cmd file which uses a vbscript to see if the Divx codecs are installed. If not then it silently installs the DivX H.264 codecs, and opens explorer to the root folder/drive.
In this example there is one video file. The videos go into a folder called VIDEO, and AVI.
Support for DAV files will be added at a later date.

The files to play the videos are CMD files in the root path. Copy the files to new files and change the file path and name inside them and rename them for other videos. The CMD file calls another CMD file in the SYSTEM folder which then checks the paths and calls a VBS file which does some more. Basically you dont even need all that, just a call to the player from the first CMD will suffice - but we do more in this case.

This is an example of a video CMD file:
The part after SET file= is what you would change
@ECHO OFF

SET file=VIDEO\AVI\DOWNLOAD_20110916160000_1001_4.avi

Start /b SYSTEM\PLAY "%file%"
exit

SYSTEM\PLAY is actually PLAY.CMD, it just checks to see where it is being called from then calls Play.vbs - it is more for cosmetics or if you want to run a CMD to it from inside the SYSTEM folder. Play.vbs checks that the codecs are installed and if not it then installs them silently before opening the video in the actual Player. Also some systems might have issues opening a VBS from the autorun.

If you want to just make a CMD file to play the video without checking the codecs then it is like this:
@ECHO OFF
start /b SYSTEM\Player.exe "VIDEO\AVI\DOWNLOAD_20110916160000_1001_4.avi"
exit

The basic Windows Media Player is included in this and renamed Player.exe (mplayer2.exe, copyright Microsoft) - but you could replace it with any player once you keep the same name (or edit the PLAY.VBS file). I like the basic Windows Media Player though, it's simple and can drag the corners to resize, and maximize etc.

You could optionally change the autorun open value to one of the CMD files, eg. if you only have one video and want it to play when opening the drive, change the open value to that CMD file instead and change the "Action" to Play Recorded Video, or something else.

The SYSTEM folder also contains a codecs installation CMD file example, and the autorun CMD file which will do what it would do on Autorun from a USB flash drive.

Supported DVRs
Supports most Dahua DVRs including some models from:
EyeSurv, QVis, AData, XTS, TechPro, EDGE, ICRealtime, MACE, GEN IV, Q-See, and others.
Contact us to add your DVR to this list.

Terms
We are not to be held responsible nor liable for damage from
the use or misuse of this software.

Requirements
Requires a Windows Operating System.
Tested on Windows XP SP3. Contact us about errors.
Basic Media Player installed (Vista/7 is missing it).

Download File
Download ZIP (8.33MB)

Also see:
Search Results for Dahua
Dahua's Website

CCTV | DVR | Video Surveillance | CCTV Cameras | Remote Video | Tech Support | Software | Scripts | Articles | Burglar Alarms | Alarm Monitoring | Real Estate
Copyright © 2001/2012 BahamasSecurity.com
 
Website hosted in Nassau, The Bahamas