Microsoft DirectX 8.1 (C++)

SampGrabCB Sample

Description

Displays information about media samples as they move through the filter graph.

Path

Source: (SDK root)\Samples\Multimedia\DirectShow\Editing\SampGrabCB

User's Guide

This console application uses the IMediaDet interface to create a filter graph that contains the Sample Grabber filter. The application uses a callback function to retrieve samples from the video file.

Usage

SampGrabCB Filename

The output from the application will look similar to the following:

Sample received = 00000  Clock = 4464847
Sample received = 00001  Clock = 4464848
Sample received = 00002  Clock = 4464849
Sample received = 00003  Clock = 4464850
Sample received = 00004  Clock = 4464853