[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: excessively slow image animation

From: Daniel Pittman
Subject: Re: excessively slow image animation
Date: Tue, 26 Feb 2019 16:18:21 -0500

On Wed, Feb 13, 2019 at 9:56 AM Evgeny Zajcev <address@hidden> wrote:
I've got multi frame image at http://lgarc.narod.ru/giphy.mp4
18 seconds to show every frame

Time to fully extract the images from that (cold cache) on my laptop was ~ 30 seconds.  It contains one key frame, the very first, and everything else is a P frame, so to decode frame 20 you need to run forward applying 19 frames worth of data from the start.

If the components were being cached or generated independently – highly likely, I suspect – then that time-cost would be paid the first time.  A grand total of 18 seconds to do that processing doesn't actually sound unreasonable to me, honestly, given that decoding all those frames in individual processes takes ~ 5.35 seconds total on my machine.  It wouldn't take much inefficiency on top of that to bring it up to that rate.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]