- Posts: 7
- Joined: Mon Apr 11, 2016 5:35 pm
Hi Bobby,
I can confirm that the DeckLink Duo does support video format detection.
However, IDeckLinkInput::EnableVideoInput requires a valid video input mode to start capture. It will return an error if the application attempts to start video capture with bmdModeUnknown.
Your application can still operate in your intended fashion, by picking an initial video mode, e.g. bmdModeHD1080p25 [1], and then initialising the application data structures for this mode.
Then, if the input video mode is 1080p25 the application can immediately begin capture and processing of video frames.
If the input is not 1080p25, the application will receive a call to VideoInputFormatChanged with the detected display mode, and can re-initialise the data structures with the detected display mode.
Cheers,
-nick
[1]
The application can use either of the following interfaces to obtain a reference to an IDeckLinkDisplayMode instance representing an input BMDDisplayMode:
2.5.4.1 IDeckLinkInput::DoesSupportVideoMode method
2.5.4.2 IDeckLinkInput::GetDisplayModeIterator method