2.4.1 Capture¶
An application performing a standard streaming capture operation should perform the following steps:
If desired, enumerate the supported capture video modes by calling
IDeckLinkInput::GetDisplayModeIterator()
. For each reported capture mode, callIDeckLinkInput::DoesSupportVideoMode()
to check if the combination of the video mode and pixel format is supported.
While streams are running:
receive calls to
IDeckLinkInputCallback::VideoInputFrameArrived()
with video frame and corresponding audio packet.
If audio is not required, the call to IDeckLinkInput::EnableAudioInput()
may be omitted and the IDeckLinkInputCallback::VideoInputFrameArrived()
callback will receive NULL audio packets.