Share via


Command Line Parameters for the Camera Performance Test

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

You may customize the test run with the following command line parameters.

Command line parameter Description

/?

Outputs the list and description of the command line parameters.

/ManualVerifyPreview

Forces manual verification on, where user will be prompted for input.

/ManualVerifyStill

Turns off automatic verification of the still frame captured.

/AutoVerifyPreview

Forces automatic verification on, regardless of renderer in use. May cause invalid failures.

/AutoVerifyStill

Turns off automatic verification of the still frame captured if using the sample camera driver.

/OutputKeyEvents

Enables the test to output debugging information for missing events, skip outputting high volume events.

/OutputAllEvents

Enables the test to output debugging information for missing events, outputs every event.

/OutputFilterInformation

Enables the test to output information about the graph topology.

/OutputPreviewDiagnostics

Output preview diagnostics information for tracking samples.

/OutputStillDiagnostics

Output still capture diagnostics information for tracking samples.

/OutputCaptureDiagnostics

Output video capture diagnostics information for tracking samples.

/OutputAllDiagnostics

Output all video capture diagnostics information including graph topology, all events, and all other sample tracking diagnostics.

/VideoEncoderCLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}

Sets the framework to use the video encoder DMO with the CLSID specified.

/AudioEncoderCLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}

Sets the framework to use the audio encoder DMO with the CLSID specified.

/MuxCLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}

Sets the framework to use the audio/video MUX with the CLSID specified.

/UseGSM

Sets the framework to have the AudioCaptureFilter output GSM encoded audio instead of PCM (if the ACM audio encoder is available)

/ForceColorConversion

Forces the color conversion filter into the graph in front of the renderer. May be necessary depending on the encoder and the camera driver-supported formats

/VideoFileConformanceLibrary path

This tells the test to use the DLL specified in the path to verify conformance of the video file created. This library must export a function with the following prototype:

HRESULT VerifyVideoFile(WCHAR *filename);

The library should load the file, and return an HRESULT indicating whether or not the file is conformant and playable. If no path is given and the file sink used is the default ASF file sink, asfverify.dll is used.

The preview, still, capture, and diagnostic options require the test filter library cameragrabber.dll, as specified in Prerequisites for the Camera Performance Test.

See Also

Concepts

Camera Performance Test