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

Animation Help?

Tags: None
(comma "," separated)
LICM
Registered Member
Posts
4
Karma
0

Animation Help?

Thu Jul 04, 2019 8:22 am
I'm having trouble rendering a basic animation I've made in Krita. I can render into a gif using FFmpeg just fine but there's one problem; it seems to keep the red onion layers. Instead of two lines of steam just bobbing up and down it shows all the layers and red lines but also turned them pink. When I play it in Krita it looks fine. Pls help! Here's what it looks like: https://sta.sh/01kyu14bip3c
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Animation Help?

Thu Jul 04, 2019 8:49 am
I have a feeling that those are not onion skins. What does it look like if you render it out to a .mp4 file?

Can you post a link to your original .kra file for examination?

Also, what is your operating system and which version of krita are you using?
LICM
Registered Member
Posts
4
Karma
0

Re: Animation Help?

Thu Jul 04, 2019 9:06 am
ahabgreybeard wrote:I have a feeling that those are not onion skins. What does it look like if you render it out to a .mp4 file?

Can you post a link to your original .kra file for examination?

Also, what is your operating system and which version of krita are you using?


When I rendered it into mp4 Windows Media Player said it couldn't be opened and when I played it in another media player I have it was all black and a little glitchy.

How do I share my krita file?

I'm on Windows 7 and Krita 4.1.0.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Animation Help?

Thu Jul 04, 2019 9:37 am
Krita is at version 4.2.2 now so it would be a good idea to update it. I'd suggest that you try the portable version first from here: https://binary-factory.kde.org/job/Krit ... ows_Build/ Download the .zip version, not the -dbg.zip, Extract it, go into the resulting folder and use the 'krita' shortcut to run it.

Your ffmpeg installation needs to be updated to a good and recent one, in accordance with the recommendation in the manual: https://docs.krita.org/en/reference_man ... animations

Go to here: https://ffmpeg.zeranoe.com/builds/ and get the 4.1.3 static build for your architecture, store it somewhere on your computer and point to it from within the krita render window.

Windows Media Player often has problems and the VLC player is preferred by many people: https://www.videolan.org/

You can share any file by using Dropbox or similar, if you have it, or you can use one of the many website based filesharing services. For quick and simple sharing, I use https://uploadfiles.io/ but it has a slow download, which is not a big deal for small files.
LICM
Registered Member
Posts
4
Karma
0

Re: Animation Help?

Thu Jul 04, 2019 9:52 am
ahabgreybeard wrote:Krita is at version 4.2.2 now so it would be a good idea to update it. I'd suggest that you try the portable version first from here: https://binary-factory.kde.org/job/Krit ... ows_Build/ Download the .zip version, not the -dbg.zip, Extract it, go into the resulting folder and use the 'krita' shortcut to run it.

Your ffmpeg installation needs to be updated to a good and recent one, in accordance with the recommendation in the manual: https://docs.krita.org/en/reference_man ... animations

Go to here: https://ffmpeg.zeranoe.com/builds/ and get the 4.1.3 static build for your architecture, store it somewhere on your computer and point to it from within the krita render window.

Windows Media Player often has problems and the VLC player is preferred by many people: https://www.videolan.org/

You can share any file by using Dropbox or similar, if you have it, or you can use one of the many website based filesharing services. For quick and simple sharing, I use https://uploadfiles.io/ but it has a slow download, which is not a big deal for small files.


Okay, I'm updating Krita now.

I already have the newest/correct version of ffmpeg.

And I used the site you shared, hope I did it right: https://ufile.io/3j7jv4nv
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Animation Help?

Thu Jul 04, 2019 10:24 am
I got your animation .kra file ok. You have a transparent background and that is causing problems. I put a simple coloured layer under your animated layer and it rendered out ok to an animated .gif.

You have an odd number of pixels horizontally and .mp4 doesn't like that so I rescaled it to 974 wide and that renders out to .mp4 but does not show animation, it's static. This is strange since a simple animation I made yesterday has no problems rendering out to an animated .mp4.

Anyway, it looks like putting a fixed coloured layer under it will give you a good animated .gif output.

If I figure out why your particular animation won't render out properly to .mp4 then I'll let you know. It's a puzzle. Do you find the same thing?
LICM
Registered Member
Posts
4
Karma
0

Re: Animation Help?

Thu Jul 04, 2019 10:41 am
ahabgreybeard wrote:I got your animation .kra file ok. You have a transparent background and that is causing problems. I put a simple coloured layer under your animated layer and it rendered out ok to an animated .gif.

You have an odd number of pixels horizontally and .mp4 doesn't like that so I rescaled it to 974 wide and that renders out to .mp4 but does not show animation, it's static. This is strange since a simple animation I made yesterday has no problems rendering out to an animated .mp4.

Anyway, it looks like putting a fixed coloured layer under it will give you a good animated .gif output.

If I figure out why your particular animation won't render out properly to .mp4 then I'll let you know. It's a puzzle. Do you find the same thing?


Yes, adding a background seems to have fixed it! Sucks that I can't have it completely transparent but it's better than nothing! I even got away with just a circle in the middle: https://sta.sh/016awrisbamy

Thank you so much for your help! Not so sure about the .mp4 stuff, though.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Animation Help?

Thu Jul 04, 2019 11:02 am
I'm glad it's working for you. I rendered it out as .mkv and that plays fine but I've no idea why the .mp4 doesn't play.

I imported all the frames from the .mp4 output file and they imported fine, showing as the original frames, playing ok in krita but if this was rendered out again as .mp4, it gave a static display in VLC. It's one of those mysteries that happen now and then.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Animation Help?

Thu Jul 04, 2019 12:16 pm
It seems that .mp4 can't handle frame rates of less than 6 fps and .mkv can't handle frame rates of less than 3 fps. This may be a VLC player thing but importing the frames back in from .mp4 shows dropped frames for all frame rates less than 6 fps with more frames missing as the frame rate is lowered further.

I don't know if this is a general .mp4 thing or a krita-ffmpeg-whatever thing.


Bookmarks



Who is online

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