Table of Contents

Class DecklinkVideoSinkSettings

Namespace
VisioForge.Core.Types.X.Decklink
Assembly
VisioForge.Core.dll

Decklink video sink settings.

public class DecklinkVideoSinkSettings : IMediaBlockSettings

Inheritance

Implements

Inherited Members

Constructors

Initializes a new instance of the VisioForge.Core.Types.X.Decklink.DecklinkVideoSinkSettings class.

public DecklinkVideoSinkSettings(DecklinkVideoSinkInfo info, DecklinkMode mode)

Parameters

info DecklinkVideoSinkInfo

The device information.

mode DecklinkMode

The video mode to use for playback.

Initializes a new instance of the VisioForge.Core.Types.X.Decklink.DecklinkVideoSinkSettings class.

[JsonConstructor]
public DecklinkVideoSinkSettings(uint deviceNumber, DecklinkMode mode)

Parameters

deviceNumber uint

The device number.

mode DecklinkMode

The video mode to use for playback.

Remarks

[JsonConstructor] because the type has two public constructors and neither is parameterless, which System.Text.Json refuses outright. This is the one a document binds: the info overload unwraps into the same two properties.

Properties

Gets or sets the line number to use for inserting AFD/Bar data (0 = disabled).

public int AFDBarLine { get; set; }

Property Value

int

Gets or sets the line number to use for inserting closed captions (0 = disabled).

public int CCLine { get; set; }

Property Value

int

Gets or sets the custom frame rate.

public VideoFrameRate? CustomFrameRate { get; set; }

Property Value

VideoFrameRate?

Gets or sets the size of the custom video.

public ResizeVideoEffect CustomVideoSize { get; set; }

Property Value

ResizeVideoEffect

Gets the output device instance to use.

[JsonInclude]
public uint DeviceNumber { get; }

Property Value

uint

Remarks

[JsonInclude] because the setter is non-public: with IgnoreReadOnlyProperties on, a document would otherwise carry no device number at all.

Gets or sets a value indicating whether this instance is synchronized.

public bool IsSync { get; set; }

Property Value

bool

Gets or sets the keyer level.

public int KeyerLevel { get; set; }

Property Value

int

Gets or sets the keyer mode.

public DecklinkKeyerMode KeyerMode { get; set; }

Property Value

DecklinkKeyerMode

Gets the video mode to use for playback.

[JsonInclude]
public DecklinkMode Mode { get; }

Property Value

DecklinkMode

Remarks

[JsonInclude] because the setter is non-public: with IgnoreReadOnlyProperties on, a document would otherwise carry no video mode at all.

Gets or sets the decklink profile to use.

public DecklinkProfileID Profile { get; set; }

Property Value

DecklinkProfileID

Gets or sets the timecode format type to use for playback.

public DecklinkTimecodeFormat TimecodeFormat { get; set; }

Property Value

DecklinkTimecodeFormat

Gets or sets the video format.

public DecklinkVideoFormat VideoFormat { get; set; }

Property Value

DecklinkVideoFormat

Methods

Creates the block.

public MediaBlock CreateBlock()

Returns

MediaBlock

MediaBlock.