Friday, September 16, 2011

DirectShow tutorial for windows mobile - Part I


As per the Microsft's definition
Microsoft® DirectShow® is an architecture for streaming media on the Microsoft Windows® platform. 

DirectShow provides for high-quality capture and playback of multimedia streams. It supports a wide variety of formats, including Advanced Systems Format (ASF), Motion Picture Experts Group (MPEG), Audio-Video Interleaved (AVI), MPEG Audio Layer-3 (MP3), and WAV sound files. It supports capture from digital and analog devices based on the Windows Driver Model (WDM) or Video for Windows. It automatically detects and uses video and audio acceleration hardware when available, but also supports systems without acceleration hardware.

The basic building block of the DirectShow API architecture is a filter. 
"Filter is a unit which performs a single operation on a multiledia stream."
examples for the filter are 
  1. Filter for read files
  2. Filter for decoding a particular media stream format, such as MPEG-1 video
  3. Filter for passing data to the graphics or sound card
filters are used to manage and manipulate data. these are used to perform actions such as parsing, decoding, formatting or rendering on a multimedia stream.

To perform a given task, we need to connect several filters such that output of one filter is an input for another filter.
"Set of connected filters is called a filter graph"

No comments:

Post a Comment