8-bit YUV Mode on Input - too slow ?

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

peter_k

  • Posts: 7
  • Joined: Fri Apr 16, 2021 9:54 pm
  • Real Name: Peter Krajcik

8-bit YUV Mode on Input - too slow ?

PostSun Apr 18, 2021 6:41 am

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.
Offline

peter_k

  • Posts: 7
  • Joined: Fri Apr 16, 2021 9:54 pm
  • Real Name: Peter Krajcik

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

PostMon Apr 19, 2021 2:06 pm

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.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 19 guests