Changing camera fps in ios

asked 2015-06-12 19:21:27 -0600

arna gravatar image

Hi, I was trying to build an app using opencv in ios. I followed the really helpful tutorial for video processing. I want to change the fps of the camera video that I use to process the video. The iphone camera can go upto 240 fps(the slow-mo on iphone). So, when I change the property "defaultFPS" to anything greater than 30, it does not show the video anymore. Could somebody help me out as to how the fps of the camera can be changed

Thanks for help.

edit retag flag offensive close merge delete

Comments

Check the manual VideoCapture::set and use CV_CAP_PROP_FPS.

Anyway cameras have some restriction about availables FPS and resolution

pklab gravatar imagepklab ( 2015-06-26 13:10:26 -0600 )edit