Re: How to make VMR drop frames in case it is flooded with frames?



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
.



Relevant Pages

  • Re: How to make VMR drop frames in case it is flooded with frames?
    ... 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, ... frames are dropped by the filter feeding the VMR (i.e. the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: How to make VMR drop frames in case it is flooded with frames?
    ... 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, ... is unlikely to be providing more than a handful of frame buffers, ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: farming out a render?
    ... Anyone had any experience of paying for LW renders? ... damn client wants 5 ... times as many frames as i got time to render and it would be just AWESOME ... I really should try get my head round screamernet tooo, ...
    (comp.graphics.apps.lightwave)
  • farming out a render?
    ... Anyone had any experience of paying for LW renders? ... damn client wants 5 ... i could send someone my scene and get the frames back! ... I really should try get my head round screamernet tooo, ...
    (comp.graphics.apps.lightwave)
  • How to make VMR drop frames in case it is flooded with frames?
    ... 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, ...
    (microsoft.public.win32.programmer.directx.video)