Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 interface is implemented on each output pin of the MPEG-2 Demultiplexer filter (Demux) and is used in program stream mode only. It is called by applications or other filters to associate the pin with a specified Stream ID and to inform the pin whether substream filtering is required on the stream. This interface is not exposed when the filter is playing back a file (pull-mode).
For transport streams, use the IMPEG2PIDMap interface.
Inheritance
The IMPEG2StreamIdMap interface inherits from the IUnknown interface. IMPEG2StreamIdMap also has these types of members:
Methods
The IMPEG2StreamIdMap interface has these methods.
| IMPEG2StreamIdMap::EnumStreamIdMap The EnumStreamIdMap method returns a collection of all the mapped Stream IDs on this pin. | 
| IMPEG2StreamIdMap::MapStreamId The MapStreamId method maps the Stream ID of an elementary stream within an MPEG-2 program stream to a media content type and substream filtering information. | 
| IMPEG2StreamIdMap::UnmapStreamId The UnmapStreamId method unmaps the Stream ID mapping created in a previous call to MapStreamId. | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows XP [desktop apps only] | 
| Minimum supported server | Windows Server 2003 [desktop apps only] | 
| Target Platform | Windows | 
| Header | strmif.h (include Dshow.h) |