While accessing live-streaming IP camera. VideoCapture can open a video but then after some second or minute can't read it. cap.read?() keeps returning false and frame is none after some time. FPS rate of that camera is 180000. This is so high.
cap.read?()
Python-> 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] on linux OS- Ubuntu (18.04 or 20.04) OpenCV - 4.4.0 opencv-contrib-python==4.4.0.46
Look here, it seems like openCV has problems with non-USB cameras. Reported fps are likely to be a default value when opencv cannot read camera properties.
2.1m questions
2.1m answers
60 comments
57.0k users