Set or get fragment size of recording files.
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 or upload timer is expired. The video and audio data are mixed together in the recordings.
The firmware will limit recording length or file size of every recording file based on this URL settings. That means firmware creates a new recording file when the time length of recording reaches the fragment time length or the file size of recording reaches fragment file size.
FragmentTimeLength,FragmentFileSize
where
Argument Possible Value Description FragmentTimeLength 5~30 The fragment time length in minute. The default setting is 30 (30 minutes) FragmentFileSize 10~1900 The fragment file size in MB. The default setting is 1900 (1900 Megabytes).
DISK_FRAGMENT_SIZE='30,1900'
or
ERROR: DISK_FRAGMENT_SIZE not found
OK: DISK_FRAGMENT_SIZE='30,1900'
or
ERROR: DISK_FRAGMENT_SIZE not found
or
ERROR: internal error. ...
Platform Devices Supported Firmware Version PlatformT Camera, Video server with local storage A1D-310-V4.13 and later PlatformK Camera A1D-311-V5.10 and later PlatformA1 Camera A1D-500-V6.03 and later
Valid
http://ip:port/cgi-bin/system?USER=admin&PWD=123456&DISK_FRAGMENT_SIZE
or
http://ip:port/cgi-bin/cmd/system?DISK_FRAGMENT_SIZE
http://ip:port/cgi-bin/system?USER=admin&PWD=123456&DISK_FRAGMENT_SIZE='30,1900'
or
http://ip:port/cgi-bin/cmd/system?DISK_FRAGMENT_SIZE='30,1900'