PTZ and Control Messages
Initial Implementation: NewTek
Location: Sent via SDK API calls, received as Metadata frames
<ntk_ptz_zoom>
Element
<ntk_ptz_zoom>
ElementSet zoom to an absolute value: NDIlib_recv_ptz_zoom()
<ntk_ptz_zoom>
Attributes
<ntk_ptz_zoom>
Attributeszoom
Absolute value for zoom: 0.0 (zoomed in) to 1.0 (zoomed out)
<ntk_ptz_zoom_speed>
Element
<ntk_ptz_zoom_speed>
ElementZoom at a particular speed: NDIlib_recv_ptz_zoom_speed()
<ntk_ptz_zoom_speed>
Attributes
<ntk_ptz_zoom_speed>
Attributeszoom_speed
Zoom speed: -1.0 (zoom outwards) to +1.0 (zoom inwards)
<ntk_ptz_pan_tilt>
Element
<ntk_ptz_pan_tilt>
ElementSet the pan and tilt to an absolute value: NDIlib_recv_ptz_pan_tilt()
<ntk_ptz_pan_tilt>
Attributes
<ntk_ptz_pan_tilt>
Attributespan
Pan location: -1.0 (left) to 0.0 (centered) to +1.0 (right)
tilt
Tilt location: -1.0 (bottom) to 0.0 (centered) to +1.0 (top)
<ntk_ptz_pan_tilt_speed>
Element
<ntk_ptz_pan_tilt_speed>
ElementPan and tilt at a particular speed: NDIlib_recv_ptz_pan_tilt_speed()
<ntk_ptz_pan_tilt_speed>
Attributes
<ntk_ptz_pan_tilt_speed>
Attributespan_speed
Pan speed: -1.0 (pan right) to 0.0 (stopped) to +1.0 (pan left)
tilt_speed
Tilt speed: -1.0 (tilt down) to 0.0 (stopped) to +1.0 (tilt up)
<ntk_ptz_focus>
Element
<ntk_ptz_focus>
ElementSet focus mode and distance:
NDIlib_recv_ptz_auto_focus()
NDIlib_recv_ptz_focus()
NDIlib_recv_ptz_focus_speed()
<ntk_ptz_focus>
Attributes
<ntk_ptz_focus>
Attributesmode
Sets focus mode: "manual" or "auto"
distance
Focus distance: 0.0 (infinity) to 1.0 (focused as close as possible). Optional, only valid when mode="manual"
<ntk_ptz_recall_preset>
Element
<ntk_ptz_recall_preset>
ElementRecall settings from a particular preset: NDIlib_recv_ptz_recall_preset()
<ntk_ptz_recall_preset>
Attributes
<ntk_ptz_recall_preset>
Attributesindex
The preset index to recall: 0 to 99
speed
How fast to move to the new preset: 0.0 (slowest) to 1.0 (fastest). Optional, should default to 1.0 (fastest) if not specified
<ntk_ptz_store_preset>
Element
<ntk_ptz_store_preset>
ElementStore current settings to a particular preset: NDIlib_recv_ptz_store_preset()
<ntk_ptz_store_preset>
Attributes
<ntk_ptz_store_preset>
Attributesindex
The preset index to store: 0 to 99
<ntk_ptz_white_balance>
Element
<ntk_ptz_white_balance>
ElementSets the white balance:
NDIlib_recv_ptz_white_balance_auto()
NDIlib_recv_ptz_white_balance_indoor()
NDIlib_recv_ptz_white_balance_outdoor()
NDIlib_recv_ptz_white_balance_oneshot()
NDIlib_recv_ptz_white_balance_manual()
<ntk_ptz_white_balance>
Attributes
<ntk_ptz_white_balance>
Attributesmode
White balance mode:auto, indoor, outdoor, one_shot, or manual one_shot (one_push?) locks the current white balance setting
red
Manual red value: 0.0 (not red) to 1.0 (very red). Only present when mode="manual"
blue
Manual blue value: 0.0 (not blue) to 1.0 (very blue). Only present when mode="manual"
<ntk_ptz_exposure>
Element
<ntk_ptz_exposure>
ElementSets the exposure settings:
NDIlib_recv_ptz_exposure_auto()
NDIlib_recv_ptz_exposure_manual()
NDIlib_recv_ptz_exposure_manual_v2()
<ntk_ptz_exposure>
Attributes
<ntk_ptz_exposure>
Attributesmode
Exposure mode: auto or manual
value
Iris setting: 0.0 (dark) to 1.0 (light). Only valid when mode="manual"
gain
Gain setting: 0.0 (dark) to 1.0 (light). Only valid when mode="manual"
shutter
Shutter speed: 0.0 (slow) to 1.0 (fast). Only valid when mode="manual"
Last updated
Was this helpful?