View Full Version : Use of device inside Sourcefilter

April 18, 2007, 13:38:50

We have just purchased two DFC/1394-1e devices and I would like to use them in my own DirectShow sourcefilter.
I only need to access the capture buffer of the device to copy the raw data into my own buffers to preprocess them.

How do I use the device as a low level grabber?

gr. Pjotr

Stefan Geissler
April 18, 2007, 15:59:52
Hello Pjotr,

I am very sorry, but I can not support DirectShow programing. I suggest to install the DirectShow SDK, test the program grahpedt.exe and read how to create a filter graph.

April 19, 2007, 14:07:24
Hi Stefan,

I do not need the support on the DirectShow part :)

If I construct a Grabber inside my filter, it compiles fine. but if I add the following code:

Grabber::tVidCapDevListPtr pdevList = pGrabber->getAvailableVideoCaptureDevices();

I get a linker error:
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)"
error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const

I use vs2005 and have linked to the TIS_UDSHL07_vc8d.lib.
Do you know how to resolve this error?

thnx, Pjotr

April 19, 2007, 14:36:40
Fixed the problem myself....
Removed the list of libraries and removed the /NODEFAULTLIB...

I think an oops is in order..

It compiles now....

thnx, Pjotr

Stefan Geissler
April 20, 2007, 11:34:34

Thank you that you solved the problem on your own :-)