Directshow beginner question: how to synchronize playtime?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi

I have a computational-intensive DShow transform filter that usually
processes frame at a slower rate than the actual video file frame rate
(the filter is used to process some MPEG video files). Because of this,
I noticed that when I connect the transform filter to the MPEG source
filter and render it, the whole graph takes longer to complete than the
actual MPEG file duration. Is there a way to somehow make the graph
completion rate the same as the MPEG file duration, e.g. by telling the
graph to drop some frames when processing takes longer than the source
framerate or something to that effect?

Thanks!

.



Relevant Pages

  • Re: VMR9 Video Position Bugs ???
    ... You can put a transform filter between the decoder and the render which ... Windowless mode is better though it takes some work. ... Stepping by one frame steps by one frame ... ability to seek streams independently when you have more than one input ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: My BufferCB overrunneth
    ... transform filter with it's own allocater. ... video frame while it's still in memory and then copy the frame to the ... to put another full transform filter of some description downstream from ... The easiest thing to check first is make sure it isn't a off-system memory ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Directshow question: how to get time from currently playing video file?
    ... problem is only apparent when the transform filter is inserted into the ... graph. ... For example, if the video duration is 30s, after 30s onwards ... frame that is being displayed may correspond to the 15th second. ...
    (microsoft.public.win32.programmer.directx.video)
  • Processing video images and writing back partial set
    ... I want to be able to process a video file (whichever is easiest ... format, avi ?),check values of specific pixels in each frame read ...
    (microsoft.public.vb.general.discussion)
  • Re: Video timeline
    ... I have a number of image files I want to process in MATLAB and save as a ... video file. ... Use AVIFILE, set the FPS parameter, and add sufficient copies of each movie ... frame to the AVI so that the frame appears for the desired length of time. ...
    (comp.soft-sys.matlab)