Playbin works but autovideosink fails
Nicolas Dufresne
nicolas at ndufresne.ca
Sat Mar 23 13:17:11 UTC 2019
Le sam. 23 mars 2019 07 h 11, longkas <longkas at gmail.com> a écrit :
> Hello,
>
> Using playbin and autovideosink with gst-launch cli both works well, but
> when I test it to run my program,
> the playbin works ok, but autovideosink got error:
>
> Debugging info: gstkmssink.c(1530): gst_kms_sink_show_frame ():
>
> /GstPipeline:mix-player/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms:Error:
> GStreamer encountered a general resource error.
> drmModeSetPlane failed: Permission denied (-13)
>
>
> If I switch to xvimagesink, got error as well:
> Debugging info: xvimagesink.c(1773): gst_xv_image_sink_open ():
> /GstPipeline:mix-player/GstXvImageSink:xvimagesink0:
> Could not open display (null)
> Error: Could not initialise Xv output
>
> Test is done on Fedora on my vmware virtual machine, btw.
>
The first is because you have a graphical environment running, kmssink is
really low level and would need exclusive HW access.
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.
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190323/1e016cbc/attachment.html>
More information about the gstreamer-devel
mailing list