Unpremultiply Alpha Video Filter

shotcut
September 2, 2019

Shotcut expects all image and video sources to have un-pre-multiplied alpha. It does not do an automatic conversion even when there is metadata indicating premultiplied.
Use this filter to convert an image or video from premultiplied alpha to straight (unpremultiplied) alpha.

This operation separates color values from the alpha channel so that RGB channels are no longer scaled by transparency. Visible changes occur only along semi-transparent edges, where color values were previously scaled by alpha.

Unpremultiply Alpha is a technical correction filter, not a visual effect.

Parameters

This filter has no controls.

What this filter does (conceptual)

In premultiplied alpha:

Unpremultiply Alpha reverses this process:

When the effect is visible (important)

If the clip does not contain an alpha channel, this filter produces no visible change.

Visible changes occur only when:

Note:
Visible changes occur only along semi-transparent edges, where color values were previously scaled by alpha.

Typical workflows

This filter is usually used:

Example workflow:

  1. Source with alpha
  2. Premultiply Alpha
  3. Apply effects that expect premultiplied data
  4. Unpremultiply Alpha
  5. Composite or export

Visual characteristics

Recommended use cases

Limitations