Playbin works but autovideosink fails
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 :
> 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 ():
> 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 ():
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel