Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page GetLiveUrl request  Export of ECHD archive records Next page


General request format:

GET http://IP-address:port/downloadarchivefile?cameraid={cam_id}&fromdatetime={from_time}&todatetime={to_time}

Request parameters:

ParameterIs requiredDescription
cam_idYesCamera ID
from_timeYesThe start time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS
to_timeYesThe end time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS

Request example:

GET http://127.0.0.1:80/downloadarchivefile?cameraid=1&fromdatetime=2014-10-01T00:00:00&todatetime=2014-10-01T01:20:05

Response example:

HTTP/l.1 200 OK
Content-Type: application/octet-stream

Also, as a result of the command, a file with the .es extension will be received (for example, Camera [4] (2019-08-13T11_00_00 - 2019-08-13T12_10_00).es). Convert this file using the ffmpeg utility to play it. This utility is available for download on the official website https://ffmpeg.org/

Example command to convert H.264-coded file:

ffmpeg -i "C:\path to the .264 file\Camera[5].es" -c:v copy -bsf:v h264_mp4toannexb -c:a copy -f avi output.avi

Example command to convert H.265-coded file:

ffmpeg -i "C:\path to the .265 file\Camera[5].es" -c:v copy -bsf:v hevc_mp4toannexb -c:a copy -f avi output.avi

The .avi file (output.avi) is created after this command execution.

  • No labels