How to set fps, width frame and height frame of a ipcamera in C++ [closed]

asked 2018-01-17 15:49:12 -0500

calocabe96 gravatar image

I have tryed with videoCapture.set(CAP_PROP_FPS,15) and it doesn't work. I have also tryed to set this props with ONVIF Device Manager and still doesn't work

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-11-16 16:38:01.910266


VideoCapture does not have any means of communicating with your device. you'll have to get down to your device manual, and figure out, how the (proprietary) network protocol works. if yoou're lucky, it is http based, and you can use libCurl or such.

berak gravatar imageberak ( 2018-01-18 01:38:51 -0500 )edit

You mean VideoCapture.set ( ) is useful just when working with videos?

calocabe96 gravatar imagecalocabe96 ( 2018-01-18 09:59:18 -0500 )edit

i only said, that you cannot control your ip camera like that. (ptz, framerate, resolution, etc)

berak gravatar imageberak ( 2018-01-18 10:17:19 -0500 )edit