DeckLink API - IDeckLinkKeyer

Getting started with a Blackmagic product? Ask questions here about setup and installation.
  • Author
  • Message

Ady88w1

DeckLink API - IDeckLinkKeyer

PostMon Jun 03, 2013 12:15 pm

Hi,

I'm trying to get access to the IDeckLinkKeyer interface, however my DeckLink SDI card is not identifying that it implements the interface.

Here is my code (VB.NET):
Code: Select all
Public Class DeckLinkCapture

  Private oInput As IDeckLinkInput
  Private oOutput As IDeckLinkOutput
  Private oKeyer As IDeckLinkKeyer

  Public Sub New(Name As String)
    Dim oIterator As New CDeckLinkIterator()
    Dim oDecklink As IDeckLink = Nothing
    Do
      oIterator.Next(oDecklink)
      If oDecklink IsNot Nothing Then
        Dim sName As String = Nothing
        oDecklink.GetModelName(sName)
        If sName = Name Then
          If TypeOf oDecklink Is IDeckLinkInput Then
            Console.WriteLine("Has Input")
            oInput = oDecklink
          End If
          If TypeOf oDecklink Is IDeckLinkOutput Then
            Console.WriteLine("Has Output")
            oOutput = oDecklink
          End If
          If TypeOf oKeyer Is IDeckLinkKeyer Then
            Console.WriteLine("Is Keyer")
            oKeyer = oDecklink
          End If
          Exit Do
        End If
      End If
    Loop While oDecklink IsNot Nothing

    If oInput Is Nothing Then
      Throw New Exception("Specified device was not found.")
    End If
  End Sub

End Class


My output returns:
Has Input
Has Output

But it does not identify as a keyer.

Many Thanks,
Ady

Return to Getting Started

Who is online

Users browsing this forum: No registered users and 10 guests