Class MPEG4VideoEncoderSettings
Represents the settings for a video codec configuration.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class MPEG4VideoEncoderSettings : IVideoEncoder, IMediaBlockSettingsConstructors
MPEG4VideoEncoderSettings()
Initializes a new instance of the MPEG4VideoEncoderSettings class.
Declaration
public MPEG4VideoEncoderSettings()MPEG4VideoEncoderSettings(VideoQuality)
Initializes a new instance of the MPEG4VideoEncoderSettings class.
Declaration
public MPEG4VideoEncoderSettings(VideoQuality quality = VideoQuality.Normal)Parameters
| Type | Name | Description | 
|---|---|---|
| VideoQuality | quality | The quality. | 
Properties
A53CC
Gets or sets a value indicating whether to use A53 Closed Captions (if available).
Declaration
public bool A53CC { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
 | 
AlternateScan
Gets or sets a value indicating whether to enable the alternate scan table.
Declaration
public bool AlternateScan { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
 | 
BSensitivity
Gets or sets the sensitivity of the B-frame strategy.
Declaration
public int BSensitivity { get; set; }Property Value
| Type | Description | 
|---|---|
| int | The sensitivity of the B-frame strategy. | 
BStrategy
Gets or sets the strategy to choose between I/P/B-frames.
Declaration
public int BStrategy { get; set; }Property Value
| Type | Description | 
|---|---|
| int | The strategy to choose between I/P/B-frames. | 
Bitrate
Gets or sets the bitrate (Kbps).
Declaration
public int Bitrate { get; set; }Property Value
| Type | Description | 
|---|---|
| int | The bitrate (Kbps). | 
BorderMask
Gets or sets the border mask quantizer increase for macroblocks close to borders.
Declaration
public float BorderMask { get; set; }Property Value
| Type | Description | 
|---|---|
| float | The border mask quantizer increase. | 
BrdScale
Gets or sets the scale for downscaling frames for dynamic B-frame decision.
Declaration
public int BrdScale { get; set; }Property Value
| Type | Description | 
|---|---|
| int | The scale for downscaling frames. | 
ChromaEliminationThreshold
Gets or sets the single coefficient elimination threshold for chrominance.
Declaration
public int ChromaEliminationThreshold { get; set; }Property Value
| Type | Description | 
|---|---|
| int | The chrominance elimination threshold. | 
DataPartitioning
Gets or sets a value indicating whether to use data partitioning.
Declaration
public bool DataPartitioning { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
 | 
ForceDuplicatedMatrix
Gets or sets a value indicating whether to always write luma and chroma matrix for MJPEG, useful for RTP streaming.
Declaration
public bool ForceDuplicatedMatrix { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
 | 
FrameSkipCompare
Frame skip compare function. Default value: "dctmax".
Declaration
public MPEG4EncoderComparisonFunc FrameSkipCompare { get; set; }Property Value
| Type | Description | 
|---|---|
| MPEG4EncoderComparisonFunc | 
FrameSkipExponent
Frame skip exponent. Default value: 0.
Declaration
public int FrameSkipExponent { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
FrameSkipFactor
Frame skip factor. Default value: 0.
Declaration
public int FrameSkipFactor { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
FrameSkipThreshold
Frame skip threshold. Default value: 0.
Declaration
public int FrameSkipThreshold { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
InterQuantBias
Inter quant bias. Default value: 999999.
Declaration
public int InterQuantBias { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
IntraPenalty
Penalty for intra blocks in block decision. Flags: Read / Write. Default value: 0.
Declaration
public int IntraPenalty { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
IntraQuantBias
Intra quant bias. Flags: Read / Write. Default value: 999999.
Declaration
public int IntraQuantBias { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
LagrangeMax
Maximum Lagrange factor (VBR). Flags: Read / Write. Default value: 3658.
Declaration
public int LagrangeMax { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
LagrangeMin
Minimum Lagrange factor (VBR). Flags: Read / Write. Default value: 236.
Declaration
public int LagrangeMin { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
LumaEliminationThreshold
Single coefficient elimination threshold for luminance (negative values also consider dc coefficient). Flags: Read / Write. Default value: 0.
Declaration
public int LumaEliminationThreshold { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
MEPC
Motion estimation bitrate penalty compensation (1.0 = 256). Flags: Read / Write. Default value: 256.
Declaration
public int MEPC { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
MEPRE
Pre motion estimation. Flags: Read / Write. Default value: 0.
Declaration
public int MEPRE { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
MPEGQuant
Use MPEG quantizers instead of H.263. Flags: Read / Write. Default value: 0.
Declaration
public int MPEGQuant { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
MPVFlags
Flags common for all mpegvideo-based encoders. Flags: Read / Write. Default value: (none).
Declaration
public MPEG4EncoderMPVFlags MPVFlags { get; set; }Property Value
| Type | Description | 
|---|---|
| MPEG4EncoderMPVFlags | 
MotionEstimation
Motion estimation algorithm. Flags: Read / Write. Default value: epzs (1).
Declaration
public MPEG4EncoderMotionEstimation MotionEstimation { get; set; }Property Value
| Type | Description | 
|---|---|
| MPEG4EncoderMotionEstimation | 
NoiseReduction
Noise reduction. Default value: 0.
Declaration
public int NoiseReduction { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
QSquish
How to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function). Default value: 0.
Declaration
public float QSquish { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
Quantizer
Constant Quantizer. Default value: 0.01.
Declaration
public float Quantizer { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
QuantizerNoiseShaping
(null). Default value: 0.
Declaration
public int QuantizerNoiseShaping { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
RCBufAggressivity
Currently useless. Default value: 1.
Declaration
public float RCBufAggressivity { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
RCInitComplexity
Initial complexity for 1-pass encoding. Default value: 0.
Declaration
public float RCInitComplexity { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
RCQModAmp
Experimental quantizer modulation. Default value: 0.
Declaration
public float RCQModAmp { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
RCQModFreq
Experimental quantizer modulation. Default value: 0.
Declaration
public int RCQModFreq { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
RTPPayloadSize
RTP payload size in bytes. Default value: 0.
Declaration
public int RTPPayloadSize { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
SceneChangeThreshold
Scene change threshold. Default value: 0.
Declaration
public int SceneChangeThreshold { get; set; }Property Value
| Type | Description | 
|---|---|
| int | 
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()Returns
| Type | Description | 
|---|---|
| MediaBlock | MediaBlock. |