38.9 HA Reolink Argus 2E RTSP
20220826
Start an RTSP stream from the camera for access the video:
It should respond:
[2022-08-26T00:44:09Z INFO neolink] Neolink cab43d0b0946e3669a49146ee2db96076099e15f release
[2022-08-26T00:44:10Z INFO neolink::rtsp] aether: Connecting to camera at UID: 95270003X3TCZMT4
[2022-08-26T00:44:10Z INFO neolink::rtsp] aether: Logging in
[2022-08-26T00:44:11Z INFO neolink::rtsp] aether: Connected and logged in
[2022-08-26T00:44:11Z INFO neolink::rtsp] aether: Camera time is already set: 2022-08-26 10:44 +10
[2022-08-26T00:44:11Z INFO neolink::rtsp] aether: Camera reports firmware version 0616_722_52_478
[2022-08-26T00:44:11Z INFO neolink::rtsp] aether: Starting video stream Main Stream (Clear)
Whilst this command remains running, use ffprobe (in another terminal) to check that neolink is streaming the camera:
$ ffprobe rtsp://127.0.0.1:8554/aether
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
[...]
Input #0, rtsp, from 'rtsp://127.0.0.1:8554/aether':
Metadata:
title : Session streamed with GStreamer
comment : rtsp-server
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1072, 90k tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: pcm_s16be, 16000 Hz, 1 channels, s16, 256 kb/s
View the video using ffplay:
To capture 10 seconds of video to a local mp4 file:
The use of -vsync 2
was suggested so that frames with the same
timestamp are dropped. The -t 10
will record 10 seconds of
video/audio.
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0