Comments (5)
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.
Is the GStreamer video rendered with a <video>
element?
Is your use-case about overlaying html over foreign (non-WebKit app) video?
from cog.
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.
Can you please reach out by e-mail? [email protected]
from cog.
This new API for WPE should solve the problem: https://bugs.webkit.org/show_bug.cgi?id=192305
from cog.
Related Issues (20)
- Missing cog-export.h header in the cogcore_headers
- gtk4: Pointer coordinates wrongly reported when the window is on a monitor with fractional scaling HOT 1
- [Clean-up] Remove redundant platform safe-guards in core
- Remove cog_platform_init_web_view() from the API
- MouseEvent buttons property not set in wayland backend
- Crash calling wl_pointer_set_cursor() in cog-utils.c HOT 2
- /snap/wpe-webkit-mir-kiosk/101/usr/bin/cog memory increases until it crashes.
- Identifiers for touch points are not constant in multi touch HOT 5
- cog flickering and not HW accelerated on NXP iMX8M-Plus HOT 2
- Latest COG w/DRM backend has no focus HOT 2
- [wpe-2.38.5][wpe-webkit-mir-kiosk] Long touch/press not working
- (wpe-webkit-mir-kiosk) - Launch homepage on idle HOT 3
- DRM key-repeat only repeats once
- Is DRM missing cog_launcher_get_viewport()?
- cogctl ping fails but reload etc works
- Crash due to `SIGTRAP` after `Creating pipes for GWakeup: Too many open files` HOT 2
- Bad rendering of https://ttnmapper.org HOT 1
- Segfault in `wl_list_remove`
- Segmentation fault for drm platform with gles renderer
- Failing to initialize EGL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cog.