Table of Contents

Class DirectCaptureMP4Output

Namespace
VisioForge.Core.Types.Output
Assembly
VisioForge.Core.dll

DirectCapture MP4 output settings.

public sealed class DirectCaptureMP4Output : IVideoCaptureBaseOutput

Inheritance

Implements

Inherited Members

Constructors

DirectCaptureMP4Output()

Initializes a new instance of the VisioForge.Core.Types.Output.DirectCaptureMP4Output class with default settings.

public DirectCaptureMP4Output()

Remarks

Default settings include PCM audio codec, MJPEG video codec, AVI Mux filter, 16-bit stereo audio at 44.1kHz sample rate.

Properties

Audio_BPS

Gets or sets BPS for the current audio codec.

public int Audio_BPS { get; set; }

Property Value

int

Remarks

Usually 8 or 16. Some codecs ignore this parameter or set it to zero because they have only one option.

Audio_Channels

Gets or sets the number of channels for the current audio codec.

public int Audio_Channels { get; set; }

Property Value

int

Remarks

Usually 1 (mono) or 2 (stereo).

Audio_Codec

Gets or sets the current audio codec name for MP4 output.

public string Audio_Codec { get; set; }

Property Value

string

Audio_Codec_UseFiltersCategory

Gets or sets a value indicating whether the "DirectShow Filters" category will be used for audio codec selection.

public bool Audio_Codec_UseFiltersCategory { get; set; }

Property Value

bool

Audio_SampleRate

Gets or sets the sample rate for the current audio codec.

public int Audio_SampleRate { get; set; }

Property Value

int

MuxFilter_IsEncoder

Gets or sets a value indicating whether the custom output mux filter acts as an encoder.

public bool MuxFilter_IsEncoder { get; set; }

Property Value

bool

MuxFilter_Name

Gets or sets the name of the custom output mux filter to use.

public string MuxFilter_Name { get; set; }

Property Value

string

Muxer

Gets or sets the MP4 muxer type to use for output. Different muxers provide different features and compatibility levels.

public DirectCaptureMP4Muxer Muxer { get; set; }

Property Value

DirectCaptureMP4Muxer

SpecialFileWriter_FilterName

Gets or sets the special FileWriter filter name to use for output.

public string SpecialFileWriter_FilterName { get; set; }

Property Value

string

SpecialFileWriter_Needed

Gets or sets a value indicating whether a special FileWriter filter will be used instead of the default filter.

public bool SpecialFileWriter_Needed { get; set; }

Property Value

bool

Video_Codec

Gets or sets the current video codec name for MP4 output.

public string Video_Codec { get; set; }

Property Value

string

Video_Codec_UseFiltersCategory

Gets or sets a value indicating whether the "DirectShow Filters" category will be used for video codec selection.

public bool Video_Codec_UseFiltersCategory { get; set; }

Property Value

bool

Methods

GetInternalTypeVC()

Gets the internal output format based on the selected muxer.

public VideoCaptureOutputFormat GetInternalTypeVC()

Returns

VideoCaptureOutputFormat

Returns VisioForge.Core.Types.VideoCapture.VideoCaptureOutputFormat.DirectCaptureMP4_GDCL for GDCL muxer or VisioForge.Core.Types.VideoCapture.VideoCaptureOutputFormat.DirectCaptureMP4_Monogram for Monogram muxer.

Load(string)

Loads DirectCapture MP4 output settings from a JSON string.

public static DirectCaptureMP4Output Load(string json)

Parameters

json string

The JSON string containing serialized settings.

Returns

DirectCaptureMP4Output

A new VisioForge.Core.Types.Output.DirectCaptureMP4Output instance with the loaded settings.

Save()

Saves to JSON.

public string Save()

Returns

string

The String.