CSharp Preview Capture in SDK 10.9.5 not working????

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

Salem Jabri

  • Posts: 6
  • Joined: Thu Sep 28, 2017 4:28 pm

CSharp Preview Capture in SDK 10.9.5 not working????

PostThu Sep 28, 2017 4:45 pm

Hi

I am trying to use the DecklinkAPI to do just a preview capture.
I was excited to see finally a sample with CShap in the latest SDK.
However once compiled, the CSharp application is returning a black screen.
the C++ sample works fine.
I just use CSharp and hardly understand C++.
I tried to change the IDeckLinkDX9ScreenPreviewHelper with IDeckLinkGLScreenPreviewHelper using sharpGL, but still struggling to get it to work.
Any help???
I just bought a DEcklink Quad 2.
I am using Windows 10 64 bit and Visual Studio 2013.

Thank you
Offline

Cameron Nichols

Blackmagic Design

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

Re: CSharp Preview Capture in SDK 10.9.5 not working????

PostThu Oct 05, 2017 11:10 pm

Hi Salem,

I am unable to replicate this issue locally. What is the source video format you are trying to capture?

The CapturePreviewCSharp application is based on DirectX SDK that can be downloaded from Microsoft[1]. We do not have any sample application that use the SharpDX API.

Kind Regards
Cameron Nichols

Refs:
[1] DirectX SDK download: https://www.microsoft.com/en-us/downloa ... px?id=6812
Offline

Salem Jabri

  • Posts: 6
  • Joined: Thu Sep 28, 2017 4:28 pm

Re: CSharp Preview Capture in SDK 10.9.5 not working????

PostFri Oct 06, 2017 9:07 am

Hi Cameron

I am using Decklink Quad 2.
My video is 1080i50.
When I run the C++ PreviewCapture sample, it is fine. I can see the video.
However when I run the Csharp sample (with SharpDx.Direct3D9), I see the time code running but the video is black!!!!
I am using Windows 10 64 bit.

Thanks

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 18 guests