Skip to main content
Participating Frequently
November 4, 2024
Open for Voting

Replace Transparent Background

  • November 4, 2024
  • 10 replies
  • 602 views

It would be great to get the possibility to set a background color when rendering a video with a transparent background.

 

e.g.

My primary output is a transparent ProRes video, but i also want a mp4 with a white background.
It would be nice to set the background color inside the render preset.

10 replies

Warren Heaton
Community Expert
Community Expert
December 3, 2024

Simon,

I'd gotten too used to how things behave when we export from After Effects directly rather than sending a Comp to Media Encoder.

Having an option to set a background color - espcially associated with a Preset - would be very helpful.  I upvoted your idea.

 

 

- Warren

 

 

EckiAME
Community Manager
Community Manager
December 3, 2024

I have covered your AME feature request in a ticket, with a link to this thread.

wimmer.sAuthor
Participating Frequently
December 2, 2024

I would like to have the checkbox and colorpicker inside Media Encoder.

It surely must be a good solution without big issues (like an solid background from After Effects).

 

To make a solid background is one solution. But it could be cumbersome when you have several compositions to export and need always two versions (transparent .mov and a .mp4 with background).

Community Expert
December 2, 2024

If you want a feature like this to work on all codecs, a switch or checkbox must be added to the render options. Alpha channels render black with some codecs. Setting the background color does not add pixels. It only affects the color tint of anti-aliased edges of the transparent edges of the render when Pre-multiplied with Alpha is selected in the render options. Straight Alpha is a better option unless you have kept the background color black.

 

The simplest solution is to add a solid to create a colored background. This solution also solves the edge tint problem on transparent layers above the background without throwing any switches. 

 

As Warren Heaton said, setting the background color to white will give you a white background with some codecs, but unless you change the output from Pre-multiplied with Alpha to Straight Alpha, your Pro-Rez files will have a slightly different look that is more pronounced as the edge softens or motion blur increases. 

 

The most efficient option would be to add a solid, then turn it off and add the comp to the Render Queue or Media Encoder again with it turned off for the RGBA copy.

EckiAME
Community Manager
Community Manager
December 2, 2024

Moving the thread over to After Effects as this appears to be specific to Ae projects.

wimmer.sAuthor
Participating Frequently
December 2, 2024

Hi,

 

i have tried that already.

Whatever backgroundcolor i set inside After Effects, it will always render on black.

I use the current Version of Media Encoder and After Effects. Windows 11.

 

best regards
Simon

 

Warren Heaton
Community Expert
Community Expert
December 1, 2024

If working in After Effects, set the Background Color of the Composition to White.  When exporting with the "Apple ProRes 4444 with Alpha" preset in Media Encoder, you'll get a transparent background.  When exporting to any preset/format that does not support transparancy (like any MP4 preset), you'll get a white background.

wimmer.sAuthor
Participating Frequently
November 29, 2024

I think this may work with a footage like .png or .mov.

But i need it for an export from After Effects and for such a export i can't set the interpretation.

EckiAME
Community Manager
Community Manager
November 28, 2024

Did you try "Invert Alpha" in "Source" > "Interprete Footage"?

  

?

EckiAME
Community Manager
Community Manager
November 4, 2024

Thanks fory our suggestion. I have created a feature request. We will discuss in the team.