VIDEO_DAYNIGHT_MODE

 

 

Description

Get or set the encoder's Day&Night mode.

For Day&Night capable camera, this URL could control the behavior of the Day&Night function.

When VIDEO_DAYNIGHT_MODE = AUTO, the day or night time state was set by the camera Day&Night detection function. The firmware needs to response the state of Day&Night. Some DSP supports Day&Night functions and responses the lighting condition automatically. The gain thresholds of day and night might need to be set to proper values of turnover state of day and night.

When VIDEO_DAYNIGHT_MODE = DAY or NIGHT, the camera is forced to stay at the specific DAY or NIGHT state. The Day&Night detection mechanism (if camera has it) will be disabled. How to disable the Day&Night detection mechanism is not addressed in this document.

Only AUTO mode is avaiable in the URL when the camera has 8051 day/night controller and the day/night detection source is CDS.

If the camera does not support the Day&Night function, the return of this URL is NONE.

In video servers (single, QUAD or multiple channels), this URL is read-only command and the NONE is returned always.

Input Argument

mode
where mode could be
AUTO : the Day&Night state in the encoder was decided by the Day&Night detection source
DAY : force the camera to stay at day time state
NIGHT : force the camera to stay at night time state

Attribute

Return of Message

VIDEO_DAYNIGHT_MODE='AUTO'
or
VIDEO_DAYNIGHT_MODE='NONE'

OK: VIDEO_DAYNIGHT_MODE='AUTO'
or
ERROR: VIDEO_DAYNIGHT_MODE='AUTO'
or
ERROR: VIDEO_DAYNIGHT_MODE is read-only

Applicability

Status

Valid

See Also

DAY_NIGHT_STATE, VIDEO_DN_TYPE, VIDEO_DN_TIMER, VIDEO_DN_IRLED, VIDEO_DN_IRCUT, DAY_GAIN_THD, NIGHT_GAIN_THD, EXPOSURE_GAIN_GET

Example

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

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

Back To

HOEM, ENCODER CGI