共用方式為


MPEG1VIDEOINFO structure (amvideo.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 MPEG1VIDEOINFO structure describes an MPEG-1 video stream.

Syntax

typedef struct tagMPEG1VIDEOINFO {
  VIDEOINFOHEADER hdr;
  DWORD           dwStartTimeCode;
  DWORD           cbSequenceHeader;
  BYTE            bSequenceHeader[1];
} MPEG1VIDEOINFO;

Members

hdr

VIDEOINFOHEADER structure.

dwStartTimeCode

25-bit group-of-pictures (GOP) time code at start of data.

cbSequenceHeader

Length of the bSequenceHeader member, in bytes.

bSequenceHeader[1]

Start of an array that contains the sequence header, including quantization matrices, if any. The size of the array is given in the cbSequenceHeader member.

Requirements

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

See also

DirectShow Structures