Class MKVOutput
MKV output settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.Output
Assembly: VisioForge.Core.dll
Syntax
public class MKVOutput : IVideoEditXBaseOutput, IVideoCaptureXBaseOutput, IXBaseOutput
Constructors
MKVOutput(string, IVideoEncoder, IAudioEncoder)
Initializes a new instance of the MKVOutput class.
Declaration
public MKVOutput(string filename, IVideoEncoder videoEnc = null, IAudioEncoder audioEnc = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | The filename. |
| IVideoEncoder | videoEnc | The video encoder. |
| IAudioEncoder | audioEnc | The audio encoder. |
Properties
Audio
Gets or sets the audio encoder settings. Supported encoders: VOAACEncoderSettings, AVENCAACEncoderSettings, MFAACEncoderSettings, MP3EncoderSettings, VorbisEncoderSettings, OPUSEncoderSettings.
Declaration
public IAudioEncoder Audio { get; set; }
Property Value
| Type | Description |
|---|---|
| IAudioEncoder |
CustomAudioProcessor
Gets or sets the custom audio processor block.
Declaration
public MediaBlock CustomAudioProcessor { get; set; }
Property Value
| Type | Description |
|---|---|
| MediaBlock | The custom audio processor. |
CustomVideoProcessor
Gets or sets the custom video processor block.
Declaration
public MediaBlock CustomVideoProcessor { get; set; }
Property Value
| Type | Description |
|---|---|
| MediaBlock | The custom video processor. |
Sink
Gets or sets the sink settings.
Declaration
public MKVSinkSettings Sink { get; set; }
Property Value
| Type | Description |
|---|---|
| MKVSinkSettings |
Video
Gets or sets the video encoder settings. H264 encoders: OpenH264EncoderSettings, AMFH264EncoderSettings, NVENCH264EncoderSettings, QSVH264EncoderSettings. HEVC encoders: MFHEVCEncoderSettings, AMFHEVCEncoderSettings, NVENCHEVCEncoderSettings, QSVHEVCEncoderSettings.
Declaration
public IVideoEncoder Video { get; set; }
Property Value
| Type | Description |
|---|---|
| IVideoEncoder | The video. |
Methods
GetAudioEncoders()
Gets the audio encoders.
Declaration
public Tuple<string, Type>[] GetAudioEncoders()
Returns
| Type | Description |
|---|---|
| Tuple<string, Type>[] | Tuple<System.String, Type>[]. |
GetFilename()
Gets the filename.
Declaration
public string GetFilename()
Returns
| Type | Description |
|---|---|
| string | System.String. |
GetVideoEncoders()
Gets the video encoders.
Declaration
public Tuple<string, Type>[] GetVideoEncoders()
Returns
| Type | Description |
|---|---|
| Tuple<string, Type>[] | Tuple<System.String, Type>[]. |
SetFilename(string)
Sets the filename.
Declaration
public void SetFilename(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | The filename. |