Camera Driver Test - Preview (Sample Grabber), Record H.264 Video and AAC Audio from each Capture Stream type

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.

  • *- Multi Stream - *

    Validates that the system is able to take a photo, preview, and record.

This test will specifically set up a capture scenario that will preview and record simultaneously. It will user the preview pin to render an uncompressed mediatype and will use the record pin to save an H.264 video format and AAC audio format, and will also take a photo with JPEG as image format type.

Test details

   
Specifications
  • System.Client.Camera.VideoCapture.VideoCapture
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows 10, client editions (Arm64)
  • Windows 10, mobile edition (Arm)
  • Windows 10, mobile edition (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 15
Category Scenario
Timeout (in minutes) 180
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

Running the test

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

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

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.

 

More information

Parameters

Parameter name Parameter description
WDKDeviceID Device id of DUT
DriverVerifierExcludedFlags Driver Verifier flags that may be manually excluded for the test run