Page 1 of 1

ConvertFrame returns E_NOTIMPL

PostPosted: Mon Jul 10, 2017 4:18 pm
by Mark Chambers
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.

Re: ConvertFrame returns E_NOTIMPL

PostPosted: Mon Jul 10, 2017 7:51 pm
by Mark Chambers
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.

Re: ConvertFrame returns E_NOTIMPL

PostPosted: Wed Jul 12, 2017 4:53 am
by Nicholas Gill
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