Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn page:
Table of Contents

...

타임스탬프별로 프레임 가져오기

GET http://IP-address:port/prefix/archive/media/{VIDEOSOURCEID}/{STARTTIME}gets frame by its STARTTIME. Frame is returned in JPEG format해당 STARTTIME에 맞는 프레임을 가져옵니다. 프레임은 JPEG 형식으로 반환됩니다.

Tip
  • {VIDEOSOURCEID} – three-component source endpoint ID (see 3부 구성 소스 엔드포인트 (비디오 카메라 목록 및 정보 가져오기 참조). For instance, "Server1/DeviceIpint.3/SourceEndpoint.video:0:0".
  • {STARTTIME} − time in ISO format. Set the timezone to 형식의 시간. 시간대는 UTC+00으로 설정해야 합니다.


Parameter파라미터Required필수Description설명
thresholdNo

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프레임 너비,   hframe height.프레임 높이

Info
titleNote

If 만약 h and w values are more than size of original frame, the frame will be received with original size.Zooming out of width and height is available only discretely − in 2, 4, 8 times, etc. If specified sizes are not corresponding to w 값이 원본 프레임의 크기보다 크면, 프레임은 원본 크기로 반환됩니다.

너비와 높이를 축소하는 것은 2배, 4배, 8배 등과 같이 불연속적으로만 가능합니다. 지정된 크기가 원본 프레임 크기의 1/2, 1/4 etc. of original frame size, the frame will be received with size divisible by the original frame size close to specified values등의 배수가 아닌 경우, 프레임은 지정된 값에 근접한 원본 프레임 크기의 배수로 반환됩니다.


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
titleNote

The ENDTIME and BEGINTIME syntax is described in ENDTIME과 BEGINTIME 구문은 아카이브 내용 가져오기 section 섹션에 설명되어 있습니다.


Parameter파라미터Required필수Description설명
limitNo

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저장된 프레임의 타임스탬프를 포함하는 배열입니다.

Info
titleNote

Time is returned in the UTC format시간은 UTC 형식으로 반환됩니다.


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 파라미터).