Table of Contents

Class WebMSinkSettings

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

WebM sink settings.

public class WebMSinkSettings : IMediaBlockSettings

Inheritance

Implements

Inherited Members

Constructors

WebMSinkSettings()

Initializes a new instance of the VisioForge.Core.Types.X.Sinks.WebMSinkSettings class.

public WebMSinkSettings()

WebMSinkSettings(string)

Initializes a new instance of the VisioForge.Core.Types.X.Sinks.WebMSinkSettings class.

public WebMSinkSettings(string filename)

Parameters

filename string

The filename.

Properties

ClusterTimestampOffset

Gets or sets an offset to add to all clusters/blocks (in nanoseconds).

public ulong ClusterTimestampOffset { get; set; }

Property Value

ulong

CreationTime

Gets or sets the creation time. This will be used for the DateUTC field. Null means that the current time will be used.

public DateTime? CreationTime { get; set; }

Property Value

DateTime?

Filename

Gets or sets the filename.

public string Filename { get; set; }

Property Value

string

MaxClusterDuration

Gets or sets the maximum duration of the cluster. A new cluster will be created if its duration exceeds this value. 0 means no maximum duration.

public long MaxClusterDuration { get; set; }

Property Value

long

MinClusterDuration

Gets or sets the minimum duration of the cluster. A new cluster will be created irrespective of this property if a force key unit event is received. 0 means create a new cluster for each video keyframe or for each audio buffer in audio only streams.

public long MinClusterDuration { get; set; }

Property Value

long

MinIndexInterval

Gets or sets the minimum index interval. An index entry is created every so many nanoseconds.

public long MinIndexInterval { get; set; }

Property Value

long

OffsetToZero

Gets or sets a value indicating whether offsets all streams so that the earliest stream starts at 0.

public bool OffsetToZero { get; set; }

Property Value

bool

Streamable

Gets or sets a value indicating whether the output file is streamable. If set to true, the output should be as if it is to be streamed and hence no indexes written or duration written.

public bool Streamable { get; set; }

Property Value

bool

Timecodescale

Gets or sets the timecode scale value, used to calculate the Raw Timecode of a Block.

public long Timecodescale { get; set; }

Property Value

long

Version

Gets or sets the version. This parameter determines what Matroska features can be used.

public int Version { get; set; }

Property Value

int

WritingApp

Gets or sets the writing application name that creates the matroska file.

public string WritingApp { get; set; }

Property Value

string

Methods

CreateBlock()

Creates the media block instance for WebM sink.

public MediaBlock CreateBlock()

Returns

MediaBlock

A new instance of VisioForge.Core.MediaBlocks.Sinks.WebMSinkBlock configured with these settings.