Re: How to add a filter?
- From: "emetress" <emetres@xxxxxxxxx>
- Date: 3 May 2006 14:47:37 -0700
If I write this: CComPtr<IBaseFilter> pSobel;
The first error of my program is this one:
1>d:\documents and settings\alex\escritorio\prueba2\webcam.cpp(20) :
error C2065: 'CComPtr' : undeclared identifier
Let me explain something. I'm trying to make an app as simple as this
one: want to read from my webcam and then I want to process the video
stream of the camera thorugh a Sobel filter already working (i tested
this in the graph edit program).
To make this I have get lot of examples from internet and from some
books and now I don´t know very good how it works. I think it would be
easier if you can tell me how can I:
1. Make my app access to the camera, my actual program searches for the
webcam with an external function I don't understand...I think it would
be easier going through the file source filter directly
2. Opening the sobel filter and connecting the filter to the exit of
the source filter (maybe before I need a Smart tee filter)
3. Render the streams I have passed through the Sobel filter.
I think is a very easy program but I have lots of problems if I try to
write it myself so I got the examples I mentioned and now I don't
understand my app.
Thank you
.
- Follow-Ups:
- Re: How to add a filter?
- From: The March Hare [MVP]
- Re: How to add a filter?
- References:
- How to add a filter?
- From: emetress
- Re: How to add a filter?
- From: The March Hare [MVP]
- Re: How to add a filter?
- From: emetress
- Re: How to add a filter?
- From: The March Hare [MVP]
- Re: How to add a filter?
- From: emetress
- Re: How to add a filter?
- From: The March Hare [MVP]
- How to add a filter?
- Prev by Date: Setting Dimensions for Output WMV
- Next by Date: Re: How to add a filter?
- Previous by thread: Re: How to add a filter?
- Next by thread: Re: How to add a filter?
- Index(es):
Relevant Pages
|
Loading