Bug 376986 - Export frames : make it faster by not re-rendering a frame that does not changes
Summary: Export frames : make it faster by not re-rendering a frame that does not changes
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: 3.1.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Eoin O'Neill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-27 16:10 UTC by gordie.lachance+dev
Modified: 2020-04-14 19:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gordie.lachance+dev 2017-02-27 16:10:15 UTC
Hi, I don't know if this is possible and I'm sure it's not easy to do, but here is an idea.

Rendering an animation is quite slow, I guess "compiling" a single frame takes some ressources (merging layers, etc).

But when a frame from the timeline has not undergone any change compared to the previous one (no keyframes, no tweens, ...); it should not be re-rendered but only 'duplicated'.
Maybe this could make the render faster.
Comment 1 wolthera 2017-05-23 15:53:33 UTC
This sounds like a good idea, but I cannot imagine how this would be figured out programatically.
Comment 2 Eoin O'Neill 2020-04-14 19:40:14 UTC
This is resolved as of the following commit:

https://invent.kde.org/kde/krita/commit/7db236a20f6dcb7c7a897d0337af6c96dc411cde

Note -- more performance improvements could be possible by sym-linking rendered in-between frames for video rendering, but windows prevents that from being possible due to lack of native (natural) sym-link support. For now, rendering the frame happens once and all duplicate frames are copied from the hard disk and deleted later.