This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem in capturetest

Hi,ALL

      OS: WinCE 6.0

     ProcessorDM3730

      BSP: BSP_WINCE_ARM_A8_01_02_00

   I used the CaptureTest to test camera driver( the camera is ov3640).

    I ran the application and found that the camera preview is well displayed on the LCD. I used commands capturetest /pv /auto /venc none /vin ypbpr

  However, when I include the H264 or MPEG4 encoder, the applications fails with the following error message.the command I used is "capturetest.exe /auto /pv /cap 640x480@30  /venc h264 /br 4000000 /vin ypbpr  /sd /file clip.asf /pv /time 30000" and disable the VRFB.

  Error message:

                       CaptureTest: ERROR: Failed to render capture graph hr=0x80004005.

The wrong place:

 
        hr = pCaptureGraphBuilder->RenderStream(
                                                          &PIN_CATEGORY_CAPTURE,
                                                          &MEDIATYPE_Video,
                                                          pVideoCapture,
                                                         pIntermediate,
                                                          pSink
                                                       );

    if (FAILED(hr)){
                      RETAILMSG(DBGZONE_ERROR, (TEXT("%s: ERROR - Failed to render capture graph, hr=0x%08X\r\n"), APP_NAME, hr));
                          return hr;
    }

 

  Thank you