Creating Test Files

Before you run a streaming test on a DMO, you must generate a file with test data for that DMO. The file must conform to a custom format which is recognized by DMOTest. For information about the format, see DMO Test Application File Format.

The test data consists of samples taken from a media source file. The source file must contain data that the DMO can process. For example, if you are testing an audio effect filter, use an audio source file.

To create a test file, you will need:

Note  If you're not sure what media formats the DMO can accept, see Viewing a DMO's Input Types.

To generate the test data, do the following:

  1. Launch GraphEdit.
  2. Render the media file that you want to use.
  3. Locate the filter whose output pin produces the media type you want to test.
  4. Delete all the downstream filters. (Follow the arrows from the output pin.)
  5. Add the DMO Data Dump filter to the graph.
  6. Connect the output pin from step 3 to the DMO Data Dump filter.
  7. Run the graph.
  8. Exit GraphEdit.

For more information about GraphEdit, see the topic "Using the GraphEdit Utility" in the DirectShow documentation. Or, run GraphEdit and choose Contents from the Help menu.