Class MPEG2VideoEncoderSettings
MPEG-2 video encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class MPEG2VideoEncoderSettings : IVideoEncoder, IMediaBlockSettings
Constructors
MPEG2VideoEncoderSettings()
Initializes a new instance of the MPEG2VideoEncoderSettings class.
Declaration
public MPEG2VideoEncoderSettings()
MPEG2VideoEncoderSettings(VideoQuality)
Initializes a new instance of the MPEG2VideoEncoderSettings class.
Declaration
public MPEG2VideoEncoderSettings(VideoQuality quality)
Parameters
Type | Name | Description |
---|---|---|
VideoQuality | quality | The quality. |
Properties
A53CC
Use A53 Closed Captions (if available).
Declaration
public bool A53CC { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
AlternateScan
Enable alternate scantable.
Declaration
public bool AlternateScan { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
BSensitivity
Adjust sensitivity of B frame strategy 1.
Declaration
public int BSensitivity { get; set; }
Property Value
Type | Description |
---|---|
int | The b sensitivity. |
BStrategy
Strategy to choose between I/P/B-frames.
Declaration
public int BStrategy { get; set; }
Property Value
Type | Description |
---|---|
int | The b strategy. |
Bitrate
Bitrate (in Kbits/s).
Declaration
public int Bitrate { get; set; }
Property Value
Type | Description |
---|---|
int | The bitrate. |
BorderMask
Increase the quantizer for macroblocks close to borders.
Declaration
public float BorderMask { get; set; }
Property Value
Type | Description |
---|---|
float | The border mask. |
BrdScale
Downscale frames for dynamic B-frame decision.
Declaration
public int BrdScale { get; set; }
Property Value
Type | Description |
---|---|
int | The BRD scale. |
ChromaElimThreshold
Single coefficient elimination threshold for chrominance (negative values also consider dc coefficient).
Declaration
public int ChromaElimThreshold { get; set; }
Property Value
Type | Description |
---|---|
int | The chroma elim threshold. |
DropFrameTimecode
Timecode is in drop frame format.
Declaration
public bool DropFrameTimecode { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
ErrorRate
Simulate errors in the bitstream to test error concealment.
Declaration
public int ErrorRate { get; set; }
Property Value
Type | Description |
---|---|
int | The error rate. |
ForceDuplicatedMatrix
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.
Declaration
public MPEG2VideoEncoderCompareFunc FrameSkipCompare { get; set; }
Property Value
Type | Description |
---|---|
MPEG2VideoEncoderCompareFunc | The frame skip compare. |
FrameSkipExponent
Frame skip exponent.
Declaration
public int FrameSkipExponent { get; set; }
Property Value
Type | Description |
---|---|
int | The frame skip exponent. |
FrameSkipFactor
Frame skip factor.
Declaration
public int FrameSkipFactor { get; set; }
Property Value
Type | Description |
---|---|
int | The frame skip factor. |
FrameSkipThreshold
Frame skip threshold.
Declaration
public int FrameSkipThreshold { get; set; }
Property Value
Type | Description |
---|---|
int | The frame skip threshold. |
GOPSize
Set the group of picture (GOP) size.
Declaration
public int GOPSize { get; set; }
Property Value
Type | Description |
---|---|
int | The size of the gop. |
InterQuantBias
Inter quant bias.
Declaration
public int InterQuantBias { get; set; }
Property Value
Type | Description |
---|---|
int | The inter quant bias. |
IntraPenalty
Penalty for intra blocks in block decision.
Declaration
public int IntraPenalty { get; set; }
Property Value
Type | Description |
---|---|
int | The intra penalty. |
IntraQuantBias
Intra quant bias.
Declaration
public int IntraQuantBias { get; set; }
Property Value
Type | Description |
---|---|
int | The intra quant bias. |
IntraVLC
Use MPEG-2 intra VLC table.
Declaration
public bool IntraVLC { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
LagrangeMax
Maximum Lagrange factor (VBR).
Declaration
public int LagrangeMax { get; set; }
Property Value
Type | Description |
---|---|
int | The lagrange maximum. |
LagrangeMin
Minimum Lagrange factor (VBR).
Declaration
public int LagrangeMin { get; set; }
Property Value
Type | Description |
---|---|
int | The lagrange minimum. |
MEPC
Motion estimation bitrate penalty compensation (1.0 = 256).
Declaration
public int MEPC { get; set; }
Property Value
Type | Description |
---|---|
int | The mepc. |
MEPRE
Pre motion estimation.
Declaration
public int MEPRE { get; set; }
Property Value
Type | Description |
---|---|
int | The mepre. |
MPEGQuant
Use MPEG quantizers instead of H.263.
Declaration
public int MPEGQuant { get; set; }
Property Value
Type | Description |
---|---|
int | The MPEG quant. |
MPVFlags
Flags common for all mpegvideo-based encoders.
Declaration
public MPEG2VideoEncoderMPVFlags MPVFlags { get; set; }
Property Value
Type | Description |
---|---|
MPEG2VideoEncoderMPVFlags | The MPV flags. |
MotionEst
Motion estimation algorithm.
Declaration
public MPEG2VideoEncoderMotionEstimation MotionEst { get; set; }
Property Value
Type | Description |
---|---|
MPEG2VideoEncoderMotionEstimation | The motion est. |
MultipassCacheFile
Filename for multipass cache file.
Declaration
public string MultipassCacheFile { get; set; }
Property Value
Type | Description |
---|---|
string | The multipass cache file. |
NoiseReduction
Noise reduction.
Declaration
public int NoiseReduction { get; set; }
Property Value
Type | Description |
---|---|
int | The noise reduction. |
NonLinearQuant
Use nonlinear quantizer.
Declaration
public bool NonLinearQuant { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Profile
Gets or sets the profile.
Declaration
public MPEG2VideoEncoderProfile Profile { get; set; }
Property Value
Type | Description |
---|---|
MPEG2VideoEncoderProfile | The profile. |
QSquish
How to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function)
Declaration
public float QSquish { get; set; }
Property Value
Type | Description |
---|---|
float | The q squish. |
Quantizer
Constant Quantizer.
Declaration
public float Quantizer { get; set; }
Property Value
Type | Description |
---|---|
float | The quantizer. |
QuantizerNoiseShaping
Quantizer noise shaping.
Declaration
public int QuantizerNoiseShaping { get; set; }
Property Value
Type | Description |
---|---|
int | The quantizer noise shaping. |
RCEquation
Set rate control equation.
Declaration
public string RCEquation { get; set; }
Property Value
Type | Description |
---|---|
string | The rc equation. |
RCInitCplx
Initial complexity for 1-pass encoding.
Declaration
public float RCInitCplx { get; set; }
Property Value
Type | Description |
---|---|
float | The rc initialize CPLX. |
RCQModAmp
Experimental quantizer modulation.
Declaration
public float RCQModAmp { get; set; }
Property Value
Type | Description |
---|---|
float | The RCQ mod amp. |
RCQModFreq
Experimental quantizer modulation.
Declaration
public int RCQModFreq { get; set; }
Property Value
Type | Description |
---|---|
int | The RCQ mod freq. |
RTPPayloadSize
RTP payload size in bytes.
Declaration
public int RTPPayloadSize { get; set; }
Property Value
Type | Description |
---|---|
int | The size of the RTP payload. |
ScanOffset
Reserve space for SVCD scan offset user data Flags: Read / Write Default value: false
Declaration
public bool ScanOffset { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
SceneChangeThreshold
Scene change threshold.
Declaration
public int SceneChangeThreshold { get; set; }
Property Value
Type | Description |
---|---|
int | The scene change threshold. |
SeqDispExt
Write sequence_display_extension blocks.
Declaration
public MPEG2VideoEncoderSequenceDisplayExt SeqDispExt { get; set; }
Property Value
Type | Description |
---|---|
MPEG2VideoEncoderSequenceDisplayExt | The seq disp ext. |
TimecodeFrameStart
GOP timecode frame start number, in non-drop-frame format
Declaration
public ulong TimecodeFrameStart { get; set; }
Property Value
Type | Description |
---|---|
ulong | The timecode frame start. |
VideoFormat
Video_format in the sequence_display_extension indicating the source of the video.
Declaration
public MPEG2VideoEncoderVideoFormat VideoFormat { get; set; }
Property Value
Type | Description |
---|---|
MPEG2VideoEncoderVideoFormat | The video format. |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |