Topic has a solution and is locked
Log in or register to post comments

Video preview in 60 FPS problem

June 1, 2017 - 5:35am #1
Topic solved

Device: Iphone 6s

Problem: Can't set camera preview to render at 60 fps.

Vuforia sample app offers camera preview at 60FPS. It gives it good continuous feeling. I can't make it so my app does reach those FPS.

Native iOS camera app allows you to see this when recording "slow-motion" video.

How can you make it so preview displays at higher frames?

Quote:

int recommendedFps = Vuforia::Renderer::getInstance().getRecommendedFps();

Managed to change "FPSHINT_FLAGS" so it returns 60FPS, but setting it through

Quote:

Vuforia::Renderer::getInstance().setTargetFps(recommendedFps);

does not work. 

Changing setTargetFps() manually with int variable does seem to work only when 1<int<30. After 30 it does not change anything.

Thanks for help in advance!

Video preview in 60 FPS problem

June 2, 2017 - 1:07am #3

@medabit



Thank you very much!



Changing video mode to "MODE_OPTIMIZE_QUALITY" resolved the problem!

 

Video preview in 60 FPS problem

June 1, 2017 - 4:29pm #2

Hello,

60 FPS camera was enabled on the iPhone 6S (iPhone8,1) for Vuforia 6.0 and later. Please note that you must set the video mode to "MODE_DEFAULT" or "MODE_OPTIMIZE_QUALITY" to enable 60 FPS camera mode, so if it is not set to one of those you will not see the benefit.

Let me know if that resolves your issue.

Thanks.

Log in or register to post comments