Re: Creating a filtergraph in code
From: Nak (a_at_a.com)
Date: 06/10/04
- Next message: Iain: "Re: "Microsoft DV Camera and VCR" capture filter - Get actual device"
- Previous message: Alessandro Angeli [MVP::DigitalMedia]: "Re: Loading a filter graph rather than constructing one"
- In reply to: Nak: "Creating a filtergraph in code"
- Next in thread: Chris P. [MVP]: "Re: Creating a filtergraph in code"
- Reply: Chris P. [MVP]: "Re: Creating a filtergraph in code"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 11:43:09 +0100
Hi there,
I finally have the filtergraph connecting the SampleGrabber and my
Transform filter into one graph. I done this by adding the filters and
simply rendering the capture device, to which DirectShow automatically
connects everything up.
BUT! I have one issue, it has placed the SampleGrabber *before* my
transform filter, so when the image is grabbed it has not been
transformed!!! Is there any other way of getting the filters to be rendered
in a certain priority?
Nak.
"Nak" <a@a.com> wrote in message
news:%23UWKtvsTEHA.332@TK2MSFTNGP11.phx.gbl...
> Hi there,
>
> I have a nice example of how to use DirectShow in .NET, the example
uses
> a screen grabber filter to enable shots to be taken of the video input
> device. What I would *like* to do is modify the filtergraph so that it
> contains my own transform filter just before the sample grabber. Could
> someone please advice of the correct way to do this, my appologies for
> repeatedly asking questions on filtergraphs.
>
> If I create the filtergraph in graphedit, it contains the following,
>
> Microsoft DV Camera and VCR
> |<vid out
> DV Video Decoder
> |
> My Transform filter
> |
> SampleGrabber
> |
> Color Space Converter
> |
> Video Renderer
>
> Thanks in advance! Pointing me towards a tutorial would be great
also!
> Thanks again.
>
> Nak.
>
>
- Next message: Iain: "Re: "Microsoft DV Camera and VCR" capture filter - Get actual device"
- Previous message: Alessandro Angeli [MVP::DigitalMedia]: "Re: Loading a filter graph rather than constructing one"
- In reply to: Nak: "Creating a filtergraph in code"
- Next in thread: Chris P. [MVP]: "Re: Creating a filtergraph in code"
- Reply: Chris P. [MVP]: "Re: Creating a filtergraph in code"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|