Compartilhar via


AM_MPEGSYSTEMTYPE structure (mpegtype.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.]

The AM_MPEGSYSTEMTYPE structure defines the format block for an MPEG-1 system stream. This structure is used when the formattype member of the AM_MEDIA_TYPE structure is FORMAT_MPEG1System.

Syntax

typedef struct tagAM_MPEGSYSTEMTYPE {
  DWORD             dwBitRate;
  DWORD             cStreams;
  AM_MPEGSTREAMTYPE Streams[1];
} AM_MPEGSYSTEMTYPE;

Members

dwBitRate

Bits per second.

cStreams

Number of streams.

Streams[1]

List AM_MPEGSTREAMTYPE structures that describe the elementary streams. The number of elements in the list is given by the cStream member. The size of each AM_MPEGSTREAMTYPE structure is variable. Use the AM_MPEGSTREAMTYPE_ELEMENTLENGTH macro to calculate the size of each structure.

Remarks

The Streams member contains a list of AM_MPEGSTREAMTYPE structures. The size of each AM_MPEGSTREAMTYPE structure is aligned to an 8-byte boundary. Given a pointer to an AM_MPEGSTREAMTYPE structure in list, use the AM_MPEGSTREAMTYPE_NEXT macro to get a pointer to the next structure.

Requirements

Requirement Value
Header mpegtype.h (include Dshow.h)

See also

DirectShow Structures

MEPG-1 Media Types