none
directshow playback speed issue RRS feed

  • Question

  • Hello,

    I am new to directshow.

    So far I have built a filtergraph myself. It basically consists of GPL MPEG2 Decoder, Demultiplexer, 2 SmartTree, 2 Rendererwindows, 1 Avi-Renderer and openCv Proxytransfilter.

    It works as it should except for the playback speed: It seems as if it runs just as fast as it can.

    I think a timing clock is needed for solving this issue, but I do not know how to get one.

    Could someone please give me some advise or an example?


    Saturday, January 3, 2009 1:18 PM

Answers

  • The problem comes from the fact that :
    - SmartTee previexw samples have not timestamps
    - probably your avi renderer and proxy filter do not care about timestamps.
    So your graph has no "scheduler" ensuring the samples are recieved at the correct time.  

    Try using the InfinitePinTee filter instead of SmartTee.
    Michel Roujansky, http://www.roujansky.com
    • Marked as answer by Markus.15 Sunday, January 4, 2009 2:13 PM
    Saturday, January 3, 2009 2:49 PM
    Moderator

All replies

  • The problem comes from the fact that :
    - SmartTee previexw samples have not timestamps
    - probably your avi renderer and proxy filter do not care about timestamps.
    So your graph has no "scheduler" ensuring the samples are recieved at the correct time.  

    Try using the InfinitePinTee filter instead of SmartTee.
    Michel Roujansky, http://www.roujansky.com
    • Marked as answer by Markus.15 Sunday, January 4, 2009 2:13 PM
    Saturday, January 3, 2009 2:49 PM
    Moderator
  • Thank you very much.

    I replaced the Smart Tee with the InfinitePinTee filters and now it runs perfect.

    Sunday, January 4, 2009 2:16 PM