opencv get frame count c++ code example Example: cv2 get framerete video fps = capture.get(cv2.CAP_PROP_FPS)