Go to documentation repository
...
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...
GET http://IP-address:port/prefix/archive/media/{VIDEOSOURCEID}/{STARTTIME} – gets frame by its STARTTIME. Frame is returned in JPEG format해당 STARTTIME에 맞는 프레임을 가져옵니다. 프레임은 JPEG 형식으로 반환됩니다.
Tip |
---|
|
Parameter파라미터 | Required필수 | Description설명 | |||||
---|---|---|---|---|---|---|---|
threshold | No | 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.범위 내에서 첫 번째 프레임이 반환됩니다. 여기서 threshold는 밀리초 단위로 지정됩니다. 지정된 범위 내에 프레임이 없으면, 응답에서 404 Not Found 오류가 발생합니다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.프레임 높이
| |||||
left top right bottom | No | left – horizontal indent from the upper left corner. Possible values are 0 to 1. The default is 0. top – vertical indent from the upper left corner. Possible values are 0 to 1. The default is 0. right – the ratio of the original image width. Possible values are 0 to 1. The default is 1. bottom – the ratio of the original image hight. Possible values are 0 to 1. The default is 1. – 왼쪽 상단 모서리에서의 수평 간격. 가능한 값은 0에서 1까지입니다. 기본값은 0입니다. top – 왼쪽 상단 모서리에서의 수직 간격. 가능한 값은 0에서 1까지입니다. 기본값은 0입니다. right – 원본 이미지 너비에 대한 비율. 가능한 값은 0에서 1까지입니다. 기본값은 1입니다. bottom – 원본 이미지 높이에 대한 비율. 가능한 값은 0에서 1까지입니다. 기본값은 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 http://IP-address:port/prefix/archive/contents/frames/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} – getting the time of frames registration in the archive – 아카이브에서 프레임 등록 시간을 가져옵니다.
Info | ||
---|---|---|
| ||
The ENDTIME and BEGINTIME syntax is described in ENDTIME과 BEGINTIME 구문은 아카이브 내용 가져오기 section 섹션에 설명되어 있습니다. |
Parameter파라미터 | Required필수 | Description설명 | |
---|---|---|---|
limit | No | The default value of limit parameter is 250. This parameter is optional for Server and it can return fewer search results. | limit 매개변수의 기본 값은 250입니다. 이 매개변수는 서버에서 선택 사항이며, 검색 결과가 적게 반환될 수 있습니다. |
샘플 요청Sample request:
GET http://127.0.0.1:80/archive/contents/frames/Server1/DeviceIpint.2/SourceEndpoint.video:0:0/past/future?limit=3
Sample response샘플 응답:
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서버가 제한을 초과하여 모든 프레임을 반환하지 않았습니다 (limit 파라미터). |