is there any way to use display "overlay layer" when playing video?
tugouxp
13824125580 at 163.com
Fri Aug 31 13:23:17 UTC 2018
hi daniel:
thanks for your kindly help.
my platform is allwinner A64 soc chips, with mali40um GPU, and the compositor is weston, with wayland display architecture.
At 2018-08-31 17:16:03, "Daniel Stone" <daniel at fooishbar.org> wrote:
>On Fri, 31 Aug 2018 at 09:00, tugouxp <13824125580 at 163.com> wrote:
>> my target platform display engine device support two type of layers, they are "GUI" and "YUV", the GUI layer use to draw OSD screens with data type RGB, and "YUV" only support video data with "yuv" format.
>>
>> but when i launch a media player with gstreamer utility tools, i found that the result is not like what i expected, the video-sink is "waylandsink", the result reveal that only one layer is enabled in display engine,
>>
>> so, it seems both the gui and video are mixed together into one layer, mabe that needs a transform of video from "YUV" to "RGB", it is a waste of time and effencity, so i want to know, is there anyway to use the "overlay" layer directly through wayland copositor?
>
>If you're using Weston 5.0.0 with the DRM backend (i.e. your graphics
>hardware has a KMS driver), and GStreamer is doing
>hardware-accelerated decoding (using dmabuf to pass buffers), then
>this should work fine using the hardware overlay. Can you please share
>more details about which compositor you're using, which hardware, etc?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180831/d8485e5e/attachment.html>
More information about the wayland-devel
mailing list