Re: Creating a filtergraph in code

From: Nak (a_at_a.com)
Date: 06/10/04


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.
>
>



Relevant Pages

  • Re: Saving a .wmm without compression?
    ... > the "blur filter" is only used for rendering still pictures, ... > but not video. ... filter is applied for everyhting or just the stills. ...
    (microsoft.public.windowsxp.moviemaker)
  • Live Source Filter Video and Audio Synchronization
    ... I'am now in the process of creating my live source filter in which the ... filter receives the audio data and video data separately from a network ... I also noticed that upon rendering the Output pins ...
    (microsoft.public.win32.programmer.directx.video)
  • Using in-place transform filters vs. copy transform filters
    ... In Mark Pesce's book "Programming Microsoft DirectShow for Digital Video and Television", Chapter 10, "Writing a DirectShow ... Transform Filter", pg. ... that might be in video memory, can potentially slow the execution of a filter graph significantly. ...
    (microsoft.public.win32.programmer.directx.video)
  • Using in-place transform filters vs. copy transform filters
    ... In Mark Pesce's book "Programming Microsoft DirectShow for Digital Video and Television", Chapter 10, "Writing a DirectShow ... Transform Filter", pg. ... that might be in video memory, can potentially slow the execution of a filter graph significantly. ...
    (microsoft.public.multimedia.directx.dshow.programming)
  • Re: dshow - video transition
    ... It can be done with a custom video filter. ... >> out when video ends) when rendering using the activemovie type library ... >> reduces quality of the video image noticeably. ...
    (microsoft.public.win32.programmer.directx.video)