How to start using Decklink cards more easily? (WPF, C#)

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

jeancourties

  • Posts: 2
  • Joined: Mon Feb 26, 2018 11:42 am
  • Real Name: Jean Courties

How to start using Decklink cards more easily? (WPF, C#)

PostMon Feb 26, 2018 1:11 pm

I'm trying to write a simple application that will display the video from the capture card. (DeckLink Mini Recorder Card, Windows, C#, WPF.)

I see that for some reason in SDK examples you do not support WPF (you have an example for WinForms only) or FFmpeg libraries (for Windows). After all, the example for WinForms in your SDK is nothing simple.

Could you please publish a simple example of WPF using standard libraries such as the WPF Media Kit https://github.com/Sascha-L/WPF-MediaKit (DirectShow)?

Or change the license terms (details: https://ffmpeg.zeranoe.com/forum/viewto ... =50#p12540), so we can use FFmpeg in Windows?
Using your cards in Windows with FFmpeg would be very easy to implement - eq. using FFME: https://github.com/unosquare/ffmediaele ... -363005992 (except for licensing issues ...).

Thank you for your great hardware as well as the time spent on technical support,
JC
Offline

Petar Petrov

  • Posts: 6
  • Joined: Wed Jan 17, 2018 8:04 am

Re: How to start using Decklink cards more easily? (WPF, C#)

PostWed Feb 28, 2018 9:12 am

I have compiled FFmpeg LGPL for windows with decklink SDK support flags using this tool: https://github.com/jb-alvarado/media-autobuild_suite

It works great, but its an external binary and I found issues with using it, I can capture and encode spawning the binary as a process from code, but then I can´t have a preview of the capture in code with the sdk as the input is not free.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 0 guests