decklinkaudiosrc

Capture Video and Audio from a BlackMagic DeckLink Device. Can only be used in conjunction with decklinkvideosink.

Sample pipeline

 gst-launch-1.0 \
   decklinkvideosrc device-number=0 mode=1080p25 ! autovideosink \
   decklinkaudiosrc device-number=0 ! autoaudiosink

Capturing 1080p25 video and audio from the SDI-In of Card 0. Devices are numbered starting with 0.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──GstPushSrc
                        ╰──decklinkaudiosrc

Factory details

Authors: – David Schleef , Sebastian Dröge

Classification:Audio/Source/Hardware

Rank – none

Plugin – decklink

Package – GStreamer Bad Plug-ins

Pad Templates

src

audio/x-raw:
         format: { S16LE, S32LE }
       channels: 2
           rate: 48000
         layout: interleaved
audio/x-raw:
         format: { S16LE, S32LE }
       channels: { (int)8, (int)16 }
   channel-mask: 0x0000000000000000
           rate: 48000
         layout: interleaved

Presencealways

Directionsrc

Object typeGstPad


Properties

alignment-threshold

“alignment-threshold” guint64

Timestamp alignment threshold in nanoseconds

Flags : Read / Write

Default value : 40000000


buffer-size

“buffer-size” guint

Size of internal buffer in number of video frames

Flags : Read / Write

Default value : 5


channels

“channels” Decklink-audio-channels *

Audio channels

Flags : Read / Write / Construct

Default value : 2 (2)


connection

“connection” Decklink-audio-connection *

Audio input connection to use

Flags : Read / Write / Construct

Default value : auto (0)


device-number

“device-number” gint

Output device instance to use

Flags : Read / Write / Construct

Default value : 0


discont-wait

“discont-wait” guint64

Window of time in nanoseconds to wait before creating a discontinuity

Flags : Read / Write

Default value : 1000000000


hw-serial-number

“hw-serial-number” gchararray

The serial number (hardware ID) of the Decklink card

Flags : Read

Default value : NULL


persistent-id

“persistent-id” gint64

Decklink device to use. Higher priority than "device-number". BMDDeckLinkPersistentID is a device specific, 32-bit unique identifier. It is stable even when the device is plugged in a different connector, across reboots, and when plugged into different computers.

Flags : Read / Write / Construct

Default value : 18446744073709551615

Since : 1.22


Named constants

Decklink-audio-channels

Members

2 (2) – 2 Channels
8 (8) – 8 Channels
16 (16) – 16 Channels
max (0) – Maximum channels supported

Decklink-audio-connection

Members

auto (0) – Automatic
embedded (1) – SDI/HDMI embedded audio
aes (2) – AES/EBU input
analog (3) – Analog input
analog-xlr (4) – Analog input (XLR)
analog-rca (5) – Analog input (RCA)

The results of the search are