VideoCapture.Set() not working

asked 2014-03-01 19:21:55 -0500

Bundaboy gravatar image

...and little wonder! I looked into the code and found:

virtual bool setProperty(int, double) { return false; }

...well that's not very useful is it?

Could a developer comment on this please?

edit retag flag offensive close merge delete


my os is : ubuntu 16.04 opencv : 3.3.1 python : 2.7 when I use videoCapture.set(cv2.CAP_PROP_FPS, fps),it's return false.

rezvan gravatar imagerezvan ( 2018-06-02 03:04:39 -0500 )edit

@rezvan, that's not a bug. most webcams/drivers do not support setting the fps rate.

berak gravatar imageberak ( 2018-06-02 03:15:54 -0500 )edit