Re: use Oscilloscope filter programmatically

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Alessandro Angeli [MVP::DigitalMedia] (nobody_at_nowhere.in.the.net)
Date: 03/16/04

  • Next message: Alessandro Angeli [MVP::DigitalMedia]: "Re: IVideoWindow::put_FullScreenMode"
    Date: Tue, 16 Mar 2004 21:50:05 +0100
    
    

    Alan wrote:

    > I have to preview my video created by DES with the
    > oscilloscope. Directx help ask us to use oscilloscope
    > filter in graphedit, but how can I call the filter
    > programmatically?

    If you mean "create an instance of it", any way you like: it
    depends on how you package your COM object. If you package
    it as a self-registering COM server in .ax file, register it
    an use CoCreateInstance(), like most of the sample do.

    > How can I add the filter the the graph?

    IFilterGraph::AddFilter() or IGraphBuilder::AddFilter().

    > BTW, how can I define my CLSID for oscilloscope?

    GuidGen.exe in the Platform SDK or VisualStudio and other
    SDKs.

    -- 
    /**
     * Alessandro Angeli
     *
     * MVP :: Digital Media
     *
     * a dot angeli at biosys dot net
     */
    

  • Next message: Alessandro Angeli [MVP::DigitalMedia]: "Re: IVideoWindow::put_FullScreenMode"

    Relevant Pages

    • Re: Stupid GraphEdit!
      ... >> filter. ... However, as I wrote, I could only test it with fake ... Alessandro Angeli ... a dot angeli at biosys dot net ...
      (microsoft.public.win32.programmer.directx.video)
    • Re: a problem on the CoInitialization
      ... your HRESULT is ... What filter is CLSID_FileSource supposed to be? ... Alessandro Angeli ... a dot angeli at biosys dot net ...
      (microsoft.public.multimedia.directx.dshow.programming)
    • Re: directshow + vbr mp3
      ... >> Like WMP or Winamp. ... they use own filter, but what this filter ... > * Alessandro Angeli ... > * a dot angeli at biosys dot net ...
      (microsoft.public.win32.programmer.directx.audio)
    • Re: Video transform filter
      ... missing DLL that caused the problem. ... >> I derived my filter from CVideoTransformFilter. ... > * Alessandro Angeli ... > * a dot angeli at biosys dot net ...
      (microsoft.public.win32.programmer.directx.video)
    • Re: How to get WMP control to play AVI loaded into memory (not from a file etwork etc.)
      ... I am still missing the connection of the filter to the WMP control I'm ... > Alessandro Angeli ... > a dot angeli at biosys dot net ...
      (microsoft.public.windowsmedia.sdk)