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

...

Pozyskaj ramkę po znaczniku czasu

GET http://IP-adress:port/prefix/archive/media/{VIDEOSOURCEID}/{STARTTIME} - gets frame by its STARTTIME. Frame is returned in JPEG formatpozyskuje ramkę po jej STARTTIME. Ramka jest zwracana w formacie JPEG.

Tip

{VIDEOSOURCEID} - three-component source endpoint ID (see Get list of video sources (cameraszobacz: Pozyskaj listę źródeł wideo (kamer)). For instance, Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".


Tip

{STARTTIME} - time in czas w formacie ISO format. Set the timezone to . Ustal strefę czasową na UTC+0. 


ParameterParametrRequiredWymaganyDescriptionOpis
thresholdNoNie

Dostępne począwszy od Available from Axxon Next 4.4.1.9245.

If there is no frame at a given time, then the first frame from the Jeśli w określonym czasie nie ma ramki, najbliższa ramka w zasięgu [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 responsejest zwracana; zasięg jest określany w milisekundach.

Jeśli ramka dla określonego zasięgu nie istnieje, zostanie zwrócony błąd 404 Not Found.

w

h

NoNie

w frame widthszerokość ramkihframe heightwysokość ramki.

Info
titleNote

If Jeśli wartości 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 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 oraz w są większe niż oryginalne wartości, ramki zostaną pozyskane w ich oryginalnej wielkości.

Rozmiar jest dzielony przez 2 dopóki nie osiągnie wartości mniejszej lub równej co wartości parametrów h oraz w.


crop_x

crop_y

crop_width

crop_height

No


Nie

Dostępne począwszy od wersji 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 poziome wcięcie od lewego górnego rogu. Możliwe wartości: od 0 do 1. Domyślna wartość: 0.

crop_y – vertical indent from the upper left corner. Possible values are 0 to 1. The default is pionowe wcięcie od lewego górnego rogu. Możliwe wartości: od 0 do 1. Domyślna wartość: 0.

crop_width – the ratio of the original image width. Possible values are 0 to 1. The default is współczynnik pierwotnej szerokości obrazu. Możliwe wartości: od 0 do 1. Domyślna wartość: 1.

crop_height – the ratio of the original image hight. Possible values are 0 to 1. The default is 1.

...

 – współczynnik pierwotnej wysokości obrazu. Możliwe wartości: od 0 do 1. Domyślna wartość: 1.

Pozyskaj czas rejestracji ramki

GET http://IP-Address:port/prefix/archive/contents/frames/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} – getting the time of frames registration in the archivepozyskaj czas rejestracji ramki w archiwum.

Info
titleNote

The Składnia dla ENDTIME and BEGINTIME syntax is described in Get archive contents section.oraz BEGINTIME jest opisana w sekcji Pozyskaj zawartość archiwum.


ParametrWymaganeOpisParameterRequiredDescription
limitNo

The default value of limit parameter is 250. This parameter is optional for server and it can return fewer search results.

Nie

Domyślna wartość parametru to 250. Parametr jest opcjonalny dla serwera; może zwracać mniej wyników wyszukiwania.


Przykładowe zapytanieSample request:

GET http://127.0.0.1:80/archive/contents/frames/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0/past/future?limit=3

Sample responsePrzykładowa odpowiedź:

Code Block
{
  "frames": [
    "20200525T113229.649000",
    "20200525T113229.100000",
    "20200525T113228.588000"
  ],
  "more": true
}


Parameter
Parametr
Description
Opis
frames
An array containing the timestamps of the stored frames

Tablica zawierająca znaczniki czasu przechowywanych ramek.

Info
titleNote
Time is returned in the UTC format

Czas jest zwracany w formacie UTC.


more

true -

the server returned all frames from the specified range

serwer zwrócił wszystkie ramki w zasięgu.

false -

the server did not return all frames because the limit was exceeded (limit parameter

serwer nie zwrócił wszystkich ramek z powodu przekroczenia limitu (parametr limit).