OS: Ubuntu 18.04
SDK: 11.5
This seems like a basic question, but what are the possible causes of failing to query the
input interface as per SDK
Capture sample:
- Code: Select all
// Get the input (capture) interface of the DeckLink device
result = deckLink->QueryInterface(IID_IDeckLinkInput, (void**)&g_deckLinkInput);
if (result != S_OK)
{
fprintf(stderr, "The selected device does not have an input interface\n");
goto bail;
}
?
On machine 'A' with an 8K Pro card this always succeeds, but on machine 'B' with a Duo 2 card it always fails.
It doesn't appear to relate to another process accessing the device - on machine 'A' if I run ffmpeg (with DeckLink device support) to capture from the 8K Pro then run the SDK Capture sample against the same device, the QueryInterface(IID_IDeckLinkInput) call succeeds but the later g_deckLinkInput->EnableVideoInput() fails, which seems expected.
It also doesn't seem to be related to the selected profile for the device. Selecting profile 0 ("one sub-device full-duplex") with the SDK ActivateSample utility then running Capture results in the "if (duplexMode == bmdDuplexInactive)" duplex test failing instead.