DirectShow

出自 ProgWiki
前往: 導覽搜尋

DirectShow,參照:『維基百科~DirectShow

  • DirectShow以元件的架構將多媒體的檔案的撥放流程,拆成:(以撥放.MP3檔為例)
    • Source filters(MPEG-I Stream Splitter)
    • Transform filters(MPEG Layer-3 Decoder)
    • Renderer filters(Default DirectSound Device)

SDK

DirectShow SDK原本放在DirectX SDK裡,但自DirectX 9.0c SDK以後,被移到Windows SDK。
相關

技術文件

應用

DirectShow.NET

FAQ

GraphEdit播放(Filters串接圖)

.mp4(需安裝K-Lite Codec Pack)
File Source (*.mp4)
  → LAV Vidio Decoder → Vidio Renderer
  → LAV Audio Decoder → Default DirectSound Device
.mkv(需安裝K-Lite Codec Pack)
File Source (*.mkv)
  → LAV Vidio Decoder → Vidio Renderer
  → LAV Audio Decoder → Default DirectSound Device
.avi
File Source (*.avi)
  → AVI Splitter → AVI Decompressor →  ColorSpace Converter → Vidio Renderer
.mp3(需安裝K-Lite Codec Pack)
File Source (*.mp3)
  → LAV Splitter → MP3 Decoder DMO →  Default DirectSound Device
.wav
File Source (*.wav)
  → Wave Parser → Default DirectSound Device
.mid
File Source (*.mid)
  → MIDI Parser → Default MidiOut Device

相關