Animation with transparent bg

Hey, I was wondering whether Krita will have the ability to export transparent mp4s? I do animation on krita, and I sometimes NEED the background to be transparent in my mp4, or GIF.
But, It doesn’t work. It just creates a black background.
I REALLY hope Krita could get transparent animation bgs, because If not, I might just have to switch programs

:slight_smile: Hello @CoryXVbloom and welcome to the forum!

I believe that MP4 does not support transparent backgrounds, but may be wrong because I don’t animate. But you can use APNG instead if I understand this topic correctly:

Please excuse that I’ve moved your topic to a different category that better fits your concern, because your question is not in the development-area.

I hope you’ll find an answer in the topic I linked above, and if not, then please feel free to tell those who’ll help you further where you get stuck or what does not work briefly. In order to help you, they will also need your OS and the version of Krita you use.

Michelist

1 Like

@CoryXVbloom As @Michelist pointed out, this is not a Krita problem, MP4 simply does not allow transparency.

You might find a solution in the following article. It tells you what kind of software you need to edit your MP4 to add transparency. I’ve never used this, just sharing what I found.

I don’t know if the first solution offered there may be free of charge, but the price-tag of solution two and three is hefty if you only want to remove a background once in a while.

But the OP’s question it is not about removing the background from existing animations, it is about to create animations in Krita with a transparent background, or more exact, how or in which format to save an animation in Krita to preserve the transparent background one has made its animation with. And that should be possible with APNG and WebP.

Michelist

1 Like

I just asked our all-knowing search function, and it gave me some additional topics that say you can also use GIF and WebM. Also, there’s a video about animation with Krita that I think covers this topic as well, you can find that in our Resources category:

Michelist

1 Like

I’ve tried it with all possible files, but when moving it into capcut, the background is black. HOWEVER, when in WebP and in adobe premiere, it is transparent, but the fps drop to 3, while originally 24.
I tried everything, And I am going insane-
I need to render my animation, no background, so I can edit it in other programs

Have you tried .apng as an animated file format?
Have you tried a .png image sequence output?

If I understand the topics I linked correctly, then the main issue are the programs used to view these animations. Only a few of them seem to be able to show the transparent background correctly.

Similar to the color issues... (click here)

This sounds to me very similar to the color problems that some users think they are having. Even in their case the problem is not with Krita or their screens, in the case of color the problems are also programs using different methods to display the images they show. Then add to that uncalibrated and different displays. And that makes hordes of users unhappy, they then think they’ve done something wrong or Krita is broken, they think their artwork is ruined or other horrible things, even though the problem doesn’t exist. At least not with those or Krita.

Michelist

A common video format with alpha channel is .mov (there is no such format in Krita, but your editor can probably create it from .apng or .png sequence), but when you look at it closely, for the alpha channel to work .mov must be saved with .png lossless settings (the .avi container also has similar settings). Whichever format of video you take the preservation of quality and alpha channel will lead to a heavier file and a high load on the PC when playing it, especially in the editing stage in conjunction with other files. That’s why most editors rely on caching merged frames for playback

3 Likes

I have exported animation as GIF and the background has been transparent. Premier Pro accepted it OK and the frame rate didn’t seem to change. It was a super short looped hand wave though so I’ve no idea if that made a difference but I’m sure I would have noticed if it was playing back at 3fps??
If the black background is stubbornly refusing to go away, would it work to chroma key it away in the editing programme? I’ve never used CapCut but it looks like it has the chroma key function. Of course, anything else black would vanish too, but it may be an option if only the unwanted background is black?

1 Like

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