Class MP4SplitSinkSettings
- Namespace
- VisioForge.Core.Types.X.Sinks
- Assembly
- VisioForge.Core.dll
MP4 sink settings with file splitting capabilities. Allows splitting output into multiple files based on size, duration, or timecode.
public class MP4SplitSinkSettings : MP4SinkSettings, IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
MP4SplitSinkSettings(string)
Initializes a new instance of the VisioForge.Core.Types.X.Sinks.MP4SplitSinkSettings class.
public MP4SplitSinkSettings(string locationPattern)Parameters
locationPatternstring-
The location pattern (like "file%02d.mp4").
Properties
SplitDuration
Gets or sets the duration of the split. 0 is disabled.
public TimeSpan SplitDuration { get; set; }Property Value
SplitFileSize
Gets or sets the maximal size of the file. 0 is disabled.
public ulong SplitFileSize { get; set; }Property Value
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.
public uint SplitMaxFiles { get; set; }Property Value
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).
public string SplitMaxSizeTimecode { get; set; }Property Value
StartIndex
Gets or sets the start value of fragment index.
public int StartIndex { get; set; }