Get video FPS with VideoCapture
How can I get a FPS video opened with VideoCapture.open?
Thank you.
How can I get a FPS video opened with VideoCapture.open?
Thank you.
You can use the VideoCapture::get
. Take a look here. Example of use:
double fps = openedvideo.get(CV_CAP_PROP_FPS)
I am using this method but only getting answer 0. every time. why is that so?
I think it´s because it is a frame-by-frame acquiring process, so the fps are 0 (-1 in my case). Therefore the question should be: what is the refresh rate? And I need the answer for that question! I think the CV_CAP_PROP_FPS works only while reading a video from a file…
Asked: 2012-10-18 15:16:25 -0600
Seen: 20,920 times
Last updated: Oct 19 '12
Windows OpenCV VideoCapture Will Not Open Video File
How to limit the number of FPS from camera
Getting single frames from video with python
After setting capture property, reading the property returns 0.0
Video Capture not working in OpenCV 2.4.2 Windows7 32bit vs9
How to set camera resolution in OpenCV on Android?