Hello. I have been digging around the SDK for a while and I'm interested in implementing something similar to the example called CaptureStills. I made a project with its files in qt creator and I managed to compile it just fine. However, I cannot get a correct pixel format mode. From the list of supported pixel formats, which is a vector called kSupportedPixelFormats, I can only get the first two to work, the other ones fail. Here is how it goes:
- Code: Select all
Index 0 - 8 bit YUV (4:2:2) OK
Index 1 - 10 bit YUV (4:2:2) OK
Index 2 - 8 bit ARGB (4:4:4) Fail
Index 3 - 8 bit BGRA (4:4:4) Fail
Index 4 - 10 bit RGB (4:4:4) Fail
Index 5 - 12 bit RGB (4:4:4) Fail
Index 6 - 12 bit RGB (4:4:4) Little-Endian Fail
Index 7 - 10 bit RGBX (4:4:4) Fail
I am using a DeckLink Mini Recorder 4K and a Micro Studio camera, which inside MediaExpress can record Avi 10 bit YUV, Avi 10 bit RGB, QuickTime 10 bit YUV, QuickTime 10 bit RGB and DPX 10 bit RGB. Could you give me a hint on where the problem lies? Thank you!