JVC VN-V26U, VN-V25U manual Getting MPEG-4 from VN-V25/26 via Http, Basic Procedures

Models: VN-V26U VN-V25U

1 88
Download 88 pages 12.89 Kb
Page 9
Image 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<CRLF>

Host: 192.168.0.2<CRLF><CRLF>

Note <CRLF> denotes the line feed code (0x0D, 0x0A).

3)VN-V25/26 returns HTTP response.

Example of VN-V25

HTTP/1.1 200 OK<CRLF>

Connection: close<CRLF>

Content-Type: video/mp4v-es<CRLF>

Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF>

Server: JVC VN-V25 Network Camera<CRLF>

x-vnv25_response: encode=mpeg4&framerate=15&framesize=vga<CRLF><CRLF>

4)VN-V25/26 sends out MPEG-4 data after returning HTTP response. HTTP Response and MPEG-4 stream sent out by VN-V25/26 are as follows.

HTTP Response

VOP of MPEG-4 (No. 1)

VOP of MPEG-4 (No. 2)

9

Page 9
Image 9
JVC VN-V26U, VN-V25U manual Getting MPEG-4 from VN-V25/26 via Http, Basic Procedures