Versions Compared

Key

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

...

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".


ParameterParametrRequiredWymaganyDescriptionOpis

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 w przekraczają pierwotną wielkość ramki, ramka będzie pozyskiwana w oryginalnej rozdzielczości.

Wysokość / szerokość są dzielone przez 2 dopóki nie osiągną wartości równej lub niższej od 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ś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
titleNote

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