Problem with skipped frames
- From: "PeLi" <chaitanyo@xxxxxx>
- Date: 20 Nov 2006 09:08:17 -0800
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
.
- Follow-Ups:
- Re: Problem with skipped frames
- From: Alessandro Angeli
- Re: Problem with skipped frames
- Prev by Date: Re: Confusing message from GraphEdit
- Next by Date: Re: Confusing message from GraphEdit
- Previous by thread: video data chunks in avi file
- Next by thread: Re: Problem with skipped frames
- Index(es):
Relevant Pages
|