xv port not available

Vivia Nikolaidou n.vivia at gmail.com
Tue Aug 29 20:54:59 UTC 2017


Do you have Xorg running in your virtual machine or is it console
only? If it's console only, it will not work. Try running the "xvinfo"
command to make sure that your X / drivers are installed correctly.

Question, what do you need to implement? If you don't need to display
video on the screen and just need to write into a file or stream it
somewhere, it might not be worth installing X just for this test. If
you want to check whether video can be displayed but don't want to
have X running, you can try with aasink or cacasink - they'll use
ASCII art on your console.

Best regards,


On 25 August 2017 at 16:52, Tatiana Sula <tatiana.sula at gmail.com> wrote:
> Hello,
> I was wondering if I installed all the gstreamer plugins I need and I found
> this site:
> https://gstreamer.freedesktop.org/documentation/frequently-asked-questions/using.html
> There is a particular command that checks if video output gets displayed.
> With ximagesink I get the output  I expect while xvimagesink displays this
> message :
> gst-launch-1.0 videotestsrc ! videoconvert ! xvimagesink
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> Could not initialise Xv output
> Additional debug info:
> xvimagesink.c(1760): gst_xv_image_sink_open ():
> /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> No Xv Port available
> Setting pipeline to NULL ...
> Freeing pipeline ...
> I'm using Ubuntu 16.04 inside a virtual machine. How should I solve this
> problem?
> Thank you
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list