Condividi tramite


Camera Driver Functional Test - MultiStream (Scenario) - Preview, Take Bitmap Photo

This set of tests validates cameras functionality with the MF and IMFCaptureEngine.

  • Camera Driver Basic Tests - *

    Tests against a subset of camera media types and shorter duration of tests than functional or reliability.

  • Camera Driver Functional Tests - *

    Tests against a larger set of media types and have longer duration of the test.

  • Camera Driver Reliability Tests - *

    Tests against a larger set of media types and have longer duration of the test, and more complex scenarios.

  • *- Capture Stream - *

    Validates that the system can record from MF_CAPTURE_ENGINE_PREFERRED_SOURCE_STREAM_FOR_VIDEO_RECORD.

This test captures from the preferred video recording pin by using the preferred mediatype exposed, and attempts to save to H.264 format.

Test details

Associated requirements

System.Client.Webcam.VideoCaptureAndCamera

See the system hardware requirements.

Platforms

Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86

Expected run time

~2 minutes

Categories

Functional Certification

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: System Client Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting System Client Testing.

Error Description/Workaround

0x8004005 : E_FAIL

The most often occurrence of this error code is during the verification of the Recorded file for Video or Photo. This will occur if the resulting file contains no data because it did not receive samples.

Check to ensure the device is producing valid samples when it enters the run state. Valid includes that the sample is the right size, format, and time for when it was produced.

0x80070102

This will occur when a Capture Asynchronous Operation has timed out. These include Initialize, Start Preview, Stop Preview, Start Record, Stop Record, Take Photo, and Change Mediatype. The test allows for 9-10 seconds for each operation before failing. Mediatype change can include pin tear down and bring up time.

Check that the device isn’t waiting for future commands that prevent it from changing state. Ensure that all buffers are flushed out of the device on device reset commands.

0xC00D3704 : MF_E_HW_MFT_FAILED_START_STREAMING

This error occurs when the device cannot enter the run state.

Check that the device is able to transition through all states without failure, or that other pins aren’t preventing the device from entering a state.

0xC00D4A44 : MF_E_SINK_NO_SAMPLES_PROCESSED

This error occurs during finalization of files, if no samples have been delivered.

Check to ensure the device is producing valid samples when it enters the run state. Valid includes that the sample is the right size, format, and time for when it was produced.

 

 

 

Send comments about this topic to Microsoft