Microsoft DirectX 9.0 |
Description
The SampGrabCB displays information about media samples as they move through the filter graph.
Path
Source: (SDK root)\Samples\C++\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
From the command line, type:
SampGrabCB Filename
Sample Output
Grabbing samples from c:\Example.avi.Sample received = 00000 Clock = 158153069 Length=129600Sample received = 00001 Clock = 158153076 Length=129600Sample received = 00002 Clock = 158153076 Length=129600Sample received = 00003 Clock = 158153076 Length=129600Sample received = 00004 Clock = 158153077 Length=129600