cap.get(cv2.CAP_PROP_FPS) gives 0.0 for Sricam IP camera. How to get framerate of any type of video?
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>
add a comment