MPEG-1 Media Types

[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.]

This section lists the media types used for MPEG-1 data.

MPEG-1 System Stream

Label Value
Major type MEDIATYPE_Stream
Subtype MEDIASUBTYPE_MPEG1System
Format Type FORMAT_MPEGStreams
Format Structure AM_MPEGSYSTEMTYPE
Media Sample Contents Byte stream; no alignment

 

MPEG-1 System Stream from Video CD

Label Value
Major type MEDIATYPE_Stream
Subtype MEDIASUBTYPE_MPEG1VideoCD
Format Type GUID_NULL
Format Structure None
Media Sample Contents Byte stream; no alignment.

 

MPEG-1 Audio Packet

Label Value
Major type MEDIATYPE_Audio
Subtype MEDIASUBTYPE_MPEG1Packet
Format Type FORMAT_WaveFormatEx
Format Structure MPEG1WAVEFORMAT
Media Sample Contents Single MPEG-1 packet, including packet header.

 

MPEG-1 Audio Payload

Label Value
Major type MEDIATYPE_Audio
Subtype MEDIASUBTYPE_MPEG1Payload
Format Type FORMAT_WaveFormatEx
Format Structure MPEG1WAVEFORMAT
Media Sample Contents Byte-aligned MPEG-1 audio data.

 

MPEG-1 Video Packet

Label Value
Major type MEDIATYPE_Video
Subtype MEDIASUBTYPE_MPEG1Packet
Format Type FORMAT_MPEGVideo
Format Structure MPEG1VIDEOINFO
Media Sample Contents Single MPEG-1 packet, including packet header.

 

MPEG-1 Video payload

Label Value
Major type MEDIATYPE_Video
Subtype MEDIASUBTYPE_MPEG1Payload
Format Type FORMAT_MPEGVideo
Format Structure MPEG1VIDEOINFO
Media Sample Contents Byte-aligned MPEG-1 video data.

 

MPEG-1 Native Video Stream

Label Value
Major type MEDIATYPE_Stream
Subtype MEDIASUBTYPE_ MPEG1Video
Format Type GUID_NULL
Format Structure None
Media Sample Contents Array of video stream bytes (no system layer).

 

MPEG-1 Native Audio Stream

Label Value
Major type MEDIATYPE_Stream
Subtype MEDIASUBTYPE_ MPEG1Audio
Format Type GUID_NULL
Format Structure None
Media Sample Contents Array of audio stream bytes (no system layer).

 

Remarks

The DirectShow MPEG-1 filters support these types as follows.

Filter Direction Supported media types
MPEG-1 Splitter Input MPEG-1 system streamMPEG-1 system stream from Video CD
MPEG-1 Splitter Output MPEG-1 Audio packetMPEG-1 Audio payload
MPEG-1 Video packet
MPEG-1 Video payload
Software Audio Codec Input MPEG-1 Audio packetMPEG-1 Audio payload
Software Video Codec Input MPEG-1 Video packetMPEG-1 Video payload
Software Audio Codec Output PCM audio
Software Video Codec Output Uncompressed video (Y41P, YUY2, UYVY, RGB-24, RGB-32, RGB-565, RGB-555, RGB-8)

 

MPEG-1 Video packet and payload media types contain a complete sequence header so that data can be played from the middle of a file without needing a sequence header to initialize the video playback.

The video sequence header is appended to the video data type for MPEG video so that play can begin from the middle of a stream. The length of this field is up to 140 bytes; it includes the sequence header start code (0x000001B3) at the start, along with any quantization matrices found in the first sequence header encountered.