Class MPEG4VideoEncoderSettings
- Assembly
- VisioForge.Core.dll
Represents the settings for a video codec configuration.
public class MPEG4VideoEncoderSettings : IVideoEncoder, IMediaBlockSettingsInheritance
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
qualityVideoQuality-
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
AlternateScan
Gets or sets a value indicating whether to enable the alternate scan table.
public bool AlternateScan { get; set; }Property Value
BSensitivity
Gets or sets the sensitivity of the B-frame strategy.
public int BSensitivity { get; set; }Property Value
BStrategy
Gets or sets the strategy to choose between I/P/B-frames.
public int BStrategy { get; set; }Property Value
Bitrate
Gets or sets the bitrate (Kbps).
public int Bitrate { get; set; }Property Value
BorderMask
Gets or sets the border mask quantizer increase for macroblocks close to borders.
public float BorderMask { get; set; }Property Value
BrdScale
Gets or sets the scale for downscaling frames for dynamic B-frame decision.
public int BrdScale { get; set; }Property Value
ChromaEliminationThreshold
Gets or sets the single coefficient elimination threshold for chrominance.
public int ChromaEliminationThreshold { get; set; }Property Value
DataPartitioning
Gets or sets a value indicating whether to use data partitioning.
public bool DataPartitioning { get; set; }Property Value
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
FrameSkipCompare
Frame skip compare function. Default value: "dctmax".
public MPEG4EncoderComparisonFunc FrameSkipCompare { get; set; }Property Value
FrameSkipExponent
Frame skip exponent. Default value: 0.
public int FrameSkipExponent { get; set; }Property Value
FrameSkipFactor
Frame skip factor. Default value: 0.
public int FrameSkipFactor { get; set; }Property Value
FrameSkipThreshold
Frame skip threshold. Default value: 0.
public int FrameSkipThreshold { get; set; }Property Value
InterQuantBias
Inter quant bias. Default value: 999999.
public int InterQuantBias { get; set; }Property Value
IntraPenalty
Penalty for intra blocks in block decision. Flags: Read / Write. Default value: 0.
public int IntraPenalty { get; set; }Property Value
IntraQuantBias
Intra quant bias. Flags: Read / Write. Default value: 999999.
public int IntraQuantBias { get; set; }Property Value
LagrangeMax
Maximum Lagrange factor (VBR). Flags: Read / Write. Default value: 3658.
public int LagrangeMax { get; set; }Property Value
LagrangeMin
Minimum Lagrange factor (VBR). Flags: Read / Write. Default value: 236.
public int LagrangeMin { get; set; }Property Value
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
MEPC
Motion estimation bitrate penalty compensation (1.0 = 256). Flags: Read / Write. Default value: 256.
public int MEPC { get; set; }Property Value
MEPRE
Pre motion estimation. Flags: Read / Write. Default value: 0.
public int MEPRE { get; set; }Property Value
MPEGQuant
Use MPEG quantizers instead of H.263. Flags: Read / Write. Default value: 0.
public int MPEGQuant { get; set; }Property Value
MPVFlags
Flags common for all mpegvideo-based encoders. Flags: Read / Write. Default value: (none).
public MPEG4EncoderMPVFlags MPVFlags { get; set; }Property Value
MotionEstimation
Motion estimation algorithm. Flags: Read / Write. Default value: epzs (1).
public MPEG4EncoderMotionEstimation MotionEstimation { get; set; }Property Value
NoiseReduction
Noise reduction. Default value: 0.
public int NoiseReduction { get; set; }Property Value
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
Quantizer
Constant Quantizer. Default value: 0.01.
public float Quantizer { get; set; }Property Value
QuantizerNoiseShaping
(null). Default value: 0.
public int QuantizerNoiseShaping { get; set; }Property Value
RCBufAggressivity
Currently useless. Default value: 1.
public float RCBufAggressivity { get; set; }Property Value
RCInitComplexity
Initial complexity for 1-pass encoding. Default value: 0.
public float RCInitComplexity { get; set; }Property Value
RCQModAmp
Experimental quantizer modulation. Default value: 0.
public float RCQModAmp { get; set; }Property Value
RCQModFreq
Experimental quantizer modulation. Default value: 0.
public int RCQModFreq { get; set; }Property Value
RTPPayloadSize
RTP payload size in bytes. Default value: 0.
public int RTPPayloadSize { get; set; }Property Value
SceneChangeThreshold
Scene change threshold. Default value: 0.
public int SceneChangeThreshold { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.