Frigate H264 on (some) 8MP Reolink Cameras Working #3594
Replies: 9 comments 15 replies
-
Using your work as a base I managed to get this working through the NVR with 810-A cameras too.
I needed to use h264 in the URL and not H265 as well as dropping '_cuvid' from the hwaccel_args. For each camera connetd to the NVR you want to use just use the next numbered stream, 02, 03, 04 etc |
Beta Was this translation helpful? Give feedback.
-
Shout out to @NickM-27 for the help on this thread: #3746 I am updating the above post to include the steps for RTMP as well. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to comment here that this was the key for me (with a RLC-811A):
Before this, even opening the stream in VLC wasn't working. I was getting suspicious because the preview stream was working in Frigate, but clicking in to the live view wasn't working. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, this is also working great for a RCL510WA. (firmware v3.1.0.764_21121712) However, I checked the all the streams via VLC and noticed that the sub stream (fluent) has always a fixed resolution of 896x672 when using RTMP. (The setting in the Reolink app only affects the RTSP sub stream). Strange enough the settings for the main stream appear to be working for both RTMP and RTSP. So I updated the detect config to:
(Although it also worked with 640x480) |
Beta Was this translation helpful? Give feedback.
-
Reviving this very useful thread. @Chmynard - I am about to start configuring for go2rtc. I tried a few things but was not successful. I wonder if anyone has some suggestions on this? @finalbillybong. I have 4x820a, 1x842a cameras. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what the cause is but i can sometimes connect to the stream in VLC and other times i can spend a whole day trying to get it to connect and the next day it will instantly connect like there was no issues yesterday. I'm using unraid with frigate as a docker. If i use rtsp://192.168.2.10:8554/Camera1?video=copy&audio=aac I get connection refused error and if i use rtsp://192.168.2.10:554/Camera1?video=copy&audio=aac I get 401 authentication error. Right now i can stream from the the go2rtc dashboard but it will not show video on the frigate home screen and it will not record with unable to read frames but i can clearly see the stream in go2rtc.
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I did get this working with my cameras. 820s and an 842. The only thing I can't get working with the restream is audio - either in the UI or in the record. Configuration is below - any help appreciated. Thanks.
|
Beta Was this translation helpful? Give feedback.
-
Hello guys, The DoorBell HTTP stream works perfectly all the time, for the 811 and TrackMix at full resolution it works for 5min and then I got timeouts and the recording/detection and doesn't work anymore, I can access the live view after 5 sec (Missing frames). For the 811 I can fix the issue by lowering the stream resolution, (note that with lowering the resolution the HTTP Stream works) but then it narrows the FOV. For the TrackMix I can't change the resolution at all so I'm stuck with a buggy camera and a too narrow camera. Did someone have a clue for this ? |
Beta Was this translation helpful? Give feedback.
-
Hello,
There's been a ton of posts all over the internet about getting Reolink 8MP cams to work in Frigate and I have personally seen many posts on github, reddit, forums saying to give up BUT with the excellent support from Reolink I was able to get my cameras working.
Posting this here for searches / google / maybe to help another person in the future. I am no means an expert but wanted to share my steps.
Considerations: I can only confirm this working on the RLC-810A and RLC-842A. I saw a post from 7 days ago on here that a D800 does not support the h264 at this time. I also edited all my settings on windows using the reolink application, I bet it would work on the mobile app but worth mentioning.
Ensure you are on the latest firmware, simply clicking update firmware in the application did not work for me. I emailed Reolink Support and the firmware they sent me did work.
a. This is done manually in the Reolink App, under the camera's settings (gear Icon) > System > Maintenance > Browse to upload firmware
In the Reolink App, under the camera's settings (gear Icon) > Network Settings > Advanced > Port Settings > Setup> Ensure that RTSP or RTMP (depending on which you plan to use) is ENABLED and take note of the port.
In the Reolink App, under the camera's settings (gear Icon) > Camera > Stream > Set your resolution lower. I opted for the lowest setting on my cameras (2304x1296) and left the FPS and Bitrate Alone.
Restart the Camera in the Reolink App, under the camera's settings (gear Icon) > System > Maintenance > Reboot
Open VLC > Media > Open Network Stream > enter your cameras connection info.
a. FOR RTSP: Formatted as: rtsp://[LOGIN]:[PASSWORD]@[IPOFCAMERA]:[RTSP PORT FROM STEP2]/h265Preview_01_main
b. Mine is rtsp://admin:[password]@192.168.86.231:554/h265Preview_01_main
c. FOR RTMP: Formatted as: http://[IPOFCAMERA]/flv?port=[RTMP PORT FROM STEP2]&app=bcs&stream=channel0_main.bcs&user=[LOGIN]&password=[PASSWORD]
d. Mine is http://192.168.86.25/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=[password]
Give it a second but your stream should show up in VLC
Right click the video feed > Tools> Codec Information or type Ctrl+J
You can verify that "Stream 0" codec is H264
a. NOTE: At the bottom of this window you can see "location", the location still says h265Preview but the codec is h264. So if you are using a substream, it will be h264 and main stream is h265 BUT the video will be h264.
Below is my Frigate Camera Config for my RLC-842A, note my hwaccel_args are using nvidia drivers for the video stream. I don't really know what the input args do but I tried using the recommended ones on Reolinks website and it failed. I removed one at a time until it worked and this is what I was left with.
EDIT 8/23/2022: I removed the Input args from the RTSP camera feed as apparently they are not necessary.
EDIT 8/31/2022 : I started having artifacting in the video stream. Solution is to switch to RTMP. Very Similar steps as above but with RTMP. Still need to change the resolution but be sure that the RTMP port is enabled in the Reolink Networking settings.
#3746
If your RTMP doesn't work, check your password for special characters.
New Camera Config below:
Note: I am no longer using a substream as I wanted better accuracy for facial recognition. I believe the substream is just "channel1". Also please note the inclusion of input_args for RTMP. Please also note the removal of "rtmp enabled: false"
I hope this helps! I am happy to try and field any questions but I am NOT an expert on this.
Beta Was this translation helpful? Give feedback.
All reactions