Bug 233955 - [GTK] Video alpha channel doesn't work
Summary: [GTK] Video alpha channel doesn't work
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk, InRadar
Depends on:
Blocks:
 
Reported: 2021-12-07 15:30 PST by zipdox
Modified: 2024-04-02 09:15 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zipdox 2021-12-07 15:30:16 PST
I originally reported this to Epiphany but I was directed here. https://gitlab.gnome.org/GNOME/epiphany/-/issues/1654

The WebM container supports alpha channel video with the VP8 and VP9 codecs, however in Epiphany this doesn't work. Transparent video is shown with a black background instead.
Comment 1 Carlos Bentzen 2024-03-28 18:21:23 PDT
The issue is with the dma-buf sink. Both the GL and software-compositing sinks render with the alpha channel blending correctly (done in https://commits.webkit.org/238313@main). To not use the dma-buf sink, set WEBKIT_GST_DMABUF_SINK_DISABLED=1.

Fix for dma-buf incoming...
Comment 2 Carlos Bentzen 2024-03-28 18:34:59 PDT
Pull request: https://github.com/WebKit/WebKit/pull/26598
Comment 3 EWS 2024-04-02 09:14:04 PDT
Committed 276936@main (aff02c3a8c4f): <https://commits.webkit.org/276936@main>

Reviewed commits have been landed. Closing PR #26598 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2024-04-02 09:15:20 PDT
<rdar://problem/125786839>