次の方法で共有


Command Line Parameters for the Camera and DirectShow Integration Test (Windows Embedded CE 6.0)

1/6/2010

For more information about how to edit the command line for a test, see Editing the Command-Line for a Test.

The Camera and DirectShow Integration Test executes the tux –o -dcameragraphtests command line on default execution

The following table shows the optional command line parameters for the Camera and DirectShow IntegrationTest.

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

/VideoFileConformanceLibrarypath

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 the Prerequisites for the Camera and DirectShow Integration Test.

See Also

Other Resources

Camera and DirectShow Integration Test