Axis Communications Version 3 Stereo Receiver User Manual


 
Video Streaming API
This document is copyright protected and is the property of Axis Communications AB and may not be copied, reproduced or distributed in any way without
the prior written consent of Axis Communications AB.
HTTP Code: 200 OK
Content-Type: image/jpeg
Content-Length: <image size in bytes>
Body:
<JPEG image data>
2.6.3 Motion JPEG Video CGI Request
The mjpg/video.cgi is used to request a Motion JPEG video stream with specied arguments. The arguments can be specied
explicitly, or a predened stream prole can be used. Image settings saved in a stream prole can be overridden by specifying
new settings after the stream prole argument.
Access control: viewer
Method: GET
Syntax:
http://<servername>/axis-cgi/mjpg/video.cgi
[?<argument>=<value>[&<argument>=<value>...]]
In addition to the arguments described in 2.7 Image Request Arguments, on page13 mjpg/video.cgi accepts the follwing
arguments.
Argument Valid values Description
streamprofile=<string> <stream profile name>
Use a predened stream prole.
Supported streamprolenames arestored
in the StreamProfile.S#.Name
parameters.
duration=<int>
An unsigned integer
Species for how many seconds the video
will be generated and pushed to the
client.
0=unlimited.
nbrofframes=<int>
An unsigned integer
Species how many frames the Axis
product will generate and push.
0=unlimited.
fps=<int>
An unsigned integer Using fps it is possible to specify the
frame rate from the Axis product.
0=unlimited.
General image arguments, see 2.7 Image Request Arguments.
Example 13:
Request a Motion JPEG video stream from video source 1 with resolution 320x240 and compression 25.
http://myserver/axis-cgi/mjpg/video.cgi?resolution=320x240
&compression=25&camera=1
Example 14:
Request a Motion JPEG video stream from the default video source with frame rate 5.
http://myserver/axis-cgi/mjpg/video.cgi?fps=5
Example 15:
Request a Motion JPEG video stream using the myprofile stream prole but with a lower resolution.
12