Difference between revisions of "AxisAPI legacy"
From ElphelWiki
Line 26: | Line 26: | ||
:Fully implemented. | :Fully implemented. | ||
===== [http://axis.com/techsup/cam_servers/dev/cam_http_api_2.htm#api_blocks_image_video_jpeg_snapshot JPEG image (snapshot) CGI request] ===== | ===== [http://axis.com/techsup/cam_servers/dev/cam_http_api_2.htm#api_blocks_image_video_jpeg_snapshot JPEG image (snapshot) CGI request] ===== | ||
− | :Partially implemented. | + | :Partially implemented. Some parameters will be implemented in the future. |
+ | :'''Syntax:''' | ||
+ | |||
+ | <nowiki>http://<servername>/axis-cgi/jpg/image.cgi[?<parameter>=<value>[&<parameter>=<value>...]]</nowiki> | ||
+ | |||
{| border="1" cellpadding="2" | {| border="1" cellpadding="2" | ||
|- | |- | ||
Line 36: | Line 40: | ||
|- | |- | ||
| compression || Adjusts the compression level of the image. Higher values correspond to higher compression, i.e. lower quality and smaller image size. || 0..100 || Yes | | compression || Adjusts the compression level of the image. Higher values correspond to higher compression, i.e. lower quality and smaller image size. || 0..100 || Yes | ||
+ | |- | ||
+ | | colorlevel || Sets level of color or grey-scale. 0 = grey-scale, 100 = full color. || 0..100 || Yes | ||
+ | |- | ||
+ | | color || Enables/disables color. 0 = black and white, 1 = color. || 0, 1 || Yes | ||
+ | |- | ||
+ | | clock || Shows/hides the time stamp. 0 = hide, 1 = show. || 0, 1 || No | ||
+ | |- | ||
+ | | date || Shows/hides the date. 0 = hide, 1 = show. || 0, 1 || No | ||
+ | |- | ||
+ | | text || Shows/hides the text. 0 = hide, 1 = show. || 0, 1 || No | ||
+ | |- | ||
+ | | textstring || The text shown in the image, the string must be URL encoded. || A string || No | ||
+ | |- | ||
+ | | textcolor || The color of the text shown in the image. || black, white || No | ||
|- | |- | ||
|} | |} |
Revision as of 08:47, 29 September 2005
Elphel 3x3 cameras have own implementation of Axis Video API version 2.xx.
The HTTP-based video interface provides the functionality for requesting single and multi-part images and for getting and setting internal parameter values. The image and CGI-requests are handled by the built-in Web server in the cameras.
Elphel Axis Video API extension proposes some additional possibility. For example, functionality for requesting RTP MJPEG, HTTP Ogg/Theora or RTP Ogg/Theora video streaming.
Contents
API GROUPS
Image and Video
Image size
- Fully implemented.
Video status
- Not implemented. It has the sense only for video servers.
Bitmap
- Not implemented. But it can be added in future if somebody has need in it.
JPEG/MJPG
JPEG image request
- Fully implemented.
JPEG image (snapshot) CGI request
- Partially implemented. Some parameters will be implemented in the future.
- Syntax:
http://<servername>/axis-cgi/jpg/image.cgi[?<parameter>=<value>[&<parameter>=<value>...]]
Parameter | Description | Values | Implemented? |
resolution | Specify the resolution of the returned image | Product-dependent | Yes |
camera | Applies only to video servers with more than one video input. Selects the source camera. | - | No |
compression | Adjusts the compression level of the image. Higher values correspond to higher compression, i.e. lower quality and smaller image size. | 0..100 | Yes |
colorlevel | Sets level of color or grey-scale. 0 = grey-scale, 100 = full color. | 0..100 | Yes |
color | Enables/disables color. 0 = black and white, 1 = color. | 0, 1 | Yes |
clock | Shows/hides the time stamp. 0 = hide, 1 = show. | 0, 1 | No |
date | Shows/hides the date. 0 = hide, 1 = show. | 0, 1 | No |
text | Shows/hides the text. 0 = hide, 1 = show. | 0, 1 | No |
textstring | The text shown in the image, the string must be URL encoded. | A string | No |
textcolor | The color of the text shown in the image. | black, white | No |