IMpeg2PsiParser interface

[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 implementation of this interface is provided as sample code with the DirectShow SDK. It is not a supported DirectShow API.

The IMpeg2PsiParser interface retrieves Program Specific Information (PSI) from the PSI Parser filter, which is provided in the DirectShow SDK as a sample filter. An application can use this filter to map program IDs (PIDs) on the MPEG-2 Demultiplexer filter.

Members

The IMpeg2PsiParser interface inherits from the IUnknown interface. IMpeg2PsiParser also has these types of members:

Methods

The IMpeg2PsiParser interface has these methods.

Method Description
FindRecordProgramMapPid Finds the Program Map Table (PMT) PID for a program, given the program number.
GetCountOfElementaryStreams Retrieves the number of elementary streams in a specified program.
GetCountOfPrograms Retrieves the number of programs in the transport stream.
GetPatVersionNumber Retrieves the version_number field from the Program Association Table (PAT).
GetPmtVersionNumber Retrieves the version_number field from a specified PMT.
GetRecordElementaryPid Retrieves the PID assignment for a specified elementary stream in a program.
GetRecordProgramMapPid Retrieves the PID assignment for a specified PMT.
GetRecordProgramNumber Retrieves the program number for a specified program.
GetRecordStreamType Retrieves the stream type for a specified elementary stream in a program.
GetTransportStreamId Retrieves the transport_stream_id field from the PAT.

 

See also

PSI Parser Filter Sample