Table of Contents

Class MPEG2VideoEncoderSettings

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

MPEG-2 video encoder settings.

public class MPEG2VideoEncoderSettings : IVideoEncoder, IMediaBlockSettings, IMPEG2EncoderSettings

Inheritance

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

quality VideoQuality

The quality.

Properties

A53CC

Use A53 Closed Captions (if available).

public bool A53CC { get; set; }

Property Value

bool

AlternateScan

Enable alternate scantable.

public bool AlternateScan { get; set; }

Property Value

bool

BSensitivity

Adjust sensitivity of B frame strategy 1.

public int BSensitivity { get; set; }

Property Value

int

BStrategy

Strategy to choose between I/P/B-frames.

public int BStrategy { get; set; }

Property Value

int

Bitrate

Bitrate (in Kbits/s).

public int Bitrate { get; set; }

Property Value

int

BorderMask

Increase the quantizer for macroblocks close to borders.

public float BorderMask { get; set; }

Property Value

float

BrdScale

Downscale frames for dynamic B-frame decision.

public int BrdScale { get; set; }

Property Value

int

ChromaElimThreshold

Single coefficient elimination threshold for chrominance (negative values also consider dc coefficient).

public int ChromaElimThreshold { get; set; }

Property Value

int

DropFrameTimecode

Timecode is in drop frame format.

public bool DropFrameTimecode { get; set; }

Property Value

bool

EncoderType

Gets or sets the encoder type.

public MPEG2EncoderType EncoderType { get; set; }

Property Value

MPEG2EncoderType

ErrorRate

Simulate errors in the bitstream to test error concealment.

public int ErrorRate { get; set; }

Property Value

int

ForceDuplicatedMatrix

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.

public MPEG2VideoEncoderCompareFunc FrameSkipCompare { get; set; }

Property Value

MPEG2VideoEncoderCompareFunc

FrameSkipExponent

Frame skip exponent.

public int FrameSkipExponent { get; set; }

Property Value

int

FrameSkipFactor

Frame skip factor.

public int FrameSkipFactor { get; set; }

Property Value

int

FrameSkipThreshold

Frame skip threshold.

public int FrameSkipThreshold { get; set; }

Property Value

int

GOPSize

Set the group of picture (GOP) size.

public int GOPSize { get; set; }

Property Value

int

InterQuantBias

Inter quant bias.

public int InterQuantBias { get; set; }

Property Value

int

IntraPenalty

Penalty for intra blocks in block decision.

public int IntraPenalty { get; set; }

Property Value

int

IntraQuantBias

Intra quant bias.

public int IntraQuantBias { get; set; }

Property Value

int

IntraVLC

Use MPEG-2 intra VLC table.

public bool IntraVLC { get; set; }

Property Value

bool

LagrangeMax

Maximum Lagrange factor (VBR).

public int LagrangeMax { get; set; }

Property Value

int

LagrangeMin

Minimum Lagrange factor (VBR).

public int LagrangeMin { get; set; }

Property Value

int

MEPC

Motion estimation bitrate penalty compensation (1.0 = 256).

public int MEPC { get; set; }

Property Value

int

MEPRE

Pre motion estimation.

public int MEPRE { get; set; }

Property Value

int

MPEGQuant

Use MPEG quantizers instead of H.263.

public int MPEGQuant { get; set; }

Property Value

int

MPVFlags

Flags common for all mpegvideo-based encoders.

public MPEG2VideoEncoderMPVFlags MPVFlags { get; set; }

Property Value

MPEG2VideoEncoderMPVFlags

MotionEst

Motion estimation algorithm.

public MPEG2VideoEncoderMotionEstimation MotionEst { get; set; }

Property Value

MPEG2VideoEncoderMotionEstimation

MultipassCacheFile

Filename for multipass cache file.

public string MultipassCacheFile { get; set; }

Property Value

string

NoiseReduction

Noise reduction.

public int NoiseReduction { get; set; }

Property Value

int

NonLinearQuant

Use nonlinear quantizer.

public bool NonLinearQuant { get; set; }

Property Value

bool

Profile

Gets or sets the profile.

public MPEG2VideoEncoderProfile Profile { get; set; }

Property Value

MPEG2VideoEncoderProfile

QSquish

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

public float QSquish { get; set; }

Property Value

float

Quantizer

Constant Quantizer.

public float Quantizer { get; set; }

Property Value

float

QuantizerNoiseShaping

Quantizer noise shaping.

public int QuantizerNoiseShaping { get; set; }

Property Value

int

RCEquation

Set rate control equation.

public string RCEquation { get; set; }

Property Value

string

RCInitCplx

Initial complexity for 1-pass encoding.

public float RCInitCplx { get; set; }

Property Value

float

RCQModAmp

Experimental quantizer modulation.

public float RCQModAmp { get; set; }

Property Value

float

RCQModFreq

Experimental quantizer modulation.

public int RCQModFreq { get; set; }

Property Value

int

RTPPayloadSize

RTP payload size in bytes.

public int RTPPayloadSize { get; set; }

Property Value

int

ScanOffset

Reserve space for SVCD scan offset user data Flags: Read / Write Default value: false

public bool ScanOffset { get; set; }

Property Value

bool

SceneChangeThreshold

Scene change threshold.

public int SceneChangeThreshold { get; set; }

Property Value

int

SeqDispExt

Write sequence_display_extension blocks.

public MPEG2VideoEncoderSequenceDisplayExt SeqDispExt { get; set; }

Property Value

MPEG2VideoEncoderSequenceDisplayExt

TimecodeFrameStart

GOP timecode frame start number, in non-drop-frame format

public ulong TimecodeFrameStart { get; set; }

Property Value

ulong

VideoFormat

Video_format in the sequence_display_extension indicating the source of the video.

public MPEG2VideoEncoderVideoFormat VideoFormat { get; set; }

Property Value

MPEG2VideoEncoderVideoFormat

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.