Giter Site home page Giter Site logo

Transparent background about cog HOT 5 CLOSED

igalia avatar igalia commented on August 23, 2024
Transparent background

from cog.

Comments (5)

aperezdc avatar aperezdc commented on August 23, 2024 2

Once the new API is available in an upstream release, I think we could add a --bg-color= (or --bg-transparent) command line option to Cog.

from cog.

philn avatar philn commented on August 23, 2024

Is the GStreamer video rendered with a <video> element?
Is your use-case about overlaying html over foreign (non-WebKit app) video?

from cog.

AndrisBB avatar AndrisBB commented on August 23, 2024

Second scenario.
GStreamer is ouputing video directly to the /dev/fb0.
Webkit app is rendering UI to the /dev/fb1 (overlay).
IMX6 is merging both framebuffers together. Probbably it is better explained here starting from slide 35.
http://cache.freescale.com/files/training/doc/ftf/2014/FTF-CON-F0223.pdf
For examaple if I output png image with transparent parts to the FB1, then I will see video under image.

I'm new to the WPE and still in the process of understanding how does it work. What I found is that WPEBrowser have a setting to enable transparent background and was hoping that it is also possible with the Cog Launcher.
https://github.com/WebPlatformForEmbedded/meta-wpe/wiki/WPEFramework

from cog.

philn avatar philn commented on August 23, 2024

Can you please reach out by e-mail? [email protected]

from cog.

philn avatar philn commented on August 23, 2024

This new API for WPE should solve the problem: https://bugs.webkit.org/show_bug.cgi?id=192305

from cog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.