/cgi-bin/loadfile.cgi
I am successfully making the request and getting back the file using the following endpoint:
Code: Select all
http://172.27.8.14/cgi-bin/loadfile.cgi?action=startLoad&channel=1&startTime=2021-01-26%2000:10:00&endTime=2021-01-26%2000:10:30&subtype=0
I assume the file is in DAV or AVI format but that doesn't seem to be the case.
I have attempted to use the Amcrest Smart Player, VidCoder, and now I'm attempting to use FFmpeg.
How can I use this file from the API request?!

Code: Select all
ffprobe.exe -i "loadfile (5).cgi"
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'loadfile (5).cgi':
Metadata:
creation_time : 2021-01-25T23:00:00.000000Z
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
Duration: 00:05:00.10, start: 0.000000, bitrate: 4237 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 1920x1080, 4194 kb/s, 30 fps, 30 tbr, 1k tbn, 2k tbc (default)
Metadata:
creation_time : 2021-01-25T23:00:00.000000Z
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 31 kb/s (default)
Metadata:
creation_time : 2021-01-25T23:00:00.000000Z
handler_name : SoundHandler
Code: Select all
[h264 @ 000002d43a341a40] Invalid NAL unit size (1402382542 > 10260).
[h264 @ 000002d43a341a40] Error splitting the input into NAL units.