This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't Render or Save Animation Frames

Tags: None
(comma "," separated)
fiftysquiggly
Registered Member
Posts
12
Karma
0
Hi,

So I sent a message in to tumblr regarding this (and I see others have as well, via the Tumblr response feed), but there seems to be a major issue with Krita and animation rendering. Quite simply, I can't save my animation frames or render them. Whenever I try to render my animation or export the frames, it will hang for a while and then produce an error: "Failed to render animation frames!".

I waited for a short while to send this in, as I hoped that it might be fixed in versions following the 4.0.1 version I had, but I am on 4.0.4 now and it is still occurring.

Any information on a resolution regarding this would be helpful, as it makes it impossible to work with animations in Krita.
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Hey, I am also the person who deals with the tumblr, but the forum is just much easier to go through a checklist of things(especially because others can pitch in with ideas).

Okay, so there's some things we can do to diagnose:

1. What kind of animation is it? Like, the amount of frames, the pixel dimensions, the color depth.
2. Can you show a screenshot of the render animation dialog? You can just upload it to pasteboard.co or imgur and paste the link here.
3. There should be a couple of log files where you tried to save the file. They are text files, can you open them in notepad, and copy-aste the contents here? Then we should be able to see the error FFMPEG created when trying to render.
fiftysquiggly
Registered Member
Posts
12
Karma
0
Hi Thera,

Thank you very much for your quick response!

The animation is 69 frames atm, but I am trying to export frames 12 - 69. I don't know anything about the color depth. I am somewhat new to all of this. Everything so far is black and white, I've added no color, and my settings in Krita are default (except for the "Canvas Acceleration" settings as Open GL causes the Krita brush to lag).

My original canvas when sketching is 7500x8500, but I drop it to 1/3 of that when exporting (2500x2833)

It does not create any sort of log file when it fails to export the animation. It will generate 8 - 11 image files of the first 8 - 11 frames, but then it will stop and create nothing else. Here is a screenshot of the error that pops up, however - you can see it in the upper-left hand corner of the canvas:

https://cdn.discordapp.com/attachments/ ... nknown.png

Thanks!
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Hm, that is weird indeed. If there are some frames rendering, my first instinct would be to check if you have space left on the harddrive? And if you open the task manager(ctrl+alt+delete) and try to render, does something weird happen to the RAM/Working memory?

You image color depth is 8bit per channel, btw (it's in the status bar :) )
fiftysquiggly
Registered Member
Posts
12
Karma
0
Hi Thera,

I know it is not the disk drive as I have plenty of space available.

I checked Task Manager when attempting to render. My CPU usage went from about 3% up to 58%. It is at that point that the "Saving frames" dialogue box disappears and is replaced with a "Waiting for image operation to complete" dialogue box. Then the "Failed to render animation frames!" box pops up in the upper-left. No log file or anything - just the png images of the frames it managed to create before failing.

I will post some screenshots here:

My disk space:
https://cdn.discordapp.com/attachments/ ... nknown.png

Task Manager before attempting to render:
https://cdn.discordapp.com/attachments/ ... nknown.png

Task Manager while rendering (and failing):
https://cdn.discordapp.com/attachments/ ... nknown.png

The full rendering and failing process in Krita:
https://cdn.discordapp.com/attachments/ ... nknown.png
https://cdn.discordapp.com/attachments/ ... nknown.png
https://cdn.discordapp.com/attachments/ ... nknown.png (Failed to render animation frames! appears in top left)

No log files are created when this happens.

Thank you very much for all of your help regarding this! You've been more than kind and helpful with this.

Oh, and thanks for pointing out where to locate the color depth! :)
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
hm...

There's seems to be some action (second to last screenshot) preventing the animation from rendering.

So, the guy who programmed the animation rendering thinks we should look at the following:

1) Does it happen when you open the image anew?
2) if there is some special range of frames that doesn't want to export
3) does exporting work fine with other files?
4) does it happen with smaller files? Like, if you would resize this file to a quarter of the size, does it work?

It seems there is a frame timeout in place meaning that if saving a frame takes longer that 10 seconds(this is very slow for a computer), it'll cancel the rendering.
fiftysquiggly
Registered Member
Posts
12
Karma
0
TheraHedwig wrote:hm...

There's seems to be some action (second to last screenshot) preventing the animation from rendering.

So, the guy who programmed the animation rendering thinks we should look at the following:

1) Does it happen when you open the image anew?
2) if there is some special range of frames that doesn't want to export
3) does exporting work fine with other files?
4) does it happen with smaller files? Like, if you would resize this file to a quarter of the size, does it work?

It seems there is a frame timeout in place meaning that if saving a frame takes longer that 10 seconds(this is very slow for a computer), it'll cancel the rendering.


May I ask what you mean when you ask "does it happen when you open the image anew?"? Are you asking what happens if I restart Krita and reopen the file?

I will try to test some of that tomorrow later today (going to bed now lol). Thank you so much for your help regarding this! I will update this soon.
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Yes, restarting krita, or just not having done any other action beyond opening the file.

To be honest, this actually helps us as well, because it allows us to see where people get stuck and whether it might be a bug or if we can improve usability :)
fiftysquiggly
Registered Member
Posts
12
Karma
0
Hi Thera,

I now have the answers to the questions you've provided to me:

1) Does it happen when you open the image anew?
Yes

2) if there is some special range of frames that doesn't want to export
Not that I have noticed. I've tried changing the frame range and it seems to happen with ANY range that is larger than, say, 5 frames

3) does exporting work fine with other files?
It works fine with still image illustrations. It does not work with ANY animation. I tried creating a whole new animation of 30 frames from scratch - empty frames with a circle on it just for testing - and it does the same thing.

4) does it happen with smaller files? Like, if you would resize this file to a quarter of the size, does it work?
It still happens with smaller files. I tried dropping the resolution to 1/3 of what it was and the same thing still happens.

In addition, it is worth noting that Krita seems to use a lot of RAM from the onset. Idling, Krita uses 6 - 10 gigs of RAM. When I try to render an animation, CPU and RAM usage ramps up. It seems that Krita is using an awfully large amount of resources.
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Okay, that's weird.

We changed animation a bit in 4.1, and released a beta yesterday(check the news post). Our animation rendering guy is wondering whether it'll make a difference because he still suspects there might be something going on with your resource usage making a difference.
fiftysquiggly
Registered Member
Posts
12
Karma
0
Hi Thera,

I will download the BETA tomorrow evening and test it out! I am actually leaving for work now so I can't immediately test it but I will let you know tomorrow evening/Sunday morning if it made a difference.

Thank you very much! :)
fiftysquiggly
Registered Member
Posts
12
Karma
0
Hi Thera,

So I tried out the nightly build which on startup is labeled as the 4.1 beta2 if I remember right. The issue still occurs.

Thanks!
jdinjens
Registered Member
Posts
1
Karma
0
hiyaa,

I've also been unable to render my animations. I've followed the steps in the tutorial on the website, but after everything i've tried none of the videos are playable in any sort of way. theres alway an error message. And i've tried every format or program to play the file in, but it keeps failing.
Thank you for helping out,
sincerely,Julie
fiftysquiggly
Registered Member
Posts
12
Karma
0
Hi there,

Will there be any updates regarding this?

Thanks!
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
I don't know, I've been trying to ask the animation rendering person for more ideas, but it seems he was ill this week.

jdinjens wrote:hiyaa,

I've also been unable to render my animations. I've followed the steps in the tutorial on the website, but after everything i've tried none of the videos are playable in any sort of way. theres alway an error message. And i've tried every format or program to play the file in, but it keeps failing.
Thank you for helping out,
sincerely,Julie


This one is seperate from Squiggly's.

https://docs.krita.org/en/reference_man ... -animation
By default, FFMPEG will render MP4 files with a too new codec, which means that windows media player won’t be able to play it. So for windows, select “baseline” for the profile instead of “high422” before rendering.


So go to render animation, then press the "..." and change the profile to 'baseline'.

Squiggly's issue is that the frames don't even export, and I can't for the life of me figure out why.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell