keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.68k stars 235 forks source link

Help with Reolink RLC-410-5MP #64

Closed jkblm closed 3 years ago

jkblm commented 3 years ago

Has anyone been able to bring up a Reolink RLC-410-5MP on unifi-cam-proxi ?

So far I have only been able to bring up a PZT Hikvision DS-2DE3304W-DE successfully.

A new RLC-410-5MP came in today.

It has the following firmware loaded: Model RLC-410-5MP UID 9527000210BBA5P3 Build No. build 20103100 Hardware No. IPC_515B16M5M Config Version v3.0.0.0 Firmware Version v3.0.0.116_20103100 Details IPC_515B16M5MS10E1W01100000001

Loaded command line on the Raspberry Pi4B 8GB with the current unifi-cam-proxi loaded:

unifi-cam-proxy -H 192.168.XX.157 -i 192.168.XX.210 -c client.pem -t qIkXXXXXXSBT8krQ4poXo0wbzXXXX rtsp -s rtsp://192.168.XX.210:554/h264Preview_01_main --ffmpeg-args '-c:v copy -vbsf "h264_metadata=tick_rate=60000/1001:fixed_frame_rate_flag=1" -ar 32000 -ac 2 -codec:a aac -b:a 32k'

Raspberry Pi output running code:

2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [EnableLogging] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [ChangeDeviceSettings] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [ChangeDeviceSettings] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [AnalyticsTest] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [UpdateUsernamePassword] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:55 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:59 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:59 raspberrypi RTSPCam[6215] INFO Spawning ffmpeg for video2 (XXXAJ4ftoOZ6dt0v): ffmpeg -nostdin -y -stimeout 15000000 -rtsp_transport tcp -i "rtsp://192.168.10.210:554/h264Preview_01_main" -c:v copy -vbsf "h264_metadata=tick_rate=60000/1001:fixed_frame_rate_flag=1" -ar 32000 -ac 2 -codec:a aac -b:a 32k -metadata streamname=XXXAJ4ftoOZ6dt0v -f flv - | /usr/bin/python3 -m unifi.clock_sync | nc 192.168.10.157 7550 2021-08-10 00:03:59 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:59 raspberrypi RTSPCam[6215] INFO Spawning ffmpeg for video1 (XXXUkmBzm0QTgdkQ): ffmpeg -nostdin -y -stimeout 15000000 -rtsp_transport tcp -i "rtsp://192.168.XX.210:554/h264Preview_01_main" -c:v copy -vbsf "h264_metadata=tick_rate=60000/1001:fixed_frame_rate_flag=1" -ar 32000 -ac 2 -codec:a aac -b:a 32k -metadata streamname=qwvUkmBzm0QTgdkQ -f flv - | /usr/bin/python3 -m unifi.clock_sync | nc 192.168.XX.157 7550 2021-08-10 00:03:59 raspberrypi RTSPCam[6215] INFO Processing [ChangeVideoSettings] message 2021-08-10 00:03:59 raspberrypi RTSPCam[6215] INFO Spawning ffmpeg for video3 (XXXPL1K4qJiyg9do): ffmpeg -nostdin -y -stimeout 15000000 -rtsp_transport tcp -i "rtsp://192.168.10.210:554/h264Preview_01_main" -c:v copy -vbsf "h264_metadata=tick_rate=60000/1001:fixed_frame_rate_flag=1" -ar 32000 -ac 2 -codec:a aac -b:a 32k -metadata streamname=XXXPL1K4qJiyg9do -f flv - | /usr/bin/python3 -m unifi.clock_sync | nc 192.168.XX.157 7550 2021-08-10 00:04:02 raspberrypi RTSPCam[6215] INFO Processing [NetworkStatus] message 2021-08-10 00:04:02 raspberrypi RTSPCam[6215] INFO Processing [GetSystemStats] message Camera does show up in the UNVR interface with GREEN dot. But Camera never appears up in video.

I have tried about 10 different cameras (several Dahua, two different Reolink and other RTSP examples) PZT Hikvision DS-2DE3304W-DE works AWESOME and love for about $178.00 US.

Any help with this Reolink RLC-410-5MP on unifi-cam-proxi would be appreciated.

Thanks,

Jeff

keshavdv commented 3 years ago

Does the timeline work (viewing recordings)? I've seen in some cases where the live view does not work, but the camera does continue recording anyway.

jkblm commented 3 years ago

@keshavdv

I have tried many different command line formats, on Protect 1.18.1 and 1.19.0. I can't get the camera video stream show in the MAC or iPhone APP.

I have the same problem with these cameras: Reolink RLC-410-5MP Reolink RLC-520-5MP Dahua iPVD-ELE3IRZ

Only cameras I am able to get working in the Unifi-Cam-Proxy: A. DS-2DE4A425IW-DE 4MP 25x PTZ Zoom Darkfighter Auto Tracking IP Camera B. DS-2DE3304W-DE 3MP PTZ 4X Zoom

I have RBPi “basic image” for the Unifi-Cam-Proxy install Contains:

You will need to install client.PEM and compile the Unifi-Cam-Proxy with this file.

jkblm commented 3 years ago

@keshavdv

For Public share Unifi-cam-proxy on HikVision 3B 8_20_21.pdf

Let me know your email address and I can send you a DropBox secure link with Basic Image.

GhostlyCrowd commented 2 years ago

I am having this same issue.