Help with API or tutorial-level software for Stereo Stream

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

cbergeles

  • Posts: 1
  • Joined: Tue Apr 10, 2018 1:31 pm
  • Real Name: Christos Bergeles

Help with API or tutorial-level software for Stereo Stream

PostTue Apr 10, 2018 1:35 pm

Hi all,

I am trying to capture a stereo stream using the DeckLink 4K Extreme 12G - video
capture adapter - PCIe 2.0 x8. The two SDI streams are coming from a Sony box, Sony MCC-3000MT.

I can easily see the two incoming images side by side in the Media Express application, but I would like to capture the stream using a custom software (we work on medical image analysis).

I am able to capture a single frame, and I cannot understand how the data is transmitted. Are the incoming stereo frames interlaced line by line? Is there a tutorial on using the APIs for this?

Any help is appreciated. We work in linux, using Python and C++, but OS is not an issue and we are flexible.

Thank you,
Christos
Offline

Cameron Nichols

Blackmagic Design

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

Re: Help with API or tutorial-level software for Stereo Stre

PostTue Apr 17, 2018 6:47 am

Hi Christos,

For a high level overview of 3D Capture with the DeckLink SDK, please refer DeckLink SDK Manual [1].

Use a similar process for normal capture, except that set flag bmdVideoInputDualStream3D when calling EnableVideoInput [2].

On the IDeckLinkInputCallback::VideoInputFrameArrived callback, the IDeckLinkVideoInputFrame represents the left-eye frame. Query IDeckLinkVideoFrame3DExtensions on the video frame and call GetFrameForRightEye for right-eye frame [3].

I hope this helps

Regards
Cameron

Refs (DeckLink SDK Manual)
[1] 2.4.3.1 3D Capture
[2] 2.5.4.4 IDeckLinkInput::EnableVideoInput method
[3] 2.5.8.2 IDeckLinkVideoFrame3DExtensions::GetFrameForRightEye method

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests