PRB: Video Capture using DirectShow does not work

  • Thread starter Thread starter Dirk Michael Goldschmidt
  • Start date Start date
D

Dirk Michael Goldschmidt

Hi,

we are having problems using video capture with
directshow under embedded xp.

We are using a single board computer with a BT878
Framegrabber (Falcon, IDS) to capture standard video data.

On the same hardware DirectShow with a WDM Capture driver
works without any problems under XP but not under Embedded XP.

Detailed error description:
1) AmCap.exe hangs (window not responding, no cpu usage)
after start for about 5 minutes and then
displays the error message: "Error: 80004002, Cannot Run
Preview Graph". Selecting twice the Preview button displays
the video data and the programs works corrrectly.
After restart of the program AmCap imidiatly selects
the capture device, but still one has to select the Preview
button twice in order to display the video data. (After the
first press the before mentioned Error message occurs again).
After reboot of the computer AmCap hangs again.

2) Graphedt.exe (DirectShow) (manual creation of DirectShow
filter graphs)

Selection of the Video Capture Source (Conexant´s BtPCI
Capture Filter) ist possible. However after inserting the
filter the program hangs as described under 1).
After some minutes the filter appears correctly in the
filtergraph.
Inserting and connecting a video renderer into the graph
works correctly.
In order to display the video data one has to run the
filtergraph. After selecting the button to run the graph
the programs hangs again. After some minutes the
programs displays the data correctly.
According to restart and reboot as described under 1) the
same behaviour is observed.

Any suggestions welcome.
 
Hi, Dirk Michael Goldschmidt!
we are having problems using video capture with
directshow under embedded xp. [skip]
Any suggestions welcome.

Did you include all DirectX related stuff?
We use AmCap / GraphEditor for the video grabbing board without problem.

Right now, we are using DirectX9b, but as I remember it worked with
DirectX8 too.
 
Hi Nikolai Vorontsov,

yes, we included all the DirectX components in the
TargetDesigner and still face the problem.

Maybe some other components have to be added which
are not directly related to DirectX ?

I should mention however, that the DirectX testprograms
work on our embedded system. But they don´t check
DirectShow,ie 3d computations work etc..

DirectShow works as well if one chooses for instance
an AviFileSource Filter and connects it to the video
renderer.

What type of driver do You use for the capture board?
Maybe something is wrong with the WDM Capture Filter
support in DirectShow in our Embedded XP system?

Dirk Michael Goldschmidt
 
Back
Top