Microsoft DirectX 9.0

IMpeg2PsiParser Interface

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.

In addition to the methods inherited from IUnknown, the IMpeg2PsiParser interface exposes the following 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