DISK_CONFIG

 

Description

Set or get local storage media configurations included overwritten policy and notification of low storage space.

When overwritten option is enabled, the firmware remove the oldest file for the new coming data to the head of storage media when there is no zoom for new coming data. No notification of low storage space is issued in this case.

The file size of recorded file depends on the recording events. For snapshot events, a recorded file is a still image file. For video and audio recording events, the file size of recorded file depends on the event configurations, video bitrate (MPEG4 and H.264) and video quality (MJPEG). Firmware writes the video and audio data to a file when the event is triggered until event becomes inactive. The video and audio data are mixed together in the file. The firmware will limit 30 minutes recording length of every recording file to protect the recordings. That means firmware creates a new recording file when it has written about 30 minuts video/audio data to a file.

When overwritten option is disabled, firmware could send a low space notification to the remote site when the free size of storage media reaches the threshold of low storage space.

Input Argument

Overwrite,LowSpaceThd
where
Argument Possible Value Description
Overwrite 0 or 1 0: not overwrite the old data when there is no room for coming data.
1: overwrite the old data when there is no room for coming data.
LowSpaceThd (%) 1~50 percentage of disk capacity.
When free storage space is lower than this threshold, firmware sends the notification to remote site. This function is only available when Overwrite = 0. in this case, firmware stop recording until the some space in storage media is released.

Attribute

Return of Message

DISK_CONFIG='1,0,50'
or
ERROR: DISK_CONFIG not found

OK: DISK_CONFIG='1,5'
or
ERROR: DISK_CONFIG not found
or
ERROR: internal error. ...

Applicability

Platform Devices Supported Firmware Version
PlatformT Camera, Video server with local storage A1D-310-V4.11 and later

Statue

Valid

See also

DISK_INFO

Example

http://ip:port/cgi-bin/system?USER=admin&PWD=123456&DISK_CONFIG
or
http://ip:port/cgi-bin/cmd/system?DISK_CONFIG

http://ip:port/cgi-bin/system?USER=admin&PWD=123456&DISK_CONFIG=1,5
or
http://ip:port/cgi-bin/cmd/system?DISK_CONFIG=1,5

Back To

HOME, SYSTEM CGI