Documentation for Axxon Next 4.2.2. Documentation for other versions of Axxon Next is available too.

Previous page Get info about archive damage  Get archive stream info Next page

Skip to end of metadata
Go to start of metadata
On page:

Important!

You can get audio from x64 Server only.


Get archive stream from default archive

GET http://IP-Address:port/prefix/archive/media/VIDEOSOURCEID/STARTTIME?parameters,

where

  • VIDEOSOURCEID - three-component source endpoint ID (see Get list of video sources (cameras)). For instance, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".
  • STARTTIME - time in ISO format.

Important!

Set the timezone to UTC+0

Parameters:

speed – playback speed, values can be negative.

format - parameter values are 'mjpeg', 'rtsp or 'hls'. If the format is not specified, 'rtsp' is selected or it is not recognized, then the native format is selected by server to prevent additional encoding. If the native format is not supported by client, server selects WebM.

If neither of parameters is specified, the speed is equal to 0, JPEG format is selected and the request is handled as a request to review video footage by frames.

id – unique identifier of archive stream (optional). It is used to get stream info or control the stream.

w – frame width.

h – frame height.

fr - fps.

Important!

This parameter is relevant only for MJPEG video.

Sample request:

GET http://IP-Address:port/prefix/archive/media/HOSTNAME/DeviceIpint.23/SourceEndpoint.video:0:0/20110608T060141.375?format=rtsp&speed=1&w=640&h=480

Assign ID to the stream to receive information about this stream.

http://IP-Address:port/prefix/archive/media/VIDEOSOURCEID/STARTTIME/20140723T120000.000?format=rtsp&speed=1&w=640&h=480&id=f03c6ccf-b181-4844-b09c-9a19e6920fd3

It is possible to use other values consisting of latin letters and digits. It is recommended to use the uuid function (see Get unique identifier).

Important!

HLS archive video becomes available in 30 seconds after getting the response

Sample response:

{"http":
{"description":"RTP/RTSP/HTTP/TCP","path":"archive/hosts/HOSTNAME/DeviceIpint.1/SourceEndpoint.video:0:0/20161206T060141.375000?speed=1&id=729955cd-7787-4d6c-87eb-cd6dd6d4a940","port":"8554"}
,"rtsp":
{"description":"RTP/UDP or RTP/RTSP/TCP","path":"archive/hosts/HOSTNAME/DeviceIpint.1/SourceEndpoint.video:0:0/20161206T060141.375000?speed=1&id=729955cd-7787-4d6c-87eb-cd6dd6d4a940","port":"554"}
}

Get archive stream from specific archive

GET http://IP-Address:port/prefix/archive/media/VIDEOSOURCEID/STARTTIME?parameters&archive=hosts/SERVER1/MultimediaStorage.Archive_Name/MultimediaStorage

RTSP archive video

GET rtsp://login:password@IP-Address:554/archive/hosts/SERVER1/DeviceIpint.0/SourceEndpoint.video:0:0/20160907T050548.723000?speed=1

Speed parametr is mandatory

HTTP archive video 

GET ffplay.exe -v debug "http://login:password@IP-Address:80/asip-api/archive/media/SERVER1/DeviceIpint.4/SourceEndpoint.video:0:0/20170112T113526?w=1600&h=0&speed=1"

Tunneling RTSP over HTTP

see Configure tunneling RTSP over HTTP in VLC.

GET ffplay -rtsp_transport http "rtsp://login:password@IP-Address:8554/rtspproxy/archive/hosts/SERVER1/DeviceIpint.4/SourceEndpoint.video:0:0/20170115T113526"

For VLC: GET rtsp://login:password@IP-Address:8554/rtspproxy/archive/hosts/SERVER1/DeviceIpint.4/SourceEndpoint.video:0:0/20170115T113526

H.264 archive video

To get H.264 archive video use RTSP protocol:

GET rtsp://login:password@IP-Address:554/archive/hosts/SERVER1/DeviceIpint.4/SourceEndpoint.video:0:0/20170112T113526

or tunneling RTSP over HTTP:

GET rtsp://login:password@IP-Address:80/rtspproxy/archive/hosts/SERVER1/DeviceIpint.4/SourceEndpoint.video:0:0/20170115T113526


  • No labels