Go to documentation repository
Page History
...
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". |
ParameterParametr | RequiredWymagany | DescriptionOpis | |||||
---|---|---|---|---|---|---|---|
w h | NoNie | w – frame widthszerokość ramki, h – frame heightwysokość ramki.
| |||||
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ślnie: 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ślnie: 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ślnie: 1. crop_height – the ratio of the original image hight. Possible values are 0 to 1. The default is – współczynnik pierwotnej wysokości obrazu. Możliwe wartości: od 0 do 1. Domyślnie: 1. |
Info | ||
---|---|---|
| ||
By default, the snapshot update period is 30 seconds. To change this value, create the Domyślnie okres między aktualizacjami stopklatki to 30 sekund. Aby zmienić tę wartość, utwórz zmienną systemową NGP_SNAPSHOT_TIMEOUT system variable and set the required value in milliseconds (see i ustaw pożądaną wartość w milisekundach (zobacz: Załącznik 10. Tworzenie zmiennych systemowych). |
Sample request:
Przykładowe zapytanie:
Stopklatka o pierwotnej rozdzielczościTo get a snapshot in the original resolution: GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0
To get a snapshot in Aby uzyskać stopklatkę o rozdzielczości 640*480 resolution: GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0?w=640&h=480
To get the right lower particle of a snapshotAby uzyskać prawą dolną część stopklatki: GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0?crop_x=0.5&crop_y=0.5&crop_width=0.5&crop_height=0.5
To get the right lower particle of a snapshot in Aby uzyskać prawą dolną część stopklatki w rozdzielczości 640*480 resolution: GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0?w=640&h=480&crop_x=0.5&crop_y=0.5&crop_width=0.5&crop_height=0.5