Page 1 of 1

How to add this RTSP camera (Xiaomi-Dafang-Hacks)

Posted: Sun Aug 08, 2021 10:52 am
by Saturnus
Camera is a Xiaomi Dafang, running https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/

Tried these guides:
https://wiki.zoneminder.com/How_to_setu ... 332_camera
https://github.com/EliasKotlyar/Xiaomi- ... eminder.md

Also tried variants of the variables etc. etc. Cannot get it to work.
One of the things the logs shows is:
zmdc[321].INF [ZMServer:704] ['zmc -m 2' crashed, signal 6]
In any modern media player like VLC, HPC-HC and PotPlayer the stream is working via this m3u8 file:

Code: Select all

#EXTM3U
#EXTVLCOPT:network-caching=2000
rtsp://user:password@192.168.1.2:8554/unicast
Can someone suggest settings?

Re: How to add this RTSP camera (Xiaomi-Dafang-Hacks)

Posted: Sat Sep 04, 2021 12:26 pm
by Saturnus
Anyone?

Re: How to add this RTSP camera (Xiaomi-Dafang-Hacks)

Posted: Sat Sep 04, 2021 3:00 pm
by iconnor
Use the ffmpeg monitor type and stick rtsp://user:password@192.168.1.2:8554/unicast in the url in the source tab.

Re: How to add this RTSP camera (Xiaomi-Dafang-Hacks)

Posted: Tue Sep 07, 2021 1:47 pm
by Saturnus
Thanks.

Recently I started a new Docker container running a large application which required /dev/shm access. Now my eye caught the "/dev/shm: 100%" text in top of the webinterface. After adding "-v /dev/shm:/dev/shm" to the Docker command the camera stream is visible via the method mentioned by iconnor.