Skip to content

Transparency in video #1421

Open
Open

Description

@o-t-w

Description

Currently, to use video or an animated image with transparency, developers are stuck either using older formats like WebP, or exporting multiple formats (both HEVC and VP9). Unfortunately the AV1 video codec does not support transparency, so the most common solution is for developers to use both a HEVC and a VP9 video.

Full interoperability between browsers would mean all browsers reliably supporting:

There’s overlap in the use cases for the functionality above, so the following would suffice (because JPEG-XL probably isn't a great option for animation):

  • transparency for VP9
  • fix bugs affecting animated AVIF when transparency is used

There is a pull request for adding transparency for VP9 to Safari.

There is a related Interop proposal for improving AVIF interoperability in general.

See also following blog post: Video with alpha transparency on the web

Rationale

The current situation is frustrating: see, for example, the Reddit post Can we talk about the pain of transparent video browser support in 2025 which has 70 upvotes.

Investigation Roadmap

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigation-effort-proposal

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions