IP Camera RTSP Empty Frame Error

asked 2020-06-08 13:51:47 -0500

estak gravatar image

I've been using a GoSwift security camera for an openCV project. I'm using it because it can film in 4K and all 4K webcams are currently sold out. The camera does fine for the first few seconds, and then it openCV starts returning only empty frames. I have the camera ethernet cable plugged directly into my computer. I can change the camera settings from the app that comes with it, but changing the settings doesn't seem to do anything. At first I thought it was related to the camera resolution and showing the frame. If I reduced the size of the image before showing it using imshow, it wouldn't fail. If I reduced the resolution, it also wouldn't fail. The problem has now gotten worse, though, and I can only get a few frames before it stops. I don't always have this problem. It seems to happen on an off, independent of how long I have been using it. More often than not it is broken.

edit retag flag offensive close merge delete

Comments

Do you have 4K tv or 4K monitor?

supra56 gravatar imagesupra56 ( 2020-06-08 21:04:26 -0500 )edit