Open vertex-github opened 2 years ago
Same issue here with RLC-822A tried changing protocol and/or stream but it does not have any effect.
appears to occur with reolink duo also -confirming
Same issue here with RLC-822A
Looking for common factors here. So far it appears live stream is failing on 822 and Duo. Are there any other cameras where it is failing? Vertex you say other reolink cameras are OK. What models, what MP.?
Could it be a problem with high def cameras? Enquiring minds need to know. For instance is the 511WA affected?
RLC-811A also affected, another 4K model. I dont have any other models.
From data gathered so far it appears that cameras utilising H265 are the problem. More data to gather
core log entry attached core log reolink duo.txt
RLC-520's work fine. This isn't an H265 stream camera. However, I tried configuring the HA plugin to request the H264 stream but without success.
Theory has hit a snag, have received a report that RLC1210A (H265) is operating OK using ver 0.38 for live streaming.
I tried loading the Main & Sub streams in VLC, from the HA log details but also as per article on the Reolink website, this is not working at all. So I created a ticket with reolink, as I might expect this to be a reolink issue.
edit: nvm, VLC changed the rtsp link to all lower case so I used "preview" instead of "Preview", it is working in VLC now.
edit2: Reolink support confirmed that for RTMP the H265 protocol is not supported (sub stream in H264 should work, it does in VLC)
Reolink Australian Support confirms Rubn86 comments extract from their response note that they refer to RSTP not RTMP
I'm sorry that Reolink 4K systems cannot be accessed via RTSP URL since our NVR RTSP is not compatible with H.265 currently. The 4k cameras connected to the 4k NVR system will only show fluent live stream instead of the clear live stream due to the H.264+(h.265) limit. Our engineers are working on the compatible issue of our NVR system, it would take a while before the new firmware upgrade to support H.265 RTSP streaming.
But 4K cameras such as RLC 820, 822, Duo, etc support H265 RTSP streaming when they are used as a single camera instead of directly connected to the NVR's PoE ports. For example, if your device IP address is 192.168.0.110 and the password is 111111, then your RTSP URL should be: Main Stream: rtsp://admin:111111@192.168.0.110:554//h265Preview_01_main Sub Stream: rtsp://admin:111111@192.168.0.110:554//h264Preview_01_sub
I tried using the two examples given (modifying IP and authentication parameters) into VLC.
The first option failed whether or not I changed the P in preview to upper or lowercase,
changing the H265 to H264 was successful.
The second (sub/h264) was successful.
Have tried configuring RTSP, SUB, H264 on my Duo under ver 0.38, which for both channels reports successful,. Just sits and does nothing, I allowed a full 2 minutes in case it was a slow process but all I got was a rotating marker. Still image is OK Ditto RTSP, MAIN, H264 I even tried putting an explicit image path in the lovelace card - no joy
I have 2 RLC-520a (5Mpix) and RTMP/RSTP streams are loading like 80% of the time. Now each camera has a different firmware and the oldest (3.0.0.494) works 99% while the other (3.1.0.0.x) works 60% of the time. I just can't explain how/why but all my experiments lead me to believe it's on Reolink side. Note that streaming SUB will give me a much higher chance of success.
Ok did some more testing, for me it seems to be working all the time now. Mistake from my site: Did not know you had to reload the reolink integration after changing settings there.
I can set RTMP/Sub/H264 & RTSP/Main/H265 without a problem.
I am running my camera's on the latest firmware (v3.0.0.494_21073007) and in stand alone mode (not via a NVR)
Unfortunatly not my results with DUO - Standalone Test Process: Open Integration, choose 1 (camera name defaults to 1 or 2) Select Configure, make selection of RTMP/RTSP, Main/Sub, H264/H265 changing only one each time Get Success, Reload, Get Integration was reloaded Test by selecting camera 1, sensor 1, wait at least 1 minute to see if live stream occurs
Camera 2 same results
Results
Reolink Duo PoE
by Reolink
Firmware: v3.0.0.639_21092800
RTMP MAIN 264 FAIL
RTMP MAIN 265 FAIL
RTMP SUB 264 FAIL
RTMP SUB 265 FAIL
RTSP MAIN 264 FAIL
RTSP MAIN 265 FAIL
RTSP SUB 264 FAIL
RTSP SUB 265 FAIL
Using VLC network stream
rtsp://camerauser:camera@192.168.80.43:554//h265Preview_01_main FAIL
rtsp://camerauser:camera@192.168.80.43:554//h264Preview_01_main SUCCESS
rtsp://camerauser:camera@192.168.80.43:554//h265Preview_01_sub FAIL
rtsp://camerauser:camera@192.168.80.43:554//h264Preview_01_sub SUCCESS
Stream Settings reolink RLC-822A Firmware v3.0.0.494
Clear Resolution : 3840x2160 FPS : 25 Bitrate : 8192 Interframe : 2
Fluent Resolution : 640x360 FPS : 15 Bitrate : 512 Interframe : 4
VLC stream Main Stream: rtsp://admin:password@192.168.0.200:554//h265Preview_01_main works Sub Stream: rtsp://admin:password@192.168.0.200:554//h264Preview_01_sub works
Hass rtsp main h265 fail rtsp sub h264 works but stop again and again rtmp main h265 fail rtmp sub h264 works but stop again and again
I just added an RLC-820A to my NVR system yesterday but the stream won't load in HA. I have 2 others that are working fine and the only difference I can see is the camera firmware version. The working ones have v3.0.0.206_21031686 and my new one has v3.0.0.388_21062101. Thought I'd downgrade the firmware but on the Reolink website neither of those versions are available to download which seems odd.
Edit - Just downgraded from 388 to v3.0.0.177 (206 not available to download from Reolink) and it is working in HA now.
I am having the same issue, it was working fine and then stopped. Messing around with the configuration i have got it working on RTMP/Sub/h264. I have a RLC-1220A for anyone with the same camera (connected to a reolink NVR)
RTMP/Sub/h264.
These settings work for streaming from an RLC-810A when other settings would not work for steaming.
I also have NVR and 4 pcs RLC-810A cameras. I can see thumbnails, but opening stream window only gives me black screen with gery ring loading forever... I have tried all combinations RTPSP/RTMP/264 and 265/main, sub, ..
Sub stream works, but the resolution is so small (640x480) compared to the 4K feed it can produce. One thing I did realize is that I had to restart HA after every config change otherwise the change was not reflected in the UI. Id tried the substream previously but not restarted HA so it looked like the change didnt work. So Ive at least got some feed, just not what the camera can produce.
What would it take to get 4k stream to play correctly in HA? I have RLC-810A
What would it take to get 4k stream to play correctly in HA? I have RLC-810A
My 4k streams have not failed me once, since I last posted, 2 months ago. I have a RLC810a and RLC522a, standalone, so not connected to a NVR.
With the following settings in the integration (still on version 0.42): RTSP / MAIN / H265 All other settings are default (settings on RLC camera's also default)
In HA I used the "picture enitity" card to display the streams.
What would it take to get 4k stream to play correctly in HA? I have RLC-810A
My 4k streams have not failed me once, since I last posted, 2 months ago. I have a RLC810a and RLC522a, standalone, so not connected to a NVR.
With the following settings in the integration (still on version 0.42): RTSP / MAIN / H265 All other settings are default (settings on RLC camera's also default)
In HA I used the "picture enitity" card to display the streams.
I have tried every possible setting I could think of but no go for me.
me.
Dunno if it's any help but I have 2 RLC-520A and I've discovered that for some reason I can't stream over the admin account. Password and everything is all correct. I added a user account and it worked straight away. I even factory reset the camera and changed the password to make sure it was correct.
I tried all the above steps and had all the above error messages.
@frankfurts88 I had given up all hope but wanted to give it a try. And ... It worked for the RLC-822A. Maybe this helps others as well (no guarantees) but these were my steps:
H.265 won't work in the internet browsers unless you're using Safari / Edge or a NVR.
When adding a new Reolink IP camera i used the IP address of the camera (of course) and kept the port on 443 with the HTTPS checked.
I used a different account then admin without admin permissions. I also used a simple password without "special characters" but only lowercase, uppercase and numbers.
When the camera was added i changed the configuration of the camera:
Protocol
- rtmp
Stream
*I didn't change the other settings.
Some version information:
| | |
|-----|-----|
| Home Assistant Core | 2022.6.0 |
| Reolink RLC822-A | v3.0.0.177 |
| reolink_dev | v0.54 |
**Edit: **
I can also confirm that the firmware is important as indicated earlier in this issue
| Firmware version | working state |
|-----|-----|
| v3.1.0.956 | **Not** working |
| v3.0.0.494 | Working |
| v3.0.0.177 | Working |
**Edit 2: **
| Firmware version | working state | Note |
|-----|-----|-----|
| v3.1.0.956 | Working (for now) | Configure reolink_dev to `sub` **or** set the resolution to 2560*1440 in the Reolink Client and keep it on `main`. Don't forget to restart home assistant |
@GewoonRoy Thank You!! . I have been banging it this for hours and was getting closer, but some of the errors were just so random.... Can confirm that your above description works with RLC-820A. (v3.1.0.956)
@GewoonRoy curious because you've set RTMP and not RTSP in the protocol... I tried RTSP and it works in HA, and it seems better to handle streaming data, at least in the protocol high-level theory. Thanks!
@rainbowbreeze RTSP works to :). I puzzled a lot and finally got it to work so i stopped tweaking those settings.
I stopped using this repository though. Because it still has too much flaws for me and i would like to work without errors in my log and the latest firmware on my camera. This repo is pretty much dead, never had a reaction of the creator and i still see new issues created while there are very old issues which are still open.
I am using JimStar/reolink_cctv which fixed all errors in the log and i am using v3.1.0.989 (currently latest firmware) on my Reolink RLC-822A.
This was working about 2 weeks back. Maybe 3. Latest version doesn't work with this camera. Other reolinks on my network work great. I get an image preview but cannot view the live stream (by clicking the preview image - nothing loads).
I've tried removing and re adding the device which didn't fix the problem. Any suggestions?