Class WebMSinkSettings
- Namespace
- VisioForge.Core.Types.X.Sinks
- Assembly
- VisioForge.Core.dll
WebM sink settings.
public class WebMSinkSettings : IMediaBlockSettingsInheritance
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
filenamestring-
The filename.
Properties
ClusterTimestampOffset
Gets or sets an offset to add to all clusters/blocks (in nanoseconds).
public ulong ClusterTimestampOffset { get; set; }Property Value
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
Filename
Gets or sets the filename.
public string Filename { get; set; }Property Value
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
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
MinIndexInterval
Gets or sets the minimum index interval. An index entry is created every so many nanoseconds.
public long MinIndexInterval { get; set; }Property Value
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
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
Timecodescale
Gets or sets the timecode scale value, used to calculate the Raw Timecode of a Block.
public long Timecodescale { get; set; }Property Value
Version
Gets or sets the version. This parameter determines what Matroska features can be used.
public int Version { get; set; }Property Value
WritingApp
Gets or sets the writing application name that creates the matroska file.
public string WritingApp { get; set; }Property Value
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.