Re: Getting samples from single filter




"Jeremy Noring" <someone@xxxxxxxxxx> wrote in message
news:%23uKBVbgZFHA.2288@xxxxxxxxxxxxxxxxxxxxxxx
work. The filter must be connected to another filter to receive
> samples, unless it's a source filter that generates its own samples. The
> above interface is typically called by pins connected to your filter,
> hence the note about applications not typically using this interface...
>
> I would consider using a sample grabber filter to get samples out of your
> graph. If the sample grabber doesn't meet your needs, I would consider
> writing a custom transform filter that gives you access to the samples as
> they pass through the graph. Can you say a bit more about what you're
> trying to accomplish here? I think there's probably a much more
> standard/elegant solution to what you're trying to do.
>
Thanks guys again. I will explain a little what I intend to do
I want to either decode a video sample or if I have raw bitmap
just put it to stream and save as ASF or AVI file.
The problem is I don't use any input file - just pure data from
other external application that's not using directx.
I also plan to do such with audio samples as well.
Thanks for all your help.

Steven


.



Relevant Pages

  • Re: IGraphBuilder2::FindInterface( ), what actually it does ??
    ... FindInterface builds the upstream part of the graph as a side effect before ... searching for the interface. ... the pF filter you specify. ... created a filter with Crossbar property ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Writing AVI file; stops writing, then graph freezes
    ... that the filter graph isn't working properly. ... > when I try longer files, nothing more is written to the AVI file. ... Finally, after frame 12884, the graph stops ...
    (microsoft.public.win32.programmer.directx.video)
  • WMV file is not being closed properly after being read
    ... The source file is a wmv file in the user's temp ... I am not using my own custom filter in this graph. ... but the WMAsfReader filter does not appear to implement this interface. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: upper filter driver over usbvideo.sys
    ... What confuse me is that I dont know the interface I can use from ... proxy interface support in my upper filter driver? ... An easier solution would be to modify the filter ... control of the graph. ...
    (microsoft.public.windowsxp.device_driver.dev)
  • Re: Need to recompile the program when pluging in custom filters?
    ... its position within the final graph. ... My program can then build the filter ... custom interface, and within the custom interface a function needs to be ...
    (microsoft.public.win32.programmer.directx.video)