Re: How to make VMR drop frames in case it is flooded with frames?
- From: Geraint Davies <geraintd@xxxxxxxxxx>
- Date: Thu, 8 Mar 2007 10:02:07 +0000
On 7 Mar 2007 23:43:42 -0800, m... wrote:
Hi friends,
I am using VMR9 to renderer video stream which is received at 30 fps.
The problem is when CPU gets overloaded, VMR9 buffers the frames and
renders them at very slow speed, and when CPU load comes to normal,
VMR just renders buffered frames at very high speed for fraction of
time and then renders at correct fps.
How to avoid this? Is there any option to ask VMR to drop the frames
in case it is flooded by frames and not able to render at proper fps.
thx for help,
m...
Normally, frames are dropped by the filter feeding the VMR (i.e. the
decoder). It usually doesn't make sense to drop frames at the VMR since
rendering is normally a trivial process. However, some video formats do not
lend themselves to frame dropping -- e.g. most AVI and Mpeg-4 streams are
IP only, and without a B frame, you can't skip a decode unless you jump all
the way to the next I frame.
What type of filter is feeding the VMR in your case? Do you have a queue of
uncompressed frames delivered to the renderer or is it (as normal) just one
at once?
G
.
- Follow-Ups:
- References:
- Prev by Date: How to make VMR drop frames in case it is flooded with frames?
- Next by Date: Re: How to make my custom DirectShow filter play nicely in a graph?
- Previous by thread: How to make VMR drop frames in case it is flooded with frames?
- Next by thread: Re: How to make VMR drop frames in case it is flooded with frames?
- Index(es):
Relevant Pages
|