Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Getting list of records (2nd way)  Getting one frame from archive - Next page


General request format:

GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&video_in={video_in}&command=arc.play&time_from={time_from}&time_to={time_to}&login={login}&password={password}&speed_factor={speed_factor}

Request parameters:

Parameter

Required

Description

versionYes

See Product version

sessionidNoSession ID
video_inYesCamera ID in the format "TYPE:ID", for example "CAM:1"
commandYesCommand to get video from archive: arc.play
time_fromYesStart time of archive playing back
time_toNoCompletion time of archive playing back (if parameter is not specified, all archive will playback)
imageWidthNoWidth in pixels (it is counted automatically with saving proportions if it isn't specified or equal 0)
imageHeightNoHeight in pixels (it is counted automatically with saving proportions if it isn't specified or equal 0)
fpsNoMaximal frame per second (if it isn't specified or equal 0, frame frequency won't be limited)
login NoAxxon PSIM username, if set
password NoAxxon PSIM user password, if set
speed_factorNo

Sets the playback speed. The value may be any integer or fractional number no less than 0.

Examples of values:

0 – playback at the highest possible speed (depends on network bandwidth and disk load)

1 – playback at normal speed x1 (default)

0.1 – slow motion playback at x1/10 speed

2 – fast playback at x2 speed

formatNoSets the response format (see General information on HTTP API)

Request example:

GET http://127.0.0.1:8085/web2/secure/video/action.do?version=1.0.1.224&sessionid=29101F1&video_in=CAM:5&command=arc.play&time_from=2013-03-22T13:04:52.312+04:00&time_to=2013-03-22T13:16:31.873+04:00&login=USER&password=PASS&speed_factor=1

Response example:

End packet with newstate=closed and errcode=100 will be received when stream completion.

Note

The request can be executed through the web or in the VLC media player.

  • No labels