Re: frame drop in render filter

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



Thanks for the reply.
I set 0 for timestamp in the source filter.
Is it possible that the decoder set some timestamp, and renderer
filter might discard frames based on timestamp?

There should be no CPU problem. If I don't media player, which will
use the same decoder filter and renderer filter, but different source
filter, there was no frame drop.

And the output frame of the decoder should not be too large either.

On Feb 21, 11:40 am, Tim Roberts <t...@xxxxxxxxx> wrote:
rushier <wxiaod...@xxxxxxxxx> wrote:

   I noticed some frame drops between the decoder filter and the
screen update in my filter graph (the number of decoder outputs is
larger than the number of screen updates.) Can someone help?
   I don't know under what situation the render filter will drop
frames. Is it possible that the time stamp set by the decoder are not
good enough?

"Not good enough?"  What does that mean?

The renderer drops frame if it believes the time stamp for a frame to be
rendered has already passed.  Are your frames large?  Is it possible you
are running out of CPU power?
--
Tim Roberts, t...@xxxxxxxxx
Providenza & Boekelheide, Inc.

.



Relevant Pages

  • Re: Interleaving video and audio; GetCurrentPosition problems
    ... recording should occur as fast as the decoder can ... > provide frames to the filter, ... BLock in the FillBuffer HOWEVER YOu do it until your next frame is ready. ... > * Decoder finishes decoding frame ...
    (microsoft.public.win32.programmer.directx.video)
  • DirectShow, Video Renderer and DirectDraw driver on Windows CE 5.0
    ... I have been developing a video decoder filter for a while already. ... the basic DirectShow Renderer, ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: VMR9 and frame accuracy
    ... Decoder -> VMR9 ... stream and the application I'm currently working on ... Renderer I had no problems with frame accuracy. ... null-in-place transform filter that is blocking ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Problems rendering RGB decoder output
    ... I'm still trying to write a DirectShow filter that decodes MPEG video ... By right clicking on the decoder output pin "Render Pin" is greyed out. ... If I try to connect to a renderer manually it adds another MPEG decoder ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Interleaving video and audio; GetCurrentPosition problems
    ... That blocked FillBuffer in the middle ... recording should occur as fast as the decoder can ... provide frames to the filter, ... know when the filter is done with the previous frame, ...
    (microsoft.public.win32.programmer.directx.video)