各位大侠高手请支招,谢谢了。问题现象如下
平台:wince 6.0 + arm9(公司自己的SOC)
摄像头 OV7680 和OV2650, 两个都支持
用ce私有目录下的测试应用程序,可以正常preview,CAPTURE, still。可以获得照片,视频asf文件
在进行cetk测试的时候,测试 camara driver data structure verification 和I/O test都可以pass
但是在进行DSHOW集成测试 和 性能测试 的时候 都挂死了,cetk也会断开。
在catalog里面将尽可能多的组件多加进去了。以下是串口打印:
DSHOW API: ShellProc(SPM_START_SCRIPT, ...) called
DSHOW API: ShellProc(SPM_BEGIN_GROUP, ...) called
BEGIN GROUP: TUXTEST.DLL
*** Test runtime parameteters ***
Capture framework version 6.0.2006.42
Preview verification turned off.
Still image verification turned off.
Using video encoder CLSID {D23B90D0-144F-46BD-841D-59E4EB19DC59}
Using audio encoder CLSID {00000000-0000-0000-0000-000000000000}
Using mux CLSID {4F4BA16C-CCB0-4D23-B1E8-672C7DFE4A02}
Audio is available.
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
*** TEST STARTING
***
*** Test Name: Graph building tests everything.
*** Test ID: 100
*** Library Path: \cameragraphtests.dll
*** Command Line:
*** Kernel Mode: No
*** Random Seed: 6915
*** Thread Count: 0
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
DSHOW API: ShellProc(SPM_BEGIN_TEST, ...) called
BEGIN TEST: "Graph building tests everything.", Threads=0, Seed=6915
CurMSec: 143
Building the capture graph, iteration 0
CurMSec: 144
CurMSec: 145
CurMSec: 146
CurMSec: 147
CurMSec: 148
CurMSec: 149
偶尔有几次还可以不挂死,但是现在那个不挂死的版本也会挂死了,真是奇怪了
谢谢ls兄弟的回复,IFilterGraph2 在ce5.0里面支持,6.0也应该有吧。