Skip to main content
Participating Frequently
July 20, 2020
Question

Can't get video composition transparency working with AVI format. Help please.

  • July 20, 2020
  • 1 reply
  • 5348 views

Can someone please assist.  I've been using after effects on and off for a few years but have never experimented much in the exporting/rendering options.  I can get the transparent background working with Quicktime format, but I need this in AVI format.  I have tried Lossless with Alpha in the output module but it still has the comp colour in the background.  You can see that toggling the transparency grid on the comp shows the transparent background.  

Thanks in advance, 

Jen

This topic has been closed for replies.

1 reply

Mylenium
Legend
July 20, 2020

You seem to have several misunderstandings here.

 

a) Transparency is not an automatic thing. In fact very few CoDecs even support it, in particular in AVI-Land. You need to check the "Format Options" and verify that it's set to RLE or Uncompressed. Since many AVI-CoDecs also limit color range drastically or are heavily compressed, you may want to switch to other formats. Ultimately the lack of suitable CoDecs is why Quicktime was so popular for a while. these days your options include e.G. ProRes or image sequences, naturally.

 

b) Transparent stuff will always have a fill. Transparency is about interpretation just as much as how it's generated. Viewing images or videos outside apps/ viewers that support transparency is therefore pointless and no way to verify your output. Likewise, depending on the format you may still need to enable transparency in professional processing programs and set the interpretation accordingly. Or in simple terms: Transparency generated in AE may ultimately only show up in AE, Premiere, Photoshop or other such programs, but not on your desktop.

 

Double- and triple-check all these things and draw your conclusions. If that doesn'tz fix it, some info about your project and your workflow might clarify matters and allow people to advise specifically.

 

Mylenium

Participating Frequently
July 20, 2020

You are making presumptions.   I am checking the transparency by reimporting the footage into After Effects.  Of course I am not checking the footage on my desktop. I specified that I can get transparency working with Quicktime used with the RLE codec for transparency so it should be obvious that I am aware of the transparency working or not.  

 

The format options were already set to AVI none which supports the alpha channel.  What am I supposed to triple check and draw conclusions from?  The only advice you specified was to change the format options to uncompressed.  And what is this exactly?  All video codec options for AVI except 'None' do not support 4 channels, well some support only alpha without the RGB which is not what I need.

 

There is no complex project going on.  It's an imported png illustrator file using the usual keyframed options with some puppet pin tools usage with no solid background layer which would clearly impede transparency..  I don't see how this is relevant to what codecs and exact settings support transparency.  You can clearly see from the screenshot that the transparency grid is on, meaning, the composition supports transparency, or should do given the settings specified in the render queue.

Participating Frequently
July 21, 2020

If you are using the Preset and you don't get an alpha channel then I don't know what to tell you. If you are customizing the Output Module settings - and that's what your screenshot tells me you are doing, then something else could be going on.

 

If you use comp background as a Color that is not black and your renders show the color you still may have an alpha channel. I occasionally change the background color of a comp when I'm doing a demo of how the color modes work with alpha channels, but that's about it.

 

What does the Info say about your render? I'd love to see a screenshot like the ones I posted.

 

If you want to create a custom template that will give you a file with 10-bit color if your comp is set to 16-bit or better, an alpha channel, and a fairly reasonable file size use the GoPro Cineform codec and Straight for color. In the tens of thousands of render, I have made over the last 25+ years I could probably count on one hand the times when setting Premiultiplied gave me a better result and it required setting a specific background color to help with the footage I was using for the background. The preset should look like this and you should use the Edit menu to save it as the second item in your Presets folder. 


Hello Rick,

Apologies for the delay in posting this screenshot.

I followed your advice to alter the colour to Unmatted and hey presto it has worked!  That is honestly the only aspect of the render settings I changed.. I spent all day on this yesterday and after running one render tonight it has worked!  Brillliant.  Thanks for the other advice above too.

Jennifer