Go to documentation repository
Page History
...
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Get frame by timestamp
GET http://IP-adressaddress:port/prefix/archive/media/{VIDEOSOURCEID}/{STARTTIME} - – gets frame by its STARTTIME. Frame is returned in JPEG format.
Tip |
---|
|
|
Parameter | Required | Description | |||||
---|---|---|---|---|---|---|---|
threshold | No | Available from Axxon Next 4.4.1.9245. If there is no frame at a given time, then the first frame from the [STARTTIME; STARTTIME + threshold] range is returned, where threshold is specified in milliseconds. If there is no frame in the specified range, then there will be a 404 Not Found error in the response. | |||||
w h | No | w – frame width, h – frame height.
crop_x crop_y crop_width crop_height | |||||
left top right bottom | No | left | No | Available from Axxon Next 4.4.1.9115. crop_x – horizontal indent from the upper left corner. Possible values are 0 to 1. The default is 0.crop_y top – vertical indent from the upper left corner. Possible values are 0 to 1. The default is 0. crop_widthright – the ratio of the original image width. Possible values are 0 to 1. The default is 1. crop_heightbottom – the ratio of the original image hight. Possible values are 0 to 1. The default is 1. |
Sample request: 1:
GET http://127.0.0.1:80/archive/media/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0/20210910T092100
Query result:
Sample request: 2:
GET http://127.0.0.1:80/archive/media/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0/20210910T092200?archive=hosts/SERVER1/MultimediaStorage.AntiqueWhite/MultimediaStorage
Query result:
Get frame registration time
GET http://IP-Addressaddress:port/prefix/archive/contents/frames/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} – getting the time of frames registration in the archive.
...
Parameter | Required | Description |
---|---|---|
limit | No | The default value of limit parameter is 250. This parameter is optional for server Server and it can return fewer search results. |
...
GET http://127.0.0.1:80/archive/contents/frames/SERVER1Server1/DeviceIpint.2/SourceEndpoint.video:0:0/past/future?limit=3
...
Code Block |
---|
{ "frames": [ "20200525T113229.649000", "20200525T113229.100000", "20200525T113228.588000" ], "more": true } |
Parameter | Description | |||||
---|---|---|---|---|---|---|
frames | An array containing the timestamps of the stored frames.
| |||||
more | true |
– the |
Server returned all frames from the specified range. false |
– the |
Server did not return all |
frames because the limit was exceeded (limit parameter). |