# ajasink

Outputs audio/video frames with AJA devices

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSink
                        ╰──ajasink

## Factory details

Authors: – Sebastian Dröge <sebastian></sebastian>

Classification: – `Audio/Video/Sink`

Rank – none

Plugin – aja

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: interleaved
        field-order: top-field-first
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: interleaved
        field-order: top-field-first
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: interleaved
        field-order: top-field-first
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 1280
             height: 720
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60000/1001
    video/x-raw:
             format: v210
              width: 1280
             height: 720
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 1280
             height: 720
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60000/1001
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60/1
    video/x-raw:
             format: v210
              width: 1280
             height: 720
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 1280
             height: 720
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 1920
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 720
             height: 576
     interlace-mode: interleaved
        field-order: top-field-first
    pixel-aspect-ratio: 12/11
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 720
             height: 576
     interlace-mode: interleaved
        field-order: top-field-first
    pixel-aspect-ratio: 16/11
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 720
             height: 486
     interlace-mode: interleaved
        field-order: bottom-field-first
    pixel-aspect-ratio: 10/11
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 720
             height: 486
     interlace-mode: interleaved
        field-order: bottom-field-first
    pixel-aspect-ratio: 40/33
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 720
             height: 486
     interlace-mode: progressive
    pixel-aspect-ratio: 10/11
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 720
             height: 486
     interlace-mode: progressive
    pixel-aspect-ratio: 40/33
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 720
             height: 486
     interlace-mode: progressive
    pixel-aspect-ratio: 10/11
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 720
             height: 486
     interlace-mode: progressive
    pixel-aspect-ratio: 40/33
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60000/1001
    video/x-raw:
             format: v210
              width: 2048
             height: 1080
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60/1
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60000/1001
    video/x-raw:
             format: v210
              width: 3840
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60/1
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60000/1001
    video/x-raw:
             format: v210
              width: 4096
             height: 2160
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60/1
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60000/1001
    video/x-raw:
             format: v210
              width: 7680
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60/1
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24000/1001
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 24/1
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 25/1
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30000/1001
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 30/1
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 50/1
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60000/1001
    video/x-raw:
             format: v210
              width: 8192
             height: 4320
     interlace-mode: progressive
    pixel-aspect-ratio: 1/1
          framerate: 60/1

Presence – always

Direction – sink

Object type – GstPad

## Properties

### audio-system

    “audio-system” GstAjaAudioSystem *

Audio system to use

Flags : Read / Write / Construct

Default value : Auto (based on selected channel) (0)

### cea608-line-number

    “cea608-line-number” guint

Sets the line number to use for CEA608 S334-1 Annex A Closed Captions (-1=disabled)

Flags : Read / Write / Construct

Default value : 12

### cea708-line-number

    “cea708-line-number” guint

Sets the line number to use for CEA708 S334-2 Closed Captions (-1=disabled)

Flags : Read / Write / Construct

Default value : 12

### channel

    “channel” guint

Channel to use

Flags : Read / Write / Construct

Default value : 0

### device-identifier

    “device-identifier” gchararray

Input device instance to use

Flags : Read / Write / Construct

Default value : 0

### end-frame

    “end-frame” guint

End frame buffer to be used for output (auto if same number as start-frame).

Flags : Read / Write

Default value : 0

### handle-ancillary-meta

    “handle-ancillary-meta” gboolean

If set to TRUE handle any GstAncillaryMeta present on buffers

Flags : Read / Write / Construct

Default value : false

Since : 1.24

### output-cpu-core

    “output-cpu-core” guint

Sets the affinity of the output thread to this CPU core (-1=disabled)

Flags : Read / Write / Construct

Default value : -1

### output-destination

    “output-destination” Aja-output-destination *

Output destination to use

Flags : Read / Write / Construct

Default value : Auto (based on selected channel) (0)

### queue-size

    “queue-size” guint

Size of internal queue in number of video frames. Half of this is allocated as device buffers and equal to the latency.

Flags : Read / Write

Default value : 16

### reference-source

    “reference-source” GstAjaReferenceSource *

Reference source to use

Flags : Read / Write / Construct

Default value : Auto (0)

### rp188

    “rp188” gboolean

Enable RP188 timecode transmission

Flags : Read / Write / Construct

Default value : true

### sdi-mode

    “sdi-mode” GstAjaSdiMode *

SDI mode to use

Flags : Read / Write / Construct

Default value : Single Link (0)

### start-frame

    “start-frame” guint

Start frame buffer to be used for output (auto if same number as end-frame).

Flags : Read / Write

Default value : 0

### timecode-index

    “timecode-index” GstAjaTimecodeIndex *

Timecode index to use

Flags : Read / Write / Construct

Default value : Embedded SDI VITC (0)

## Named constants

### Aja-output-destination

#### Members

`Auto (based on selected channel)` (0) – auto
`Analog Output` (1) – analog
`SDI Output 1` (2) – sdi-1
`SDI Output 2` (3) – sdi-2
`SDI Output 3` (4) – sdi-3
`SDI Output 4` (5) – sdi-4
`SDI Output 5` (6) – sdi-5
`SDI Output 6` (7) – sdi-6
`SDI Output 7` (8) – sdi-7
`SDI Output 8` (9) – sdi-8
`HDMI Output` (10) – hdmi

The results of the search are