Skip to content

Add support for alpha channel (transparency) #177

@EliteMasterEric

Description

@EliteMasterEric

Certain video file formats (such as WEBM) have support for an alpha color channel. This results in the channels with lower alpha values being rendered with transparency. This would allow any sprites underneath the video to be visible.

See here for more information: https://developer.chrome.com/blog/alpha-transparency-in-chrome-video/

The use case for this is evident and powerful: encoding and playing a transparent video would allow for efficient and performant rendering of elaborate character animations not suited to spritesheets.

There are problems with this, however. The implementation of libvlc currently exports 0xFF for the alpha value regardless of settings. I am investigating alternatives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions