VisioForge (c) 2025

Search Results for

    Class MKVSinkSettings

    MKV sink settings.

    Inheritance
    object
    MKVSinkSettings
    Implements
    IMediaBlockSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.X.Sinks
    Assembly: VisioForge.Core.dll
    Syntax
    public class MKVSinkSettings : IMediaBlockSettings

    Constructors

    MKVSinkSettings()

    Initializes a new instance of the MKVSinkSettings class.

    Declaration
    public MKVSinkSettings()

    MKVSinkSettings(string)

    Initializes a new instance of the MKVSinkSettings class.

    Declaration
    public MKVSinkSettings(string filename)
    Parameters
    Type Name Description
    string filename

    The filename.

    Properties

    ClusterTimestampOffset

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

    Declaration
    public ulong ClusterTimestampOffset { get; set; }
    Property Value
    Type Description
    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.

    Declaration
    public DateTime? CreationTime { get; set; }
    Property Value
    Type Description
    DateTime?

    The creation time.

    Filename

    Gets or sets the filename.

    Declaration
    public string Filename { get; set; }
    Property Value
    Type Description
    string

    The filename.

    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.

    Declaration
    public long MaxClusterDuration { get; set; }
    Property Value
    Type Description
    long

    The maximum duration of the cluster.

    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.

    Declaration
    public long MinClusterDuration { get; set; }
    Property Value
    Type Description
    long

    MinIndexInterval

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

    Declaration
    public long MinIndexInterval { get; set; }
    Property Value
    Type Description
    long

    The minimum index interval.

    OffsetToZero

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

    Declaration
    public bool OffsetToZero { get; set; }
    Property Value
    Type Description
    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.

    Declaration
    public bool Streamable { get; set; }
    Property Value
    Type Description
    bool

    Timecodescale

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

    Declaration
    public long Timecodescale { get; set; }
    Property Value
    Type Description
    long

    The timecodescale.

    Version

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

    Declaration
    public int Version { get; set; }
    Property Value
    Type Description
    int

    The version.

    WritingApp

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

    Declaration
    public string WritingApp { get; set; }
    Property Value
    Type Description
    string

    The writing application.

    Methods

    CreateBlock()

    Creates the block.

    Declaration
    public MediaBlock CreateBlock()
    Returns
    Type Description
    MediaBlock

    MediaBlock.

    Implements

    IMediaBlockSettings