Share via


(strmif.h) IMpeg2Demultiplexer 介面

[與此頁面 相關的功能 DirectShow 是舊版功能。 它已被 MediaPlayerIMFMediaEngineMedia Foundation 中的音訊/視訊擷取取代。 這些功能已針對 Windows 10 和 Windows 11 進行優化。 Microsoft 強烈建議新程式代碼盡可能使用 MediaPlayerIMFMediaEngine音訊/視訊擷取 ,而不是 DirectShow。 Microsoft 建議盡可能重寫使用舊版 API 的現有程式代碼,以使用新的 API。]

此介面是在 MPEG-2 Demultiplexer 篩選上實作, (Demux) ,並同時用於程式數據流模式和傳輸數據流模式。 應用程式或其他篩選會呼叫它,以在 Demux 上建立、設定和刪除輸出釘選。 篩選條件 (提取模式) 播放檔案時,不會公開此介面。

繼承

IMpeg2Demultiplexer 介面繼承自 IUnknown 介面。 IMpeg2Demultiplexer 也有下列類型的成員:

方法

IMpeg2Demultiplexer 介面具有這些方法。

 
IMpeg2Demultiplexer::CreateOutputPin

CreateOutputPin 方法會在 Demux 上建立新的輸出釘選。
IMpeg2Demultiplexer::D eleteOutputPin

DeleteOutputPin 方法會刪除指定的輸出釘選。
IMpeg2Demultiplexer::SetOutputPinMediaType

SetOutputPinMediaType 方法會更新指定輸出釘選的媒體類型。 (DirectX 9.0 和更新版本.) 。

規格需求

需求
最低支援的用戶端 Windows XP [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
目標平台 Windows
標頭 strmif.h (包含 Dshow.h)