I can not use ffmpeg to change my animation's file extension

Hello, I am a new user of krita! I want learn how to make a animation, and I did. Then I listened to some suggestions on Youtube, I downloaded this ffmge,(I just find this window builds)
I installed and used ffmge according to the above method to change the file extension of the animation I made, so I can upload it to Google classroom; but krita is automatically closed immediately, and I only got a text, and a video of up to 0 seconds And there is only one white screen; and I use other way like this


and it is just give me this setence…and give me nothing…
I am doing my NCEA, and I really love krita, so please help me to solve this problem! Thank you very much!

Hello and welcome to the forum :slight_smile:

You don’t use ffmpeg from the command line to render a krita animation.

Krita uses ffmpeg from inside itself when it is running and has an animated .kra file open.

Just to be sure, I suggest that you download ffmpeg from here:
https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-4.2.2-win64-static.zip

(This is for Windows on a 64-bit computer, which you probably have.)
Unzip (Extract) it and store the resulting folder in some convenient location.

The krita manual has a section about rendering animations here:

If you follow the instructions there and try again you should find that it works.
Please try this and come back with more information if you have any problems.

1 Like

Thank you for your reply.:grinning: I re-downloaded ffmpeg using the link you gave me, and used krita’s render video, but I still have the same problem; after pressing the OK button, krita closed itself, and then these files and a 0 second appeared Bell mp4.


Could you help me?:sweat_smile:

It seems you have chosen to render out to Both which produces a .png image sequence and also an .mp4 video file. This is ok but for an animation with a large number of frames then you will have a large number of image sequence files which probably won’t be of much use to you.
I suggest that you select Video instead of Both.

The two image sequence files should be called frame0000.png and frame0001.png.
I don’t understand why the second one is called frame-001.png. That is strange.

It looks like there was a serious problem after two frames were produced.
Was any error message shown before krita closed itself?

How many frames are there in your animation?

What do you mean by ā€œBell .mp4ā€? I see a file called ā€˜Start.mp4’.

The file called log_encode.log may contain useful information but may have lots of text so can you post a link to that via a file sharing service (Dropbox, a pastebin, or whatever you prefer to use).

When you say, ā€œafter pressing the OKā€ button, do you mean the ā€˜OK’ button on the ā€˜Render Animation - Krita’ window?
It would be useful to post a screenshot of that window before you press the OK button.

In the ā€˜Render Animation - Krita’ window, have you set FFMpeg to point to the location of the recently downloaded ffmpeg.exe?

Can you post a screenshot of your entire krita window with Start.kra open and with the Timeline docker, Animation docker and Layers docker visible? This is always useful to see.

1 Like

I’m really embarrassed, I discovered the reason! Because when I exported the video, I didn’t set the start and end time of the time! My krita was automatically closed before without any error message; but when I set the time, the problem was solved. Thank you for your help! If you need that txt. files I can upload it!

This kind of mistake is very common with new users who are not familiar with animation rendering in ktita.
There is no problem so there is no need to provide the log_encode.log file.

1 Like

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