Trouble Converting Frame captured with Ursa camera

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


  • Posts: 1
  • Joined: Wed Jul 10, 2019 6:03 am
  • Real Name: Kevin Wooley

Trouble Converting Frame captured with Ursa camera

PostWed Jul 10, 2019 6:51 am

We are developing a simple capture utility and have run into a somewhat baffling problem. When we connect most 1080p24 sources to the input, we are able to capture a frame and convert it to RGB using the IDeckLinkVideoConversion::ConvertFrame method. However, when we connect the Main SDI output from a Blackmagic Ursa Mini 4k camera, we get an E_NOTIMPL error from convert frame, even though camera is outputing a 1080p24 signal and it is detected as such. It works just fine with other sources and other cameras!

Here's what our callback for VideoFrameArrived looks like:
Code: Select all
virtual HRESULT STDMETHODCALLTYPE VideoInputFrameArrived(IDeckLinkVideoInputFrame *frame,
                                                                                              IDeckLinkAudioInputPacket *packet)
    static IDeckLinkVideoConversion* _conversion = CreateVideoConversionInstance();
    if (frame && (frame->GetFlags() & bmdFrameHasNoInputSource) == 0)
        IDeckLinkMutableVideoFrame _conversionFrame;
        auto result = device()->deckLinkOutput()->CreateVideoFrame(frame>GetWidth(),
        if (result != S_OK)
            std::cout << "Unable to create conversion target output frame in rgb format" << std::endl;
            return result;
        auto result = _conversion->ConvertFrame(frame, _conversionFrame);
        if (result != S_OK)
            std::cout << "Unable to convert frame to rgb format" << std::endl;
                case (E_FAIL):
                    std::cout << "  E_FAIL" << std::endl; break;
                case (E_NOTIMPL):
                    std::cout << "  E_NOTIMPL" << std::endl; break;
                case (E_OUTOFMEMORY):
                    std::cout << "  E_OUTOFMEMORY" << std::endl; break;
            return result;

        // Do something interesting with the image
    return S_OK;

Any ideas what the problem might be? When we check all the available flags on the incoming video frame, it sure looks like the format from the Ursa is identical to the other sources - 1080p24, 1920x1080, YCbCr422 input, 10-bit YUV pixel format input, etc.


Cameron Nichols

Blackmagic Design

  • Posts: 315
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Trouble Converting Frame captured with Ursa camera

PostMon Jul 15, 2019 2:48 am

Hi Kevin,

So that I can check locally, can you provide:
  • OS and version
  • DeckLink/UltraStudio capture device
  • Desktop Video version
Also did you try capturing with CaptureStills SDK sample to see if the same issue is seen?


Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests