We are using Media SDK 2015 R6 with centos and intel i7 5775 processor ,
with Blackmagic driver we are able to capture and store video from Decklink Capture Card , now we want to use this captured Real time data as input of MEdia SDK Encoder application.
but unfortunately Media sdk encodes this data once and then stop...
so is there any way to directly integrate Decklink card with Media SDK for real time encoding?
suggestion for real time application will be appreciated
I think you could.
Decklink has a software DeckLink SDK which exposes their API,
You need to check if they can output the elemental stream, then you can use it as the input of the MSDK encode API.
Here is the link to their Developer SDK: https://www.blackmagicdesign.com/support
There is also some project for their SDK on GitHub: https://github.com/kylemcdonald/ofxBlackmagic
I agree with Mark. The key is to either get compressed bitstream inputs in a demuxed elementary format like h264 or raw frames in one of the formats VPP can convert to nv12 color format. We don't have info covering the Decklink side, but we do have extended descriptions of VPP, decode, and encode in the updated developer's guide here: https://software.intel.com/sites/default/files/Intel_Media_Developers_Guide_0.pdf
Thanks for feed back
we have tried with capture api for decklink in which we have stored content of output raw audio and video in two separate FIFO , and path of these FIFO feeded to sample encode application of media sdk ...
since sample encode application doesnt include Audio so we are only concentrating over Video but encoded Video have pixellation error's and not visible .
we think this may be a issue of formate because Raw Video we have Captured is of format YUV 420 720x576 and Media SDK Process data in only NV12 format
so please guide us for getting end result..
Satish P. wrote:
we have tried with capture api for decklink in which we have stored content of output raw audio and video in two separate FIFO , and path of these FIFO feeded to sample encode application of media sdk ... we think this may be a issue of formate because Raw Video we have Captured is of format YUV 420 720x576 and Media SDK Process data in only NV12 format
You'll need to color convert the Blackmagic frames, which are in UYVY format, to NV12. There are a number of ways to do this, but one way is to use the IPP color conversion function ippiCbYCr422ToYCbCr420_8u_C2P2R() to do that.