MainH264VideoProfile Members

Used to specify the main H.264 video profile.

The following tables list the members exposed by the MainH264VideoProfile type.

Public Constructors

  Name Description
MainH264VideoProfile Initializes a new instance of the MainH264VideoProfile class.

Top

Public Properties

  Name Description
public property ActualAspectRatio  Gets the actual aspect ratio of the video profile. Note that if you're using square pixels (when AutoFit equals true), the actual aspect ratio may be slightly different than the aspect ratio that is passed to the SetAspectRatio method, because the video frame dimensions are rounded to the nearest 4 or 16 pixels.  (Inherited from VideoProfile)
public property AdaptiveBFrames  Gets or sets a value indicating whether sequence complexity determines B-frame placement. This value is ignored if H264 GPU encoding is enabled.  (Inherited from BaselineH264VideoProfile)
public property AspectRatio  Gets or sets the aspect ratio used to encode the profile. If set to null, the aspect ratio is controlled by the width and height of the stream.  (Inherited from VideoProfile)
public property AutoFit  Gets or set a value indicating whether the output resolution is calculated by fitting the source media item within the profile's size. For example, if AutoFit is set to true and the profile is set to 320 x 240 with an aspect ratio of 16:9, the output size will be 320 x 180. If AutoFit is set to false, the output size will be 320 x 240 and the video will be encoded with non-square pixels.  (Inherited from VideoProfile)
public property BFrameCount Gets or sets the number of B-frames between key frames.
public property Bitrate  Gets or sets the bitrate to use when encoding.  (Inherited from VideoProfile)
public property Codec  Gets the codec type.  (Inherited from BaselineH264VideoProfile)
public property EntropyMode Gets or sets the value for the entropy encoding mode.
public property FastInterDecisions  Gets or sets a value indicating whether to apply faster coding decisions across frames to speed up encoding.  (Inherited from BaselineH264VideoProfile)
public property FastIntraDecisions  Gets or sets a value indicating whether to apply faster coding decisions per frame to speed up encoding.  (Inherited from BaselineH264VideoProfile)
public property Force16Pixels  Gets a value indicating whether auto-calculated dimensions are rounded to 16 pixels (true), or 4 pixels (false).  (Inherited from VideoProfile)
public property FrameRate  Gets or sets the frame rate in frames per second. Zero (0) means that frame rate of the source file will be used.  (Inherited from VideoProfile)
public property HadamardTransform  Gets or sets a value indicating whether Hadamard Transform mode is used.  (Inherited from BaselineH264VideoProfile)
public property InLoopFilter  Gets or sets a value indicating whether in-loop filtering is turned on. The in-loop filter reduces blocking artifacts during encoding to improve the quality of P-frames and B-frames. Note that the setting is ignored in H.264 as it is always enabled for quality reasons.  (Inherited from BaselineH264VideoProfile)
public property IsEditable  Gets a value indicating whether the profile can be modified.  (Inherited from ProfileBase)
public property KeyFrameDistance  Gets or sets the key frame distance in seconds.  (Inherited from BaselineH264VideoProfile)
public property MEPartitionLevel  Gets or sets the value for the ME Partition Level. This defines the complexity of the ME partition decision for inter-predicted frames. A smaller partition level means higher complexity and usually produces better compression capability (or better quality at the same bitrate).  (Inherited from BaselineH264VideoProfile)
public property MultiReferenceMotionSearchMode  Gets or sets a value indicating what MultiReference Motion Search mode is used  (Inherited from BaselineH264VideoProfile)
public property NumberOfEncoderThreads  Gets or sets the number of threads used by the encoder. Defaults to 0 to allow the encoder to choose a value based on the video and the number of logical processors available.  (Inherited from VideoProfile)
public property RDOptimizationMode  Gets or sets a value indicating what RDOptimization mode is on  (Inherited from BaselineH264VideoProfile)
public property ReferenceBFrames  Gets or sets a value indicating whether ReferenceBFrames is turned on. This value is ignored if H264 GPU encoding is enabled.  (Inherited from BaselineH264VideoProfile)
public property ReferenceFrames  Gets or sets the number of reference frames for inter-predicted frames.  (Inherited from BaselineH264VideoProfile)
public property SceneChangeDetector  Gets or sets a value indicating whether key frames will automatically get created when a scene change is detected.  (Inherited from BaselineH264VideoProfile)
public property SearchRange  Gets or sets the search range in pixels.  (Inherited from BaselineH264VideoProfile)
public property SeparateFilesPerStream  Gets a value indicating whether a separate file is created for each stream.  (Inherited from VideoProfile)
public property Size  Gets or sets the size of the video profile.  (Inherited from VideoProfile)
public property SliceCount  Gets or sets a value indicating the number of slices per frame. Dividing the frames into more slices improves encoding speed but reduces quality because it prevents searches between slices.  (Inherited from BaselineH264VideoProfile)
public property SmoothStreaming  Gets or sets a value indicating whether the profile uses IIS Smooth Streaming. Note that if you're using VC-1, setting this property to true will cause the following properties to be set as follows: ClosedGop to true, AdaptiveGop to false, and OutputMode to ElementaryStreamSequenceHeader. When you are using Smooth Streaming, the bitrate of the streams must be either all ConstantBitrate or all VariableConstrainedBitrate.  (Inherited from VideoProfile)
public property StreamCopyOnly  Gets a value indicating whether this profile supports only stream copying. This can happen if the decoder is installed but the encoder is not installed.  (Inherited from ProfileBase)
public property Streams  Gets or sets the collection of streams.  (Inherited from VideoProfile)
public property SubBlockMotionSearchMode  Gets or sets a value indicating what SubBlock Motion Search mode is used  (Inherited from BaselineH264VideoProfile)
public property SubPixelMode  Gets or sets a value indicating subpixel searching mode. Full depth is quicker but less accurate and Half and Quarter provides the best quality at the cost of encoding time.  (Inherited from BaselineH264VideoProfile)
public property XmlDescription  Gets the XML description of the profile if the profile was initialized from an XML profile string.  (Inherited from ProfileBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Clone Overridden. Makes a deep copy of the video profile object.
public method Equals  Overloaded. (Inherited from Object )
public method GetHashCode  (Inherited from Object )
public method GetType  (Inherited from Object )
public method LevelForStream  (Inherited from BaselineH264VideoProfile )
public methodstatic ReferenceEquals  (Inherited from Object )
public method SetAspectRatio  (Inherited from VideoProfile )
public method ToString  (Inherited from Object )

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

Public Events

  Name Description
public event PropertyChanged  Occurs when a property value changes.  (Inherited from EncoderObject)

Top

See Also

Reference

MainH264VideoProfile Class
Microsoft.Expression.Encoder.Profiles Namespace

   © 2011 by Microsoft Corporation. All rights reserved.