Animation exporting delayed

Im using Krita on windows 10 from Steam and never had this issue before. When I export my animation the mp4 is delayed. I have previously exported many animations in this way and never had a problem.

  • I have verified files on steam
  • Reset computer
  • Tried exporting in different formats (also delayed)
  • Checked the fps (both same on animation and export)
  • Exporting without audio still has the delay

Reddit URL with an attached video of the issue

edit : it now has exported with a note saying the following:

  • Warning:layerId(0) doesn’t support profile(578), change to UNSPECIFIC profile
  • Warning:SliceArgumentValidationFixedSliceMode(), uiSliceNum exceed MAX_SLICES_NUM! So setting slice num eqaul to MAX_SLICES_NUM(35)!
  • Warning:SliceArgumentValidationFixedSliceMode(), unsupported setting with Resolution and uiSliceNum combination under RC on! So uiSliceNum is changed to 16!
  • Warning:bEnableFrameSkip = 0,bitrate can’t be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without enabling skip frame

Can someone please translate what this means?

Hi, I wonder if this is the problem with the video itself, or just the playback. Do you have a second computer to play the video there? Or could you upload it for someone else to try?

I tried uploading the video to show my friends on discord and there it had the same issue. Considering it makes a little notepad with some error code I assume there’s something that happens when exporting it itself, I just dont know what the error means.

Perfect, if others see the same, then indeed there’s an issue with the export itself.

The messages you attached don’t indicate an error per se – they are all warnings. Is there any other log with more information?

I’m not sure what ffmpeg version Krita comes with, but you could try using a stand-alone ffmpeg build and see if that works better. You can get the release binaries from the link below and provide the path to the exe file in the render animation window.

https://www.gyan.dev/ffmpeg/builds/

Im sorry to ask this but what is a ffmeg build and how where do I use the stuff from the link you provided?

So ffmpeg is the software you must use to export the animation from Krita. You can use https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip, and extract it somewhere on your PC.

When you open the ā€œRender Animationā€ window in Krita, browse to the ffmpeg.exe in the bin directory of the files you unpacked (the last field in the window):

Then try exporting the animation again. I checked it on my system, it exported without apparent errors. You can always try this, maybe it would help. If not, we’d have to keep debugging what the real issue is.

So I’m not sure I fully understood but ill write what I did.

I downloaded the thing you linked to and I opened and found ffmpeg.exe in the ā€œrender animationā€ part. This is where I got confused to what I’m supposed to do. I removed the exiting ffmpeg.exe from the ā€œrender animationā€ and put in the one from the download. (this did not fix it but again I’m not sure if that was what I was intended to do). I also tried exporting the animation after downloading the link but it also didn’t fix anything.

@Lauritonas According to your video link in your first post, you already had ffmpeg available at C:/ffmpeg/bin/ffmpeg.exe and of course you used it to render videos.

Note: It is not the recommended build of ffmpeg, which is the release essentials build as stated by @YRH above.

So, who installed that existing ffmpeg build for you?

Where is this note?

Is this an error message on the monitor that appears at some stage?

I assume Krita? I never touched anything of that sorts. When I downloaded Krita like a year or so ago animation was the first thing I began with and I never had any issues exporting.

It ā€œspawnsā€ every time i export. If I delete it a new one just spawns in again on next export. I have all my exports go to my download folder on my pc so it just shows up there as a note with the same name as my krita file.

No, I do not get any error message when in Krita itself, nor when exporting. It just shows up with the mp4.

Also I wanna add that all my previous animations were done on 16 fps and never had any issues. This time I tried 18 fps and ever since the first export just of a sketch it was delayed. I made a separate save file of this animation where I changed it to 16 fps and adjusted everything to work with 16 fps but I still get that erorr note aswell as a delay in the mp4, while on Krita the playback has no issues in 16 fps nor in 18 fps.

Edit on that last thing I wrote. Making it 16 fps DID fix it. What the error note (from 18 fps) told me was that smth about my slice number couldn’t handle it and made it 16 which I assume means that every time I tried to export the 18fps it just forced it on 16 fps and made the delay. Making the Krita animation 16 fps and re-arranging the frames and exporting it on 16fps did make the delay go away, it still gave me an error message which is why I wrote wrongly at first.

So it seems that using 16 fps instead of 18 fps has fixed the problem?

It’s not an ā€˜error message’. It’s a log file and can contain useful information in case of problems.
I believe that the contents are much longer than the extract you posted.
If rendering of the video file failed then you’d see an error message in krita.

Well yes and no. Using 16 fps did make the mp4/export seem fine now but it still gives me the file with errors which it never did on my animations before. I also would still like to be able to animate on higher than 16 fps so I would like to figure out what the issue is.

Also yes there were more text than the ones I sent but I was unsure if it had any computer information that would be sensetive to share so I sent the ones that said ā€œwarningā€ in them. Would you like me to send the entire thing?

That log file is created every time you render out a video file. It used to be tucked away in a temp folder somewhere. Now, it’s been brought out in case someone wants to see it.
You don’t need to worry about it being there.

The log file will contain file path information and probably your PC username somewhere, which may or may not bother you.
Can you make it available using a Google/OneDrive/Dropbox link?

I suggest that you make a test/experimental animation at 24 fps but don’t put much time/effort into making it look good. Just do it for technical test purposes.

I took one of the logfiles from the trashbin as I threw them out after exporting to not have a bunch of them. After multiple exports the 16 fps one stopped writing the ā€œwarningsā€ in the file so I included one without the warnings.

Google documents with the warning log file and one without

I tried a very very small 2 minute animation with 24 fps and it didn’t have any issues when exporting, ill have to test again when I have some more time to do more frames for it.

A log file with the warnings would be more interesting.

The link you gave is a ā€˜collaboration’ link and requires a google account sign in.
When you make the link, there are options for what type of sharing you want and you need to make it universal/public so that someone who doesn’t have a google account can download it.

I see I apologize. Does this work? : Krita warning log file - Google Docs

That link works, thank you.
Those apparent ā€˜problem’ messages in the ffmpeg log are there, in some form, all the time with ffmpeg rendering.

I never understood them and I didn’t read the log unless there was a failure to render or some obvious problem.
The log used to be in a Temp folder but now it’s been placed in the video target folder so I suppose people will start to read it and worry about it.
I’ve no idea what those messages mean.

I notice you render to the Downloads folder.
I’d recommend that you make an empty folder as the target, possibly called ā€˜Rendering’.
If ffmpeg fails and drops out, you will have a large number of intermediate .png frame files in the Rendering folder. Those are a lot easier to get rid of than if they were in the Downloads folder. (You can put the Rendering folder inside the Downloads folder.)

So there is a ban to 18 FPS animations ?
That is a odd situation.

Ohh that is smart, ill make a seperate folder for that then.

Also for an update ive worked alot further on the animation file on 16 fps and never got an error since I changed it. Even tho ive applied effects and the rendering takes some time, never gotten an error. Once im done with this ill try and make something with higher fps to see if i run into the problem I got originally.

1 Like

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