Table of Contents

Class MPEG4VideoEncoderSettings

Namespace
VisioForge.Core.Types.X.VideoEncoders
Assembly
VisioForge.Core.dll

Represents the settings for a video codec configuration.

public class MPEG4VideoEncoderSettings : IVideoEncoder, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Constructors

MPEG4VideoEncoderSettings()

Initializes a new instance of the VisioForge.Core.Types.X.VideoEncoders.MPEG4VideoEncoderSettings class.

public MPEG4VideoEncoderSettings()

MPEG4VideoEncoderSettings(VideoQuality)

Initializes a new instance of the VisioForge.Core.Types.X.VideoEncoders.MPEG4VideoEncoderSettings class.

public MPEG4VideoEncoderSettings(VideoQuality quality = VideoQuality.Normal)

Parameters

quality VideoQuality

The quality.

Properties

A53CC

Gets or sets a value indicating whether to use A53 Closed Captions (if available).

public bool A53CC { get; set; }

Property Value

bool

AlternateScan

Gets or sets a value indicating whether to enable the alternate scan table.

public bool AlternateScan { get; set; }

Property Value

bool

BSensitivity

Gets or sets the sensitivity of the B-frame strategy.

public int BSensitivity { get; set; }

Property Value

int

BStrategy

Gets or sets the strategy to choose between I/P/B-frames.

public int BStrategy { get; set; }

Property Value

int

Bitrate

Gets or sets the bitrate (Kbps).

public int Bitrate { get; set; }

Property Value

int

BorderMask

Gets or sets the border mask quantizer increase for macroblocks close to borders.

public float BorderMask { get; set; }

Property Value

float

BrdScale

Gets or sets the scale for downscaling frames for dynamic B-frame decision.

public int BrdScale { get; set; }

Property Value

int

ChromaEliminationThreshold

Gets or sets the single coefficient elimination threshold for chrominance.

public int ChromaEliminationThreshold { get; set; }

Property Value

int

DataPartitioning

Gets or sets a value indicating whether to use data partitioning.

public bool DataPartitioning { get; set; }

Property Value

bool

ForceDuplicatedMatrix

Gets or sets a value indicating whether to always write luma and chroma matrix for MJPEG, useful for RTP streaming.

public bool ForceDuplicatedMatrix { get; set; }

Property Value

bool

FrameSkipCompare

Frame skip compare function. Default value: "dctmax".

public MPEG4EncoderComparisonFunc FrameSkipCompare { get; set; }

Property Value

MPEG4EncoderComparisonFunc

FrameSkipExponent

Frame skip exponent. Default value: 0.

public int FrameSkipExponent { get; set; }

Property Value

int

FrameSkipFactor

Frame skip factor. Default value: 0.

public int FrameSkipFactor { get; set; }

Property Value

int

FrameSkipThreshold

Frame skip threshold. Default value: 0.

public int FrameSkipThreshold { get; set; }

Property Value

int

InterQuantBias

Inter quant bias. Default value: 999999.

public int InterQuantBias { get; set; }

Property Value

int

IntraPenalty

Penalty for intra blocks in block decision. Flags: Read / Write. Default value: 0.

public int IntraPenalty { get; set; }

Property Value

int

IntraQuantBias

Intra quant bias. Flags: Read / Write. Default value: 999999.

public int IntraQuantBias { get; set; }

Property Value

int

LagrangeMax

Maximum Lagrange factor (VBR). Flags: Read / Write. Default value: 3658.

public int LagrangeMax { get; set; }

Property Value

int

LagrangeMin

Minimum Lagrange factor (VBR). Flags: Read / Write. Default value: 236.

public int LagrangeMin { get; set; }

Property Value

int

LumaEliminationThreshold

Single coefficient elimination threshold for luminance (negative values also consider dc coefficient). Flags: Read / Write. Default value: 0.

public int LumaEliminationThreshold { get; set; }

Property Value

int

MEPC

Motion estimation bitrate penalty compensation (1.0 = 256). Flags: Read / Write. Default value: 256.

public int MEPC { get; set; }

Property Value

int

MEPRE

Pre motion estimation. Flags: Read / Write. Default value: 0.

public int MEPRE { get; set; }

Property Value

int

MPEGQuant

Use MPEG quantizers instead of H.263. Flags: Read / Write. Default value: 0.

public int MPEGQuant { get; set; }

Property Value

int

MPVFlags

Flags common for all mpegvideo-based encoders. Flags: Read / Write. Default value: (none).

public MPEG4EncoderMPVFlags MPVFlags { get; set; }

Property Value

MPEG4EncoderMPVFlags

MotionEstimation

Motion estimation algorithm. Flags: Read / Write. Default value: epzs (1).

public MPEG4EncoderMotionEstimation MotionEstimation { get; set; }

Property Value

MPEG4EncoderMotionEstimation

NoiseReduction

Noise reduction. Default value: 0.

public int NoiseReduction { get; set; }

Property Value

int

QSquish

How to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function). Default value: 0.

public float QSquish { get; set; }

Property Value

float

Quantizer

Constant Quantizer. Default value: 0.01.

public float Quantizer { get; set; }

Property Value

float

QuantizerNoiseShaping

(null). Default value: 0.

public int QuantizerNoiseShaping { get; set; }

Property Value

int

RCBufAggressivity

Currently useless. Default value: 1.

public float RCBufAggressivity { get; set; }

Property Value

float

RCInitComplexity

Initial complexity for 1-pass encoding. Default value: 0.

public float RCInitComplexity { get; set; }

Property Value

float

RCQModAmp

Experimental quantizer modulation. Default value: 0.

public float RCQModAmp { get; set; }

Property Value

float

RCQModFreq

Experimental quantizer modulation. Default value: 0.

public int RCQModFreq { get; set; }

Property Value

int

RTPPayloadSize

RTP payload size in bytes. Default value: 0.

public int RTPPayloadSize { get; set; }

Property Value

int

SceneChangeThreshold

Scene change threshold. Default value: 0.

public int SceneChangeThreshold { get; set; }

Property Value

int

Methods

CreateBlock()

Creates the block.

public MediaBlock CreateBlock()

Returns

MediaBlock

MediaBlock.