Hello,
I'm working on video output from DeckLink cards and now had the chance to try the code on different DeckLink cards with different monitors as I before used my home setup with the small DeckLink 4K Mini Monitor only. While trying the tool, it showed that my implementation of different formats like 10 Bit RGB and 12 Bit RGB works well and the monitor receives the correct code values if setup of the card is set correctly but there is the problem:
The driver seems to overwrite the output settings and I always need to change the settings in the Blackmagic Desktop Video Setup application after I enable video output. After I initialize the device it switches to "Video is converted to Y, Cb, Cr", PsF instead of p and Dual Link when I specifically selected Single Link(or Quad Link for 4K RGB).
Basically I use this code (with some error handling I removed to simplify here):
I haven't had the chance to fully test quad link, but on the UltraStudio 4K I have direct access to 444 is always switched to 4:2:2 conversion and Link mode is on dual link when I open the Desktop Video Setup app after starting our tool and sending the setup parameters.
My parameters are 1080p24, SingleLink and especially bmdDeckLinkConfig444SDIVideoOutput set to true. So I at least would expect 4:4:4 but even when I changed it, next time I release the card and reinitialize it is reset again. So what would be the right way to set those setup parameters (and which parameter switches from PsF to p mode)?
Sadly there is no example for this kind of output setup and I tried to find the way with the help of the SDK documentation and the headers but I'm stuck there now.
Another question I have: What exactly does the color space parameter do? Is this intended as the selection for the 4:4:4 <-> 4:2:2 matrix selection or is there more behind this parameter?
I'm working on video output from DeckLink cards and now had the chance to try the code on different DeckLink cards with different monitors as I before used my home setup with the small DeckLink 4K Mini Monitor only. While trying the tool, it showed that my implementation of different formats like 10 Bit RGB and 12 Bit RGB works well and the monitor receives the correct code values if setup of the card is set correctly but there is the problem:
The driver seems to overwrite the output settings and I always need to change the settings in the Blackmagic Desktop Video Setup application after I enable video output. After I initialize the device it switches to "Video is converted to Y, Cb, Cr", PsF instead of p and Dual Link when I specifically selected Single Link(or Quad Link for 4K RGB).
Basically I use this code (with some error handling I removed to simplify here):
- Code: Select all
IDeckLinkConfiguration* decklink_config;
BOOL outflag = true;
this->my_IDeckLink->QueryInterface(IID_IDeckLinkConfiguration, reinterpret_cast<void**>(&decklink_config));
if (4K mode on DeckLink 8K pro)
decklink_config->SetInt(bmdDeckLinkConfigDuplexMode, bmdDuplexModeFull);
decklink_config->SetInt(bmdDeckLinkConfigSDIOutputLinkConfiguration, bmdLinkConfigurationQuadLink); // or single link depending on use case
decklink_config->SetFlag(bmdDeckLinkConfigQuadLinkSDIVideoOutputSquareDivisionSplit, outflag); // when using QuadLink 4K
decklink_config->SetInt(bmdDeckLinkConfigVideoOutputIdleOperation, bmdIdleVideoOutputLastFrame);
decklink_config->SetInt(bmdDeckLinkConfigVideoOutputConversionMode, bmdNoVideoOutputConversion);
decklink_config->SetFlag(bmdDeckLinkConfig444SDIVideoOutput, outflag);
I haven't had the chance to fully test quad link, but on the UltraStudio 4K I have direct access to 444 is always switched to 4:2:2 conversion and Link mode is on dual link when I open the Desktop Video Setup app after starting our tool and sending the setup parameters.
My parameters are 1080p24, SingleLink and especially bmdDeckLinkConfig444SDIVideoOutput set to true. So I at least would expect 4:4:4 but even when I changed it, next time I release the card and reinitialize it is reset again. So what would be the right way to set those setup parameters (and which parameter switches from PsF to p mode)?
Sadly there is no example for this kind of output setup and I tried to find the way with the help of the SDK documentation and the headers but I'm stuck there now.
Another question I have: What exactly does the color space parameter do? Is this intended as the selection for the 4:4:4 <-> 4:2:2 matrix selection or is there more behind this parameter?
Greetings
Ingmar Rieger
Ingmar Rieger