ConvertFrame returns E_NOTIMPL

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

Mark Chambers

  • Posts: 2
  • Joined: Mon Jul 10, 2017 3:57 pm

ConvertFrame returns E_NOTIMPL

PostMon Jul 10, 2017 4:18 pm

I am trying to use the built-in ::ConvertFrame to convert from bmdFormat10BitYUV to bmdFormat10BitRGB (other RGB formats would be ok). I get a 'not implemented' return code. I have the Intensity Pro 4K card.

Should this work? I just want to know if the conversion *should* be supported before spending any more time trying to find a mistake of mine.
Offline

Mark Chambers

  • Posts: 2
  • Joined: Mon Jul 10, 2017 3:57 pm

Re: ConvertFrame returns E_NOTIMPL

PostMon Jul 10, 2017 7:51 pm

I've solved my problem: I was creating a large buffer to convert to, large enough to hold the maximum size input our application supports. If I make the convert-to buffer the same size as the convert-from frame, the conversion succeeds.
Offline

Nicholas Gill

Blackmagic Design

  • Posts: 169
  • Joined: Mon May 04, 2015 10:28 pm

Re: ConvertFrame returns E_NOTIMPL

PostWed Jul 12, 2017 4:53 am

Hi Mark,

Glad to hear you solved the issue - I can confirm that the behaviour you observe is expected, as IDeckLinkVideoConversion[1] currently supports pixel format conversion only, so the source and destination video frame objects must have matching dimensions.

Cheers,

-nick

[1] 2.5.41 IDeckLinkVideoConversion Interface

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 16 guests