Export (0) Print
Expand All

WMMPEG2VIDEOINFO structure

The WMMPEG2VIDEOINFO structure describes an MPEG-2 video stream.

Syntax


typedef struct tag_WMMPEG2VIDEOINFO {
  WMVIDEOINFOHEADER2 hdr;
  DWORD              dwStartTimeCode;
  DWORD              cbSequenceHeader;
  DWORD              dwProfile;
  DWORD              dwLevel;
  DWORD              dwFlags;
  DWORD              dwSequenceHeader[1];
} WMMPEG2VIDEOINFO;

Members

hdr

WMVIDEOINFOHEADER2 structure giving header information.

dwStartTimeCode

25-bit group-of-pictures (GOP) time code at start of data. This field is not used for DVD.

cbSequenceHeader

Length of the sequence header, in bytes. For DVD, set this field to zero. The sequence header is given in the dwSequenceHeader field.

dwProfile

AM_MPEG2Profile enumeration type that specifies the MPEG-2 profile.

dwLevel

AM_MPEG2Level enumeration type that specifies the MPEG-2 level.

dwFlags

Flag indicating preferences. Flags are defined in Dvdmedia.h.

Set undefined bits to zero or the connection will be rejected.

dwSequenceHeader

Address of a buffer that contains the sequence header, including quantization matrices and the sequence extension, if required. This field is typed as a DWORD array to preserve the 32-bit alignment.

Remarks

This structure is identical to the MPEG2VIDEOINFO structure defined in Dvdmedia.h. For more information, see the DirectShow documentation in the DirectX SDK.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft