I tried the test by calling
- Code: Select all
input->EnableVideoInput(bmdModeNTSC, bmdFormat8BitBGRA, bmdVideoInputEnableFormatDetection)
VideoInputFormatChanged returns with:
newDisplayMode = bmdModeHD720p5994
detectedSignalFlags = bmdDetectedVideoInputYCbCr422
Maybe I am misunderstanding the pixel format parameter with EnableVideoInput. The video coming in is not BGRA, but I want to access each frame as BGRA in memory. I thought that this conversion would happen automatically, but is that incorrect? Is the pixel format paramter simply specifiying what format to expect on the input?