共用方式為


AM_MPEG2Profile enumeration (dvdmedia.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Indicates an MPEG-2 video profile as specified in the MPEG-2 video standard (ISO13818-2).

Syntax

typedef enum AM_MPEG2Profile {
  AM_MPEG2Profile_Simple = 1,
  AM_MPEG2Profile_Main = 2,
  AM_MPEG2Profile_SNRScalable = 3,
  AM_MPEG2Profile_SpatiallyScalable = 4,
  AM_MPEG2Profile_High = 5
} ;

Constants

 
AM_MPEG2Profile_Simple
Value: 1
Simple profile.
AM_MPEG2Profile_Main
Value: 2
Main profile.
AM_MPEG2Profile_SNRScalable
Value: 3
Signal to Noise Ratio (SNR) scalable profile
AM_MPEG2Profile_SpatiallyScalable
Value: 4
Spatially scalable profile.
AM_MPEG2Profile_High
Value: 5
High profile.

Remarks

DVD video decoders should support AM_MPEG2Profile_Simple or AM_MPEG2Profile_Main.

Requirements

Requirement Value
Header dvdmedia.h

See also

DirectShow Enumerated Types