Problem with skipped frames



Hi every one,

I have build a video-decoder transform filter. This filter seems to
work fine in the MediaPlayer when I replay *.avi files with my own
FourCC code, which my decoder filter is registered for.
The "transform" function of my filter, which is loaded into the
MediaPlayer-Graph receives buffers with video-frames in form of a
"MediaSample".

Now I discovered, that the MediaPlayer does not send EVERY SINGLE
MediaSample to my filter. Some MediaSamples seem missing. Since my
decoder (H.264) works with temporal compression, a missing Sample
(video frame) messes up the decoding of all following frames.
I can prove that frames are missing, because the "Frame Number" (part
of the encoded bitstream) in the samples is not continuously.
Surprisingly though, calling the method
VideoTransformFilter->IsDiscontinuity() ALWAYS returns FALSE, and
VideoTransformFilter->GetMediaTime( pStartTime, pEndTime) shows
continues timing.
Can anybody explain this behaviour, and maybe knows how I can encorce
a "non-skipping" policy.

Regards
Peter

.



Relevant Pages

  • Re: Problem with skipped frames
    ... I have build a video-decoder transform filter. ... that the MediaPlayer does not send ... I can prove that frames are missing, ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Adding seeking capabilities to async reader sample
    ... MediaPlayer allow seeking using the same Splitter filter with another ... I want to use async reader sample, from DirectX SDK, to ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: writing decoders for custom formats
    ... But when we tried to plugin the DMO into the MediaPlayer ... exits with an error saying unable to load the filter. ... decoder DMO into Media Player. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: writing decoders for custom formats
    ... But when we tried to plugin the DMO into the MediaPlayer it was ... load the filter. ... How do we avoid this problem, and let the MediaPlayer ... Also how would like to know how to plugin custom MP3 decoder DMO into ...
    (microsoft.public.win32.programmer.directx.audio)
  • Encoding residual (LPC on speech signal)
    ... samples -- at 8kHz sampling rate), I compute the optimal prediction filter, and then apply that filter to the signal is the optimal prediction filter). ... entire frame with, say, 10 or 20 values, that's much better than ... I notice that the residual consists of a few peaks plus noise, ...
    (comp.dsp)