-
Notifications
You must be signed in to change notification settings - Fork 1k
Wrong FPS with 4.8.0.76 but not with 4.7.0.72 #899
Copy link
Copy link
Closed
opencv/opencv
#24492Labels
Description
Expected behaviour
We are expecting to get FPS = 10, as we get with opencv-python 4.7.0.72
import cv2
cap = cv2.VideoCapture('C:\\data\\raw\\avd13_cam6_20221112190637_20221112195338.mp4')
print(cap.get(cv2.CAP_PROP_FPS))prints 10.0
Actual behaviour
When using the latest version of opencv-python 4.8.0.78, we get 25.
import cv2
cap = cv2.VideoCapture('C:\\data\\raw\\avd13_cam6_20221112190637_20221112195338.mp4')
print(cap.get(cv2.CAP_PROP_FPS))prints 25.0
Steps to reproduce
Video codec information from VLC

- minimal example code
import cv2
cap = cv2.VideoCapture('C:\\data\\raw\\avd13_cam6_20221112190637_20221112195338.mp4')
print(cap.get(cv2.CAP_PROP_FPS))-
operating system
Python in Windows -
architecture (e.g. x86)
-
opencv-python version
4.7.0.72
4.8.0.78
Reactions are currently unavailable