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. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le sam. 23 mars 2019 07 h 11, longkas <[hidden email]> a écrit : Hello, 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.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le sam. 23 mars 2019 09 h 17, Nicolas Dufresne <[hidden email]> a écrit :
I meant to write that ximagesink should work.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |