80 likes | 92 Views
Preset Codec. Feature Codec Preset function can be used to automatically switch the codec settings (bit rate, frame rate, etc.) by alarm event trigger (such as in the wake of object detection or sensor input), or CGI manual trigger . Benefits
E N D
Preset Codec • Feature • Codec Preset function can be used to automatically switch the codec settings (bit rate, frame rate, etc.) by alarm event trigger (such as in the wake of object detection or sensor input), or CGI manual trigger. • Benefits • The need for a special implement at a system level is not required even if setting changes are made, because the camera itself switches its codec settings to preset ones by an arbitrary trigger, not by a codec setting command sent externally. • Setting changes without via a network can shorten the time from alarm occurrence to setting switching. • CGI command / Syntax 1. SettingCommand (See page 2 for details.)2. Trigger Command (See page 8 for details.)3. Inquiry Command (See page 8 for details.) • Notes • To use this function, perform its related settings with the CGI command. Note that this setting option is not provided with the setting menu of a camera. • This function cannot be used in combination with RSM/NSR. • Applicable models RZ50* RX530 RX550 * RX570 CS50 * DF50 DF80 CS10 CS11 P1 P5 DF40 DF70 RZ25 Z20 CS3 RZ30 1 * Applicable version: 2.0 or later
CGI Command/Syntax 1. Setting Command Precautions of use: ・ The original setting is continued with regard to parameters which are not settable with this function ( e.g. codec type), . ・ A codec for which preset value is the same as the original will operate continuously without pause even after it is switched. ・ While the switched codec is operating, and around its changeover time, no alarm files are generated. ・ The frame rate of Jpeg image does not increase while monitoring even if the higher frame rate is configured with the preset codec function. Because, when Jpeg image is being monitored with the standard viewer, it is obtained with a constant frame rate. ・ When object detection function is turned on/off during the changeover period due to setting change or schedule function, the original setting is resumed. When controlling the object detection-related function by utilizing the schedule function, combine the other function so that the object detection is always kept activated. (e.g. Enable alarm notification with SMNP or AlarmData notification.) ・ When camera-related function is changed during the changeover period, the original setting is resumed. 2
CGI Command/Syntax (1) Basic Setting *1: Alarm trigger and timer trigger functions are mutually exclusive. Manual trigger function, however, can be used together with Alarm trigger or Timer trigger function. *2: <horizontal pixel> <mode> 3
CGI Command/Syntax *3: Frame rate NTSC: “1” / “2” / “3” / “4” / “5” / “6” / “8” / “10” / “15” / “20” / “25” / “30” PAL : “1” / “2” / “3” / “4” / “5” / “6” / “8” / “12” / “16” / “20” / “25” *4: Bit rate MPEG4: “64” / “128” / “256” /“384” / “512” / “768” / “1024” / “1536” / “2048” H.264: “32” / “64” / “128” / “256” /“384” / “512” / “768” / “1024” / “1536” CGI Syntax: http://ip_adr/command/codecpreset.cgi?CodecPreset1Func=value http://ip_adr/command/codecpreset.cgi?Cp1Mode =value http://ip_adr/command/codecpreset.cgi?Cp1JpImageSize=value,value http://ip_adr/command/codecpreset.cgi?Cp1M4ImageSize=value,value http://ip_adr/command/codecpreset.cgi?Cp1H264ImageSize=value,value http://ip_adr/command/codecpreset.cgi?Cp1JpAreaSelect=value http://ip_adr/command/codecpreset.cgi?Cp1M4AreaSelect=value http://ip_adr/command/codecpreset.cgi?Cp1H264AreaSelect=value http://ip_adr/command/codecpreset.cgi?Cp1JpFrameRate=value http://ip_adr/command/codecpreset.cgi?Cp1M4FrameRate=value http://ip_adr/command/codecpreset.cgi?Cp1H264FrameRate=value http://ip_adr/command/codecpreset.cgi?Cp1JpQuality=value http://ip_adr/command/codecpreset.cgi?Cp1JpTargetRatio=value http://ip_adr/command/codecpreset.cgi?Cp1M4BitRate=value http://ip_adr/command/codecpreset.cgi?Cp1H264BitRate=value http://ip_adr/command/codecpreset.cgi?Cp1M4IFrameInterval=value http://ip_adr/command/codecpreset.cgi?Cp1H264IFrameInterval =value 4
CGI Command/Syntax (2) Setting for Alarm Event Trigger The timing at which an alarm is detected is as follows: Sensor input: When the sensor input is just short-circuited (not while being short-circuited). Motion detection: When motion is detected at each every inquiry (If motion stays, alarm occurs continuously and periodically.) Unattended Object detection: The first time an unattended object (or removed object) is detected or at every alarm interval until the specified release time. (For details, see User’s Guide which comes with the network camera.) 5
CGI Command/Syntax CGI Syntax: http://ip_adr/command/codecpreset.cgi?Cp1Detection=value http://ip_adr/command/codecpreset.cgi?Cp1Sensor1=value http://ip_adr/command/codecpreset.cgi?Cp1Sensor2=value,value http://ip_adr/command/codecpreset.cgi?Cp1AlmPeriod=value http://ip_adr/command/codecpreset.cgi?Cp1AlmSchedule=value http://ip_adr/command/codecpreset.cgi?Cp1AlmDuration=value *4:[Sun],[StartTime],[EndTime],[Mon],[StartTime],[EndTime],[Tue],[StartTime],[EndTime],[Wed], [StartTime], [EndTime],[Thu], [StartTime],[EndTime], [Fri],[StartTime],[EndTime],[Sat], [StartTime], [EndTime] For example: When setting the period during which alarm detection is effective, to from Monday to Friday between 9:00 and 17:30. http://192.168.0.100/command/codecpreset.cgi?Cp1AlmSchedule=0,0900,1730,1,0900,1730,1,0900,1730,1,0900,1730,1,0900,1730,1,1900,1730,0,0900,1730 (3) Setting for Timer Trigger *5:[Sun],[StartTime],[EndTime],[Mon],[StartTime],[EndTime],[Tue],[StartTime],[EndTime],[Wed], [StartTime], [EndTime],[Thu], [StartTime],[EndTime], [Fri],[StartTime],[EndTime],[Sat], [StartTime], [EndTime] CGI Syntax: http://ip_adr/command/codecpreset.cgi?Cp1TimSchedule=value For example: When setting the period during which the preset values are effective, to from Monday to Friday between 9:00 and 17:30. http://192.168.0.100/command/codecpreset1.cgi?Cp1TimSchedule=0,0900,1730,1,0900,1730,1,0900,1730,1,0900,1730,1,0900,1730,1,1900,1730,0,0900,1730 6
CGI Command/Syntax (4) Setting for Manual Trigger CGI Syntax: http://ip_adr/command/codecpreset.cgi?Cp1ManualFunc=value http://ip_adr/command/codecpreset.cgi?Cp1ManDuration=value 7
CGI Command/Syntax 2. Trigger Command CGI Syntax: http://ip_adr/command/main.cgi?Trigger=codecpreset1 3. Inquiry Command Syntax:1 http://192.168.0.100/command/inquiry.cgi?inq=codecpreset Return Value: CodecPreset1Func=off&Cp1Mode=alarm&Cp1AlmSensor1=off&Cp1AlmSensor2=off&Cp1AlmD.. Syntax:2 http://192.168.0.100/command/inquiry.cgi?inqjs=codecpreset Return Value: var CodecPreset1Func="off" var Cp1Mode="alarm" var Cp1AlmSensor1="off" var Cp1AlmSensor2="off“ :: Note: For description of each parameter, refer to “1. Setting Command” section. 8