Go to documentation repository
...
curl -v "http://IP-address:port/web2/secure/video/action.do?fps={fps}&imageHeight={imageHeight}&login={login}&normalize={normalize}&password={password}&sessionid={sessionid}&version={version}&video_in={video_in}" --output ~/{output file}.bin
...
Parameter | Is required | Description |
|---|---|---|
| version | Yes | See Product version. If version 4.10.0.0 is specified in request, then the stream obtained is in MJPEGformat without XML inserts – it can be displayed on a web page using the IMG tag in Chrome and FireFox browsers. This feature is implemented for both live and archive video. Note. Not Not more than 6 video streams can be received simultaneously. |
| video_in | Yes | Camera ID in the format "TYPE:ID", for example "CAM:1" |
| sessionid | No | Session ID |
| imageWidth | No | Frame width. Value can be in [64, 1600] range. Server automatically rounds width to larger value divisible by 4. If not, then the size of the returned image is taken from the video stream. |
| imageHeight | No | Frame height. Value can be in [30, 1200] range. If not, then the size of the returned image is taken from the video stream. |
| normalize | No | true - − stretches the image if the frame comes in incorrect proportions |
| fps | No | Video frame rate |
| login | No | Axxon PSIM username, if set |
| password | No | Axxon PSIM user password, if set |
| output file name | Yes | The name of the file to which the requested video will be output |
curl -v "http://127.0.0.1:8085/web2/secure/video/action.do?fps=1&imageHeight=360&login=1&normalize=true&password=1&sessionid=A4D98DDE-A535-49E4-9FB5-FAD441CBBA43&version=4.10.0.0&video_in=CAM:1" --output ~/output.bin
...
Parameter | Description |
|---|---|
sessionid | session id (same as at start) |
video_in | Camera ID in the "TYPE:ID" format, for example, "CAM:1" |
errcode | Error code:
|
...