- Posts: 3
- Joined: Tue Nov 03, 2015 3:34 pm
Hi Filipe,
The older Intensity Pro (i.e. not the 4K version) does not support Automatic Mode Detection[1].
The Intensity Pro 4K (and other 4K devices) support input format detection, the SDK manual section "Automatic Mode Detection" gives a high-level overview, while the SDK example 'AutomaticModeDetection' presents a code example.
With the Intensity Pro, it may be possible to emulate this feature by cycling through a list of expected video modes, calling EnableVideoInput, and checking for the absence of the bmdFrameHasNoInputSource[2] flag on the IDeckLinkVideoInputFrame[3] in the IDeckLinkInputCallback::VideoInputFrameArrived callback.
When video input is enabled and frames are captured with a valid input source, your application has determined the input video mode.
Cheers,
-nick
[1] 2.4.6 Automatic Mode Detection
[2] 2.7.6 Frame Flags
[3] 2.5.11 IDeckLinkVideoInputFrame Interface
[4] 2.5.10.1 IDeckLinkInputCallback::VideoInputFrameArrived method