User manual

ARECONT VISION USER MANUAL 57
Arecont Vision 425 E Colorado St, 7
th
Floor Glendale, CA 91205 8/1/2012
www.arecontvision.com
http://camera/setreg?page=3&reg=21&val=(number of P-frames)
If there are no iframe=1 requests, then intra_period parameter is not required and the bitrate control
will rely on the default number of P-frames set in register 3:21.
The following example illustrates a request to a camera with IP address 192.168.0.36 for a full resolution
1600x1200 image as a part of the stream with a constant bitrate set to 2 Mbits/sec:
http://192.168.0.36/h264f?res=full&x0=0&y0=0&x1=1600&y1=1200&quality=12&doublescan=0&bitrat
e=2048&ssn=1
Each frame sent by the camera may contain multiple zero bytes at the end – there is no Unit Delimiter (UD).
Although this does not contradict ITU-T H.264 standard (ISO/IEC 14496-10), some decoders may delay
decoded frames by one due to the absence of the UD. If this presents a problem, replace all zero bytes at
the end with the UD, a sequence of the following five bytes: 0x00 0x00 0x01 0x09 0x10. In addition, the
number of zero bytes at the end of a frame may be significant, up to a few hundred bytes. Replacing them
with the UD will also reduce the stream size.
HTTP Request Format for Continuous H.264 Video Streaming
NOTE: The h.264 http requests described below are supported only by camera models AVxxx5.
A continuous h.264 video stream with frames separated by the boundary separator can be requested from
Arecont Vision cameras by using the following GET method request format:
GET/h264stream?res=(half|full)&x0=(0..2596)&y0=(0..1944)&x1=(32..2596)&y1=(32..1944)&qp=(4..3
6)&doublescan=(0|1)&ssn=(1..65535)[&fps=value][&bitrate=(1..51200)]
HTTP/1.1\r\n
Host: ip_address\r\n
\r\n
Where:
Res can have value of either “half” or “full” and specifies whether the camera should decimate the
image by a factor of 2 in each dimension or produce the full resolution image.
X0, Y0, X1, Y1 are the left, top, right and bottom coordinates of the requested image window,
respectively. These values cannot exceed the size of the image sensor array for the specific camera
model and should be divisible by 32 if Res = full and 64 if Res = half.