VIDEO_DN_TYPE

 

Description

Get or Set the Day&Night detection source in the Day&Night Control Module. Some camera have a Day&Night Control Module to manage the day and night time behavior.

In the Day&Night control module, there are two Day&Night detection sources. One is CDS and the other one is the output of Day&night trigger from DSP. If camera has both of them, this URL could set one of them as the Day&Night detection source. If there is only one of them is available in camera, this URL is a read-only command and return the available Day&Night detection source always.

If there is no Day&Night Control Module in the camera but it is a Day&Night capable camera, this URL command is read-only. This URL will return the CDS if there is CDS in the camera and return DSP if the Day&Night detection was performed by the DSP or polling DSP gain level in firmware.

The error message, VIDEO_DN_TYPE not found, will be returned if the encoders and camera do not support Day&Night function or there is no Day&Night detection function.

Important Note

The Day&Night detection source is only configurable if the Day&Night Mode is AUTO VIDEO_DAYNIGHT_MODE=AUTO). When the Day&Night Mode is DAY or NIGHT, the Day&Night detection should be disable without any change of the configuration of Day&Night Detection Source.

In firmware, there are two Day&Night Gain Threshold configurations. One is for CDS Day&Night detection and the other one is for DSP Day&Night detection. They share the same URL commands DAY_GAIN_THD and NIGHT_GAIN_THD. The firmware will based on this VIDEO_DN_TYPE to configure the Day&Night gain threshold settings when it received the gain threshold URLs.

Input Argument

source
where source could be
CDS: the Day&Night detection source is CDS
DSP: the Day&Night detection source is DSP.

Attribute

Return of Message

VIDEO_DN_TYPE='CDS'

ERROR: VIDEO_DN_TYPE='CDS'
or
ERROR: VIDEO_DN_TYPE not found

Applicability

Status

Valid

See Also

VIDEO_DAYNIGHT_MODE, DAY_NIGHT_STATE, VIDEO_DN_TIMER, VIDEO_DN_IRLED, VIDEO_DN_IRCUT, DAY_GAIN_THD, NIGHT_GAIN_THD

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_DN_TYPE
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_DN_TYPE

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_DN_TYPE=CDS
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_DN_TYPE=CDS

Back To

HOME, ENCODER CGI