RTSP server stream pixelates every 10 seconds

seglo

n3wb
May 31, 2024
7
0
Toronto
Hi. I have an Annke NCD800 dual lens outdoor camera I stream to BlueIris. On some devices this stream will ocassionally break into large pixels before returning to high definition a few seconds later. The interval is about 10 seconds. When I view the camera in the BI app or UI3 web app the stream is fine. I've setup a raspi to run rpisurv to stream this and other cameras to a dedicated display. rpisurv streams from BI's dedicated RTSP server, it uses vlc internally and I've verified the same behaviour there. My other camera streams that are originally from Reolink devices don't have the same issue. I've uploaded a video to imgur.
 
RTSP streams works over UDP (not TCP) connections..
So they are very vulnerable to any even minimal packet loss / packet errors...

Those pixelation is typical for any packet loss / errors..
stream recovers after max I-frames setup in encoding menu (usually up to 2 seconds)..

check & redo all ethernet cables / ethernet plugs (or swap for a new ones) between camera <> switches <> BI computer..
 
I'm on version 5.9.7.4. Thanks for the replies.

@steve1225 I don't think it's interference because my reolink cameras don't suffer from the same effect. They're ethernet all the way to BI, but wireless to my raspberry pi. It also happens very reliably on a fixed interval. I can try moving the pi somewhere else though.

I think it might be compression related. Maybe the way BI is reencoding the stream introduces the artifacts?
 
So it looks like ethernet cable to that problematic camera is bad..

uninstall camera, connect to POE switch on new good short cable and check is this solved problem...

ps. why you reencode stream from this camera?
 
Hi @steve1225 . Thanks for the reply. That's an interesting theory. Given its an outdoor camera it's possible for the ethernet to get messed up, but the stream looks fine in BI itself, as well as its UI3 web UI.

I'm re-encoding the stream to have a smaller bitrate. The rpisurv setup I have is using wifi and is only displaying streams on a 1080p 23" display so I just reduced their dimensions to what they needed to be. I'll try dropping the resizing to see if that makes a difference. I'll also try streaming directly from the camera itself.. that will at least help me rule out vlc.
 
I resize the stream with query params to the BI rtsp server BTW, I don't have a separate re-encoding software.
 
I resize the stream with query params to the BI rtsp server BTW, I don't have a separate re-encoding software.
FWIW, several URL arguments listed by @bp2008 , the author of UI3, back in July 2020 when BI added the RTSP server:

 
Hi. I have an Annke NCD800 dual lens outdoor camera I stream to BlueIris. On some devices this stream will ocassionally break into large pixels before returning to high definition a few seconds later. The interval is about 10 seconds. When I view the camera in the BI app or UI3 web app the stream is fine. I've setup a raspi to run rpisurv to stream this and other cameras to a dedicated display. rpisurv streams from BI's dedicated RTSP server, it uses vlc internally and I've verified the same behaviour there. My other camera streams that are originally from Reolink devices don't have the same issue. I've uploaded a video to imgur.
You able to get the sound working on that through BI? If so, how? Thank you!
 
Yes I found a post who helped me configure it awhile ago as it's not intuitive. Google the model name and Blueiris and maybe you'll find it. Here are my video settings fwiw.1000009986.jpg
 
I Googled and followed this guys steps - which are the same as yours - except I didnt disconnect audio in BI. Sound output form the cam works. But I cant get the mike to cam to work. Any ideas?

"30hpX5M
OP

3y ago

I got it to work. The video drop down had a video + audio option and I clicked on that, which should be on by default IMO. I also had to go into BI and uncheck then check the audio option. Thanks for your assistance. I recall flashing my C800 with the Hikvision firmware but did not see any relevant advantages, what options are you using on the NC800 over the stock firmware?"