tugouxp
2018-08-31 07:45:14 UTC
hi folks:
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?
thanks for your kindly support.
my test command is as below:
gst-launch-1.0 playbin uri=file:///mnt/UDISK/movie.mp4 video-sink="waylandsink x=0 y=0 width=400 height=400"
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?
thanks for your kindly support.
my test command is as below:
gst-launch-1.0 playbin uri=file:///mnt/UDISK/movie.mp4 video-sink="waylandsink x=0 y=0 width=400 height=400"