Autovideosink not working on Ubuntu

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

Autovideosink not working on Ubuntu

william.l.metcalf
Autovideosink not working on Ubuntu

Hello all,

I just installed gstreamer on Ubuntu and I am trying to do a simple test of the elements.  I am running the command gst-launch videotestsrc ! autovideosink, but I get the following errors:

root@wmetcalf-desktop:/home/wmetcalf/Desktop/gst-plugins-good-0.10.30# gst-launch videotestsrc ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: Resource not found.
Additional debug info:
gstautovideosink.c(314): gst_auto_video_sink_find_best (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0:
Failed to find a usable video sink
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

Can somebody please give me some context on what is happening here and how to fix it?

Thank you for your help,
William


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Autovideosink not working on Ubuntu

Stefan Sauer
On 06/28/11 09:01, William Metcalf wrote:
Autovideosink not working on Ubuntu

Hello all,

I just installed gstreamer on Ubuntu and I am trying to do a simple test of the elements.  I am running the command gst-launch videotestsrc ! autovideosink, but I get the following errors:

[hidden email] gst-launch videotestsrc ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: Resource not found.
Additional debug info:
gstautovideosink.c(314): gst_auto_video_sink_find_best (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0:
Failed to find a usable video sink


You don't have a working videosink. autovideosink is a metaelement that defers the work at an actual videosink it selects. Are you running this under X (from a terminal app where the DISPLAY env-var is set)? What does gst-inspect | grep sink shows?

Stefan

Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

Can somebody please give me some context on what is happening here and how to fix it?

Thank you for your help,
William

_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Autovideosink not working on Ubuntu

Zheng
This post was updated on .
Just in case some else run into this problem again.
The ximagesink can be a "working videosink". It is from the gst-plugins-base. To build this plugin you probably need to make sure you have x11 package installed.
To install "x11",
sudo apt-get install libx11-dev
should work on Ubuntu 14.04.