Skip to content

ONVIF Focus and IR Cut Filter

Note: these features requires the Datastead RTSP/RTMP/HTTP/ONVIF Source filter version 9.2.4.4 or newer.

To control the focus and the IR Cut Filter, invoke ONVIFPTZStartMove

  • the parameter name is not case sensitive.
  • the parameters with a (*) are "activation" commands, in this case the other parameters of the function are ignored

FOCUS

The supported commands are:

FocusNear FocusFarFocusAuto () FocusManual ()

VideoGrabber.ONVIFPTZStartMove("Focus", true, 1, 1000);

VideoGrabber.ONVIFPTZStartMove("Focus", false, 1, 1000);

VideoGrabber.ONVIFPTZStartMove("FocusNear", true, 1, 1000);

VideoGrabber.ONVIFPTZStartMove("FocusNear", false, 1, 1000);

VideoGrabber.ONVIFPTZStartMove("FocusFar", true, 1, 1000);

VideoGrabber.ONVIFPTZStartMove("FocusFar", false, 1, 1000);

VideoGrabber.ONVIFPTZStartMove("FocusAuto", true, 0, 0);

VideoGrabber.ONVIFPTZStartMove("FocusManual", true, 0, 0);

IR CUT FILTER

Tthe supported commands are:

IRCutOn (*)

IRCutOff (*)

IRCutAuto (*)

E.g.: VideoGrabber.ONVIFPTZStartMove("IRCutOn", true, 0, 0);