xvimagesink Could not initialise Xv output and No port available

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

xvimagesink Could not initialise Xv output and No port available

bard
Hi All,

My xvimagesink does not work but ximagesink does.

I use xvimagesink as below

/home/user # gst-launch videotestsrc ! 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(1446): gst_xvimagesink_get_xv_support (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
No port available
Setting pipeline to NULL ...
Freeing pipeline ...
/home/user #

What cause "could not initialise Xv output" and "No port available" ?

Is there something wrong ? How do I check ?

Thanks,
Bard
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink Could not initialise Xv output and No port available

Tim-Philipp Müller-2
On Fri, 2010-12-17 at 00:53 -0800, bard wrote:

> ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> Could not initialise Xv output
> Additional debug info:
> xvimagesink.c(1446): gst_xvimagesink_get_xv_support ():
> /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> No port available
>
> What cause "could not initialise Xv output" and "No port available" ?
>
> Is there something wrong ? How do I check ?

What does the 'xvinfo' command show?

What's the output of

 $ GST_DEBUG_NO_COLOR=1 GST_DEBUG=xv*:5 gst-launch-0.10 videotestsrc !
xvimagesink

?

Cheers
 -Tim



------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink Could not initialise Xv output and No port available

bard
Thanks for reply,

1.xvinfo:
X-Video Extension version 2.2
screen #0
no adaptors present

2.GST_DEBUG_NO_COLOR=1 GST_DEBUG=xv*:5 gst-launch-0.10 videotestsrc !
xvimagesink <--- I will try to turn on the debug and get back to you .

Thanks,
Bard
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink Could not initialise Xv output and No port available

Tim-Philipp Müller-2
On Fri, 2010-12-17 at 01:39 -0800, bard wrote:

Hi,

> 1.xvinfo:
> X-Video Extension version 2.2
> screen #0
> no adaptors present
>
> 2.GST_DEBUG_NO_COLOR=1 GST_DEBUG=xv*:5 gst-launch-0.10 videotestsrc !
> xvimagesink <--- I will try to turn on the debug and get back to you .

Well, if xvinfo says there are no adapters, that's the problem
(xvimagesink reports the same after all). It's more of an X11/driver
issue though than a GStreamer issue.

 Cheers
  -Tim



------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink Could not initialise Xv output and No port available

bard
Thank you Tim!

If I want to dig more , how do I do to make sure it is not gstreamer's issue ?

Thanks,
Bard
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink Could not initialise Xv output and No port available

Tim-Philipp Müller-2
On Fri, 2010-12-17 at 02:06 -0800, bard wrote:

> If I want to dig more , how do I do to make sure it is not gstreamer's issue?

The output of xvinfo indicates that it's not a GStreamer issue.




------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink Could not initialise Xv output and No port available

Nicolas Bertrand-4
In reply to this post by bard
Le 17/12/2010 14:06, bard a écrit :
> Thank you Tim!
>
> If I want to dig more , how do I do to make sure it is not gstreamer's issue
> ?
>
> Thanks,
> Bard
>
It's not a gstreamer error because the error is reported by your X11 driver.
It can come for many reasons, for example I have this problem on a
Nvidia based card, because I didn't have installed the proprietary divers

Try to use autovideosink instead of ximagesink/xvimagesink to pass
through this error.



------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink Could not initialise Xv output and No port available

bard
Thank you !

It helps me a lot.

Now I know there is no problem in target for xvimagesink.