Activity › Forums › Adobe After Effects › Alpha channel and black background
-
Alpha channel and black background
Posted by Bernhard Walzl on March 28, 2014 at 6:36 pmHello!
I just came across something weird and I was wondering if one knows what is going on here:
I have a comp which is entirely transparent. I place a logo in a corner, which transparency is on 40%. I export it using the codec Animation, preserving the Alpha channel.
Then I do the same again but with a solid black layer in the background (the transparency of the logo is still on 40%).
Surprisingly, the results of the two logos will be different:
See this picture, to understand what I mean:
I understood that transparency will be interpreted black when there is nothing in the back, so I am quite surprised why the two results differ.
Thanks for sharing your ideas,
BernhardBernhard Walzl replied 12 years, 1 month ago 2 Members · 10 Replies -
10 Replies
-
Bernhard Walzl
March 28, 2014 at 11:06 pmBoth were encoded using the codec ANIMATION (plus alpha) with the same settings. The picture is done with photoshop to demonstrate the difference. But I can render it out by placing the solid black half behind the icon.
-
Walter Soyka
March 30, 2014 at 12:24 amAre you correctly interpreting the alpha when you re-import the test? You’d get wrong results if you rendered with pre-multiplied alpha but interepreted as straight alpha.
Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog – What I’m thinking when my workstation’s thinking
Creative Cow Forum Host: Live & Stage Events -
Bernhard Walzl
March 30, 2014 at 12:38 amI have exported and viewed the exact same way.
After rendering out the first version, I have created a black solid in the back, then for the export, I have duplicated the old render entry to get the exact same result.
The picture I have taken is a screenshot what quicktime displays.Can someone reproduce this? I am happy to upload my after effects file…
-
Walter Soyka
March 30, 2014 at 1:02 amThere is no image uploaded here.
If you collect your project and source footage, zip it up and upload it, I’ll take a look at it tonight for you.
Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog – What I’m thinking when my workstation’s thinking
Creative Cow Forum Host: Live & Stage Events -
Bernhard Walzl
March 31, 2014 at 6:57 pmThanks Walter!
Please find here the AEP file: 7315_iampuzzled.aep.zip
//edit: sorry I just realized my default font was not a standard one, feel free to change it, it will produce the same result.
It is white text with 40% opacity. Through the center is a solid black in the background while the upper and lower part stays transparent. Rendered as Animation, preserving the Alpha channel, and when viewing in Quicktime it will look like this:
My question: Why.
-
Bernhard Walzl
March 31, 2014 at 9:36 pmBecause through the middle runs a solid black layer in the background. the upper and lower bit are kept transparent.
-
Walter Soyka
March 31, 2014 at 10:53 pm[Bernhard Walzl] “when viewing in Quicktime it will look like this:
…
My question: Why.”Any question about why things look the way they do in QuickTime Player is virtually unanswerable.
If you bring this into an alpha-aware application, it will display correctly.
Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog – What I’m thinking when my workstation’s thinking
Creative Cow Forum Host: Live & Stage Events -
Bernhard Walzl
April 1, 2014 at 12:23 amyes, VLC will play it correctly.
however, the problem started off that I have two videos: one is an intro and the other is a logo (which has video footage in the background). one has a black background, the other one is transparent whereas both use the animation codec.
when I put them in the timeline (premiere cs6) next to each other, export as h264, their grey tone will change.
So I am just trying to find out where the root of this problem sits, to solve this issue.
No need to propose me a workaround, i want to know why things are how they are.
Any help with this is highly appreciated.
-
Walter Soyka
April 1, 2014 at 12:39 am[Bernhard Walzl] “when I put them in the timeline (premiere cs6) next to each other, export as h264, their grey tone will change. So I am just trying to find out where the root of this problem sits, to solve this issue. No need to propose me a workaround, i want to know why things are how they are.”
Ah, I see now. The Premiere part was important!
I think that the issue here is that Premiere CS6 composites in a linear space when accelerated by GPU, but in a gamma-encoded space without GPU acceleration.
If you turn off GPU acceleration in Premiere (Project > Project Settings > General, then set the Renderer to “Mercury Playback Engine Software Only”) then you should not see this shift in gray tones.
Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog – What I’m thinking when my workstation’s thinking
Creative Cow Forum Host: Live & Stage Events -
Bernhard Walzl
April 2, 2014 at 7:56 pmThats right! Thanks Walter!
Very interesting indeed. Is there any news out there why this is happening from a technical point of view?
Reply to this Discussion! Login or Sign Up

