Skip to content

matroska-demux: Extract alpha from BlockAdditionals

Following WebM spec and browsers implementation, extract the Alpha VP8/VP9 streams from the BlockAdditionals and attach this data ast GstVideoCodecAlphaMeta. This is only being done if the track contains AlphaMode=1 EBML tag, this is to make the interpretation safer and more explicit, and is following what Firefox and Chrome do, so if you don't set this, you alpha is already being ignored in browsers. The AlphaMode is then translated into a codec-alpha field in the caps, this field can optionally be used by decoders to explicitly signal support (or no support) for alpha.

Depends on gst-plugins-base!1128 (merged)

Edited by Nicolas Dufresne

Merge request reports

Loading