Failed animation rendering, needs help!

I’m using a macbook M2 and the Krita version is 5.1.1. My first rendering was a success, then, whenever I try to render again it fails and gives me only image sequences , what should I do? Thanks!

Hello and welcome to the forum :slight_smile:

When you render to a video file, an image sequence is created for use by ffmpeg.
That sequence is automatically deleted after the video rendering is completed but will be left behind if ffmpeg fails.
Is that what is happening?
Is there any kind of error message displayed?

Is there a significant difference in size or length between the first rendering that worked and the second one that failed?

Did you get ffmpeg from here as recommended in the manual: ?
static FFmpeg binaries for macOS 64-bit

You’ve reduced the default 50% RAM allocation to 23% (3.7GB).
Is that because you have other demanding applications running that need lots of RAM?
Ffmpeg itself needs RAM to operate and render the intermediate .png sequence to video so you may want to investigate how much total system RAM is in use.

Hi Ahab,

  1. Yes that’s what is happening to me.
  2. The error message says: Could not render animation: Unknown error.
  3. The first rendering that works is significantly longer in length.
  4. Yes I get the ffmpeg from the manual
  5. I reduced the RAM after I saw one post here in which they fix the problem by doing that. But not for my case.

Thank you for your time! Looking forward to your reply!

Plus I got the log file which says:

[image2 @ 0x7fa266f04640] Could find no file with path ‘/Users/username/Downloads/frame%04d.png’ and index in the range 1058-1062
/Users/username/Downloads/frame%04d.png: No such file or directory

That %04d is a counting pointer that is used to select consecutive .png image frames for rendering.
The .png image sequence is frame0000.png, frame0001.png, etc.
If one or more of those are missing then there will be a problem.

Can you render to Image Sequence and check for any missing .png files in the sequence?

This has been seen before but I can’t remember what happened there.

I’m surprised that the first rendering, which worked, was significantly longer than the second rendering which didn’t work.
Is that still the case with the .kra file for the first rendering?

Would you be willing to provide the problematic .kra file via a link to a file sharing service or website?
(I’d be happy for that to be only to me using a Message if you don’t want to make it public.)

Hi Ahab, I’ve created a new .kra file and copied in part of the frames of my original .kra. When I try to render this new file, the exactly same thing happened. The first scene(a pond thingy) was rendered successfully, then I tried with the second scene(fire) and the same error message popped up. I check the sequence that left and did not find any missing sequence. I have uploaded in file.io but I failed to find a way to message you on this forum.

If you want to send a direct message to anyone, you click on their profile picture and there will be a large blue ‘Message’ button that you can click on to send a message to them.

Might not make any difference but you could try install ffmpeg via homebrew. It should have apple silicon build. https://brew.sh/
Then type which ffmpeg in Terminal to find install location to put in Krita.


I cannot see ‘Message’ but ‘Portfolio’
anyway my file is on this site

Thanks, I’ll try that

That link leads to a webpage that says, “The transfer you requested has been deleted.”

Here is what I see when I click on your profile picture:

I checked my account preferences and I do allow other users to send me messages.
It may be that because your account is new that you are not yet allowed to send direct messages.
Edit: Pointless question deleted.

Woopsie, that’s probably my bad. Missed the part about the file being deleted once downloaded. :krita_laugh_teeth:
It renders without any issue for me though.

1 Like

It’s one of those ‘super secure and private’ sharing websites.
@emilm Do you use a Mac?

@AhabGreybeard macOS but not a real mac :shushing_face:

I now have the animation. I can play it and render it with no problems on Linux.

While rendering, krita uses 3.2GB of RAM (with cache in RAM) and ffmpeg uses 2.3 GB of RAM.
These amounts may be different on your macOS system.
As such, I’ve no idea why you have a problem rendering on your macOS system.

Can you increase your RAM allocation back up to 8GB (the default amount), quit krita then start it again, make sure that no other applications are running, then try to render it again.

Thanks for the advice, I’ve increased the RAM allocation.
However I seem to have found the real problem here. I tried again with the file I sent you, if my rendering starts from frame 0, it will work. If not, say I start from frame 10 the issue occurs.
I guess that will be how I go around the rendering problem from now on until someone fixes it…
very inefficient though…

Either way upgrade to latest Krita 5.1.3 which was released a few days ago. :+1:

Other things that might not make a difference:

  • Clear out the content in swap file location. (seen in screenshot of your first post)

  • Try the git master version in homebrew.

brew uninstall ffmpeg
brew install ffmpeg --HEAD

(Not sure if it’s precompiled so it might take longer to install.)

Otherwise you could render as PNG sequence and export to video file from Blender or video editor of choice. Or with ffmpeg from the terminal.

Thank you for the help, I will do that.

1 Like

On lInux, I can render with no reported errors starting at frame-10.
(There is a small problem with deleting the intermediate frames which will probably need a report.)

Was your initial problem report for a situation in which you started at frame-0 or has the ‘starting at frame 10’ problem only just been revealed?

What happens if you start at frame-5 or frame-1?

Considering the earlier error report:

image2 @ 0x7fa266f04640] Could find no file with path ‘/Users/username/Downloads/frame%04d.png’ and index in the range 1058-1062

Does that numerical range vary as you vary the starting frame number?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.