Can you render a animated gif?

I have been trying to animate a simple gif and can’t there is always artifacts.
So I made another file to test file and still gives me problems.

gif_animation_export_test

What I have been using is just exporting the image sequence and building it somewhere else which is a waste of time.

maybe share your .kra here because it’s ok on my pc
Untitled

Which version of krita and which operating system are you using?
Where did you get ffmpeg from?

I am using:

  • Krita 5.1.3
  • OS: windows 10
  • Ffmpeg from the official site

File:
https://drive.google.com/drive/folders/16QEKPntXP8XbHOcJeou9GMaG-oaPWrhu?usp=share_link

Quite an old bug, related to the redrawing area, I can not find the old topic with the parse. It occurs if the active area of the following frames does not correspond to the initial, most often appears after applying a transformation or layer style.

I don’t think it needs the transformation mask to happen though but with it reflected may animation better.

Even with a transparent background, i have no problems but I did this on linux and slowed it to 12 fps for clarity:

gif_animation_export_test

Do you have the latest formal ‘release essentials’ build from Gyan?

Same settings… Jesus Christ.
I am gonna animate in blender this is too much.

I’ve just tried it on Windows 10 with the 5.1.2-essentials build from gyan and had no problems.
Is that the ffmpeg build that you have?

It looks ok if I open the animated .gif in GIMP. So, a mystery.

I have no idea with out checking I got it last year or the year before. So I imagine I don’t have it. But animated GIFs are a file format that exists for so long is weird to be constantly updating ffmpeg for it. I will try again later already lost a full day trying to figure this out

But yeah I find all weird stuff.

If you render as PNG sequence, is the problem occurs?

Grum999

i don’t understand why you say that, it’s not related to the final file format, ffmpeg is a tool, sometimes with bugs… try update it and see if it works, and tell us :wink:

Also, no issues on my Windows 10 PC, Krita 5.1.3, newest Gyan Build. Your file rendered fine.

Michelist

I still don’t understand enough animation in Krita to comment on it. It just says download your gif and I had to open it directly in Gimp. What I noticed was this:

  1. Only frames 3 and 9 are 50ms, the rest are 40ms;

  2. Only frame 2 is “combine”, from 3 onwards are “replace”. Normally, the gifs I open in gimp are always like “combine”…

The Google Drive link has two files for download, the animated .gif and the .kra file.

24 fps is a frame interval af 41.6 ms so that is probably the average frame duration.
I don’t know why it’s done to a resolution of 10 ms.

Frame 2 of the GIMP import/presentation is actually a replace frame, not a combine frame but I’ve no idea why it’s shown as combine.

I updated ffmpeg and it started working…

3 Likes

From animations I only use Gimp for testing. I didn’t find anything about it in the official manual, on this site I found this:

In GIMP, frame disposal is specified by suffixing the layer name with “(replace)” or “(combine)”. The first suffix option “(replace)” totally clears the previous frame before displaying the current frame. The second suffix option “(combine)” ensures that the current frame is merely pasted over the previous frame. The second option allows you to make cumulative changes over several frames and restrict background content to just one of the previous frames.

I reopened the gif animation in Gimp. In Frame 2, I replaced the text “(combine)” with “(replace)” and exported it as a gif. Check it out:

0a5c73623bb_3

It’s the same as the original, a Replace frame. I’ve no idea why.

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