ASF Reader Filter

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Satire (Satire_at_discussions.microsoft.com)
Date: 11/09/04

  • Next message: Rhett Gong [MSFT]: "RE: des and Windows Movie Maker seeking problem"
    Date: Mon, 8 Nov 2004 21:21:01 -0800
    
    

    Hello,

    I have written my own DirectShow source filter to read ASF files. There are
    two
    output pins - Video and Audio. It is a push based source filter like the
    standard WM ASF Reader filter. When I render just the video pin and run the
    graph, voila the video plays fine at real time. Similarly when I render the
    audio pin only and run the graph, audio plays file at real time. However,
    when I render both the pins together, the performance becomes pathetic. I
    deliver the samples to the WM decoder DMO's as soon as I get them. I tried
    few tests
    1. Render both pins and remove the audio renderer and insert the Dump filter
    instead. Video plays fine and the dumped audio also plays fine when played
    back as raw audio.
    2. Render both pins and remove the video renderer and insert the Dump filter
    instead. Audio plays fine.

    I have been struggling with this for the past couple of days but have not
    been able to come up with a solution. The timestamps are perfect as expected.
    Do I need to do some kind of synchronization? Someone please help.

    Thanks,
    Satish


  • Next message: Rhett Gong [MSFT]: "RE: des and Windows Movie Maker seeking problem"

    Relevant Pages

    • Asf Reader DirectShow Filter
      ... I have written my own DirectShow filter to read ASF files. ... When I render just the video pin and run the ... audio pin only and run the graph, audio plays file at real time. ... when I render both the pins together, ...
      (microsoft.public.win32.programmer.mmedia)
    • Re: Problem with audio samples
      ... output pins for audio samples; ... output pins for video samples. ... This filter is added to a filter graph and that graph contains: ...
      (microsoft.public.win32.programmer.directx.audio)
    • Re: ASF Reader Filter
      ... I use separate threads for both the output pins ... for in a ratio of 1:6 (50 audio buffers and 300 video buffers). ... >> when I render both the pins together, ...
      (microsoft.public.win32.programmer.directx.video)
    • Re: Trouble with Audio stream, but the Video works fine
      ... output pins. ... The IO pins I derived from CBaseInput and CBaseOutput pins. ... I have different classes for audio and video pins: ...
      (microsoft.public.win32.programmer.directx.video)
    • Re: DirectShow Video Realtime Ptich
      ... > will allow me to change the pitch of a video in realtime. ... > timestamps in the sample grabber and in an in place transform filter. ... > can't seem to change the rate of the audio and video together. ...
      (microsoft.public.win32.programmer.directx.video)