cap.get(cv2.CAP_PROP_FPS) gives 0.0 for Sricam IP camera. How to get framerate of any type of video?

asked 2018-02-13 00:50:50 -0600

cap.get(cv2.CAP_PROP_FPS) gives 0.0 for Sricam IP camera URL of the format rtsp://<ip_address>:<port>/onvif1. But it works fine and gives 25.0 for DVR RTSP URL. rtsp://<user>:<agreeya>/<ip_address>:<port>/channel=<id>

edit retag flag offensive close merge delete