SDK C# Wrapper

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

Daniel Wu

  • Posts: 1
  • Joined: Mon Nov 03, 2014 6:26 am

SDK C# Wrapper

PostMon Nov 03, 2014 9:04 am

Hi,
I want to use the card which is DeckLink Duo for software develop.
do you have sdk for C# Wrapper? or only support c++. :D
Offline

Tony Hernandez

  • Posts: 66
  • Joined: Sun Dec 23, 2012 11:06 pm

Re: SDK C# Wrapper

PostSun Jan 25, 2015 11:55 pm

Me interested too.
Any c# or VB.net alternative to c for video capture ?
c# sdk sample provided is only a signal generator. Any piece of code for how to capture video from a camera using decklinkapi.dll or similar.
Importing decklinkapi.dll to vb.net seems ok as it can use the library, well, but there's no documentation, .. any doc ? any example code for video record capture from cameras ?
Offline

Ekin Yildirim

  • Posts: 6
  • Joined: Tue Dec 16, 2014 8:02 am

Re: SDK C# Wrapper

PostThu Feb 12, 2015 10:19 am

Too many developers is waiting for this, but no response!
Offline

Francois Genolini

  • Posts: 3
  • Joined: Tue Feb 10, 2015 11:16 am

Re: SDK C# Wrapper

PostThu Feb 12, 2015 11:46 am

I can successfully use the entire Blackmagic Design DeckLink SDK using Visual Studio 2013 in C# or VB.
Just create a new WPF solution, add a reference to the installed SDK:
Projects | Add Reference | Browse, and select DeckLinkAPI.dll from C\Program Files (x86)\Blackmagic Design\Blackmagic Desktop video

This will give you access to the DekLink API. View | Object Browser | Interop.DeckLinkAPI

If you would rather prefer to code standard Microsoft APIs instead of using the proprietary DeckLink API, you can still use VB or C# to then rewrite / adapt the existing C++ Direct Show samples from the SDK by using the open source DirectX.Capture (by Brian Low) and DirectShow.NET (or any of their numerous open source variants on the Internet).

You will find that you write much shorter (but slower) code in VB or C# (although you will have some issues from time to time).

Regards,

Francois Genolini
Aberdeen, Scotland
Software Engineer
Offline

Tony Hernandez

  • Posts: 66
  • Joined: Sun Dec 23, 2012 11:06 pm

Re: SDK C# Wrapper

PostSun Mar 08, 2015 5:28 pm

But where is the manual about the DLL.
I added to VS2008 ok but how to use it ??
Offline

Anil Dora

  • Posts: 7
  • Joined: Fri Jun 26, 2015 9:42 am

Re: SDK C# Wrapper

PostSat Jun 27, 2015 6:51 am

Hi Francois,

I have followed the same steps as you mentioned but I am getting the below error when Adding the dll to my project reference.

Please make sure the file is accessible, and that it is a valid assembly or COM component.
Attachments
DecklinkAPI DLL error.PNG
DecklinkAPI DLL error.PNG (31.22 KiB) Viewed 9825 times
Offline

Anil Dora

  • Posts: 7
  • Joined: Fri Jun 26, 2015 9:42 am

Re: SDK C# Wrapper

PostTue Jun 30, 2015 5:03 am

the issue I raised is resolved .

Please find the below link
viewtopic.php?f=12&t=36827

OR

search "DeckLinkIterator instantiation issue"

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 25 guests