[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-devel
Subject: is there any way to use display "overlay layer" when playing video?
From: tugouxp <13824125580 () 163 ! com>
Date: 2018-08-31 7:49:39
Message-ID: 3a98923b.b05e.1658ef584d9.Coremail.13824125580 () 163 ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
[Attachment #4 (text/plain)]
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"
[Attachment #5 (text/html)]
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi \
folks:</div><div> </div><div> 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.</div><div><br></div><div>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,</div><div><br></div><div>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? </div><div><br></div><div>thanks for your kindly \
support.</div><div><br></div><div>my test command is as \
below:</div><div><p>gst-launch-1.0 playbin uri=<a href="file:///mnt/UDISK/movie.mp4" \
title="file:///mnt/UDISK/movie.mp4" class="file" style="color: rgb(6, 73, \
119);">file:///mnt/UDISK/movie.mp4</a> video-sink="waylandsink x=0 y=0 width=400 \
height=400"</p></div></div><br><br><span \
title="neteasefooter"><p><br/> </p></span>
[Attachment #6 (text/plain)]
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic