Skip to main content

Dahua/Lorex

Options​

optional arguments:
--ffmpeg-args FFMPEG_ARGS, -f FFMPEG_ARGS
Transcoding args for `ffmpeg -i <src> <args> <dst>`
--rtsp-transport {tcp,udp,http,udp_multicast}
RTSP transport protocol used by stream
--username USERNAME, -u USERNAME
Camera username
--password PASSWORD, -p PASSWORD
Camera password
--channel CHANNEL, -c CHANNEL
Camera channel
--snapshot-channel SNAPSHOT_CHANNEL
Snapshot channel
--main-stream MAIN_STREAM
Main Stream subtype index
--sub-stream SUB_STREAM
Sub Stream subtype index
--motion-index MOTION_INDEX
VideoMotion event index

Lorex LNB4321B​

  • Supports full time recording
  • Supports motion events
  • Supports smart detection
unifi-cam-proxy --mac '{unique MAC}' -H {NVR IP} -i {camera IP} -c /client.pem -t {Adoption token} \
dahua \
-u {username} \
-p {password} \
--ffmpeg-args="-f lavfi -i anullsrc -c:v copy -ar 32000 -ac 1 -codec:a aac -b:a 32k"