Page 1 of 1

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

PostPosted: Thu Sep 28, 2017 4:45 pm
by Salem Jabri
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

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

PostPosted: Thu Oct 05, 2017 11:10 pm
by Cameron Nichols
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

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

PostPosted: Fri Oct 06, 2017 9:07 am
by Salem Jabri
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