<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 23 mars 2019 07 h 11, longkas <<a href="mailto:longkas@gmail.com">longkas@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Using playbin and autovideosink with gst-launch cli both works well, but<br>
when I test it  to run my program,<br>
the playbin works ok, but autovideosink  got error:<br>
<br>
Debugging info: gstkmssink.c(1530): gst_kms_sink_show_frame ():<br>
/GstPipeline:mix-player/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms:Error:<br>
GStreamer encountered a general resource error.<br>
drmModeSetPlane failed: Permission denied (-13)<br>
<br>
<br>
If I switch to xvimagesink, got error as well:<br>
Debugging info: xvimagesink.c(1773): gst_xv_image_sink_open ():<br>
/GstPipeline:mix-player/GstXvImageSink:xvimagesink0:<br>
Could not open display (null)<br>
Error: Could not initialise Xv output<br>
<br>
Test is done on Fedora on my vmware virtual machine, btw.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The first is because you have a graphical environment running, kmssink is really low level and would need exclusive HW access.</div><div dir="auto"><br></div><div dir="auto">The second is the lack of HW acceleration in your virtual machine. XV being an Xorg HW acceleration layer. xvimagesink should work though. Would be nice to run gst-inspect-1.0 over each of them and collect their rank. autovideosink works with a mix of rank and minimal error checking. Maybe we a due to some tweaks again in this regard.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>