Compartir a través de


Media Samples (Windows CE 5.0)

Send Feedback

After raw bytes have been pulled into the graph, either from a local file or capture card or some other source, the bytes must be parsed into meaningful units, called media samples. Sometimes a source filter does the parsing, and sometimes a separate parsing filter performs this task. In DirectShow, a media sample is wrapped in a COM object that implements the IMediaSample2 Interface. In addition to the actual multimedia data, the object contains information including the specific media type and the synchronization times. A media sample object containing video data holds the data for one video frame. For audio, a media sample object holds the data for several audio samples. In either case, when data moves downstream through a graph from one filter to the next, it is in the form of media sample objects.

See Also

Elements of the Filter Graph

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.