Inhaltszusammenfassung zur Seite Nr. 6
HTTP Response JPEG (No. 1) JPEG (No. 2) ,,, Details of JPEG file format is explained later. 5) When the client wants to stop current JPEG transmission, the client disconnects TCP80. VN-V25/26 does not accept further API via current TCP that is used for JPEG transmission. To change parameter, disconnect current TCP to stop the JPEG transmission, connect new TCP, and send API with new parameter. 1.2. API Format Structure GET space API space HTTP/1.1 0x0D 0x0A Host: space IP Address of VN-V25 0x0D
Inhaltszusammenfassung zur Seite Nr. 7
Parameter Description encode For specifying compression format. For example, specify as encode=jpeg to get JPEG. framerate For specifying the frame rate. For example, specify as framerate=5 to get at 5 fps. Specify as framerate=- 5 to get at 1/5 fps, or in other words, 1 frame in 5 seconds. Selection range is as follows. 30, 25, 15, 10, 7.5, 6, 5, 3, 2, 1, 0, -2, -3, -5, -10, -15, -20, -30, -60 When the parameter is specified as framerate=0, VN-V25/26 sends 1 frame of JPEG data, and disconnect
Inhaltszusammenfassung zur Seite Nr. 8
JPEG file from VN-V25/26 is JFIF compliant and consist of the following. Start Code FFD8 Application Segment FFE0 Comment Segment 1 FFFE Comment Segment 2 (reserved) FFFE DHT Huffman Table FFC4 DQT Quantization Table FFDB DRI Restart Interval FFDD SOF Frame Information FFC0 Data Start Segment FFDA End Code FFD9 The following information is stored in the comment segment 1. Each item has a fixed length. Item Size Example Note Version Information Indicates the version of infor
Inhaltszusammenfassung zur Seite Nr. 9
Item names and values, excluding the version information that does not include =, are stored in the following format. name space = space value (stuffed with 0x00) fixed length for each item Example: When width=640, the 13-byte area will be written as follows. w i d t h = 6 4 0 0x00 0x00 2. Getting MPEG-4 from VN-V25/26 via HTTP 2.1. Basic Procedures 1) The client establishes a TCP connection to port number 80. 2) The client sends out API. Example GET /api/video?encode=mpeg4 HTTP/1.1 H
Inhaltszusammenfassung zur Seite Nr. 10
,,, Details of MPEG-4 stream is explained later. 5) When the client wants to stop current MPEG-4 transmission, the client disconnects TCP80. VN-V25/26 does not accept further API via current TCP that is used for JPEG transmission. To change parameter, disconnect current TCP to stop the MPEG-4 transmission, connect new TCP, and send API with new parameter. 2.2. API Format Structure GET space API space HTTP/1.1 0x0D 0x0A Host: space IP Address of VN-V25 0x0D 0x0A 0x0D 0x0A Unlike APIs for gett
Inhaltszusammenfassung zur Seite Nr. 11
Content-Type: video/mp4v-es Date: Tue, 02 Oct 2007 07:33:12 GMT Server: JVC VN-V25 Network Camera x-vnv25_response: encode=mpeg4&framerate=30&framesize=vga 2.4. Restrictions Access restriction VN-V25/26 has access restriction feature that enables to deny access from a specific IP address. If MPEG-4 is requested from the IP address of access restriction, VN-V25/26 disconnects the TCP connection after API is sent. Restriction by maximum bitrate of VN-V25/26 The maxim
Inhaltszusammenfassung zur Seite Nr. 12
P-VOP There are VOL, Userdata1, GOV and Userdata2 before each I-VOP. Data Structure before I-VOP Item Note VOL VOL of MPEG-4 Video Userdata1 Reserved GOV GOV of MPEG-4 Video Userdata2 Userdata Data Structure of Userdata2 Item Example Note Start Code 0x000001B2 Start code of userdata in MPEG-4 Video Product Name type = VN-V25U Product Name Timestamp timestamp = Year, Month, Day, Hour, Minute, Second, Millisedond, and Time zone 20070319161455123UTC Camera ID camera = Camera01
Inhaltszusammenfassung zur Seite Nr. 13
2) When motion is detected from the video image of VN-V25/26, or when there are changes to the alarm input (make or break), VN-V25/26 will send out alarm information in the following format. The first 2 lines indicate the current alarm input status (make or break). The following 1 line indicates whether motion has been detected. peripheral.input_pin.pin(1).status=break peripheral.input_pin.pin(2).status=break video.input(1).detection(motion).status=on 3) The client can discon
Inhaltszusammenfassung zur Seite Nr. 14
Example GET /api/param?network.interface.subnetmask HTTP/1.1 Accept: text/plain Host: 192.168.0.2 Authorization: Basic YWRtaW46dm4tdjJ4 Specify the response format by Accept line. Plain text response is returned when this is specified as text/plain. HTML response is returned when text/html is specified. HTML response is returned when Accept is not specified. These APIs for getting/setting parameters are protected by basic authentication. Authorization line needs to
Inhaltszusammenfassung zur Seite Nr. 15
6. API for Getting/Changing Parameters of VN-V25/26 This section provides description of APIs for getting/changing parameters of VN-V25/26. Make use of the API explained in this section in the way as mentioned in Section 5 . 6.1. General (1) Getting parameter Specify API in GET line according to the format below when getting a parameter from VN-V25/26. ● /api/param?ParamA.ParamB.ParamC It is possible to get multiple parameters at a time. Connect parameters with &. Do not insert space before
Inhaltszusammenfassung zur Seite Nr. 16
/api/param?ParamA.ParamB.ParamC=Data&ParamA.ParamB.ParamD=Data The upper limit of this character string is 1024 bytes. The maximum number of parameters that can be set at a time is 15. Status settings, i.e. network.interface.status, network.dns.status, network.ntp.status, etc., can not be acquired at a time. Response will be in the following format. ● ParamA.ParamB.ParamC&200 OK An error code will be returned when setting is not properly performed. Example: ParamA.ParamB.ParamC&401 Unauthor
Inhaltszusammenfassung zur Seite Nr. 17
camera.id=Camera01&200 OK Example of response 01 Sender Camera Allowed users admin, operator, user Setting Camera ID in JPEG from VN-V25/26 Format /api/param?camera.id=data Example /api/param?camera.id=Camera01 Example when setting as blank /api/param?camera.id=%00 Example of response camera.id&202 Accepted(camera.status=save) Interpretation Change the camera ID stored in comment segment of JPEG. Maximum size is 40 bytes. To set as blank, speci
Inhaltszusammenfassung zur Seite Nr. 18
Getting Black level from VN-V25/26 Format /api/param?camera.image.pedestal Example of response camera.image.pedestal=50&200 OK Interpretation Acquire black level setting. Range of pedestal is between 0 to 100, and it is mapped to 3 internal levels. The larger the value, the brighter will be the black. Allowed users admin, operator, user Setting Black level for VN-V25/26 Format /api/param?camera.image.pedestal=data Example of setting a value /api/param?camera.image.pedestal=50 Example of
Inhaltszusammenfassung zur Seite Nr. 19
Getting Enhance Band from VN-V25/26 Format /api/param?camera.image.enhance.band Example of response camera.image.enhance.band=high&200 OK Interpretation Acquire enhance band setting. Value of enhance band is high or low. When lcd1, lcd2 or crt is set to monitor type, enhance band setting is ignored. Allowed users admin, operator, user Setting Enhance Band for VN-V25/26 Format /api/param?camera.image.enhance.band=data Example of setting a value /api/param?camera.image.enhance.band=low Examp
Inhaltszusammenfassung zur Seite Nr. 20
Example of response camera.image.color=50&200 OK Interpretation Acquire color level value. Range of color level is between 0 to 100. The value is mapped to 11 internal levels. The larger the value, the stronger will be the color. Allowed users admin, operator, user Setting Color Level for VN-V25/26 Format /api/param?camera.image.color=data Example of setting a value /api/param?camera.image.color=50 Example of 1 step change /api/param?camera.image.color=+ Example of response camera.image.c