Class MP4SplitSinkSettings
MP4 sink settings (with file split).
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sinks
Assembly: VisioForge.Core.dll
Syntax
public class MP4SplitSinkSettings : MP4SinkSettings, IMediaBlockSettings
Constructors
MP4SplitSinkSettings(string)
Initializes a new instance of the MP4SplitSinkSettings class.
Declaration
public MP4SplitSinkSettings(string locationPattern)
Parameters
| Type | Name | Description |
|---|---|---|
| string | locationPattern | The location pattern (like "file%02d.mp4"). |
Properties
SplitDuration
Gets or sets the duration of the split. 0 is disabled.
Declaration
public TimeSpan SplitDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
SplitFileSize
Gets or sets the maximal size of the file. 0 is disabled.
Declaration
public ulong SplitFileSize { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
SplitMaxFiles
Gets or sets the maximum number of files to keep on disk. Once the maximum is reached, old files start to be deleted to make room for new ones.
Declaration
public uint SplitMaxFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
SplitMaxSizeTimecode
Gets or sets the maximum difference in timecode between first and last frame. Separator is assumed to be ":" everywhere (e.g. 01:00:00:00).
Declaration
public string SplitMaxSizeTimecode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StartIndex
Gets or sets the start value of fragment index.
Declaration
public int StartIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The start index. |