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