Page 1 of 1

8-bit YUV Mode on Input - too slow ?

PostPosted: Sun Apr 18, 2021 6:41 am
by peter_k
Hi, I am testing UltraStudio 3G Recorder. When using autodetect on the input, signal is detected and pixel format set to bmdFormat10BitYUV. I need bmdFormat8BitYUV frame for the next processing. I thought, switching to bmdFormat8BitYUV should be easy, but when DeckLink is in that mode (I set this pixelForma t in ::VideoInputFormatChanged), I am receiveing frames at ~10fps only. Is that correct or it is a problem on my side? Thanks.

Re: 8-bit YUV Mode on Input - too slow ?

PostPosted: Mon Apr 19, 2021 2:06 pm
by peter_k
Hi, I found the problem: after manual change of input pixelFormat, ::VideoInputFormatChanged is called. It tries to set a new pixelFormat calling deckLinkInput->EnableVideoInput, which calls ::VideoInputFormatChanged again, etc.... this loop repeatedly reseted input and this of course affected fps. Ignoring bmdVideoInputColorspaceChanged flag in ::VideoInputFormatChanged fixed it.