Problem with example code on Ubuntu 12.04

Marlon Smith msmith at carmanahsigns.com
Mon Aug 19 10:41:22 PDT 2013


Hi Peter,

Thanks for the response, I've been away on holidays and just got back
today.  Here's what happens when I try that command:

guest-XmvQAX at linaro-ubuntu-desktop:~$ gst-launch-0.10 videotestsrc !
xvimagesink 
(gst-plugin-scanner:2857): GStreamer-CRITICAL **: gst_pad_template_new:
assertion `c
aps != NULL' failed

(gst-plugin-scanner:2857): GStreamer-CRITICAL **:
gst_element_class_add_pad_template
: assertion `GST_IS_PAD_TEMPLATE (templ)' failed

(gst-plugin-scanner:2857): GStreamer-CRITICAL **: gst_pad_template_new:
assertion `c
aps != NULL' failed

(gst-plugin-scanner:2857): GStreamer-CRITICAL **:
gst_element_class_add_pad_template
: assertion `GST_IS_PAD_TEMPLATE (templ)' failed
MAX resolution 1280x720
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not in
itialise Xv output
Additional debug info:
xvimagesink.c(1443): gst_xvimagesink_get_xv_support
(): /GstPipeline:pipeline0/GstXv
ImageSink:xvimagesink0:
No port available
Setting pipeline to NULL ...
Freeing pipeline ...
guest-XmvQAX at linaro-ubuntu-desktop:~$

Unfortunately I think I'm stuck with gstreamer 0.10 for now, since
that's the latest version built for the platform I'm using (Ubuntu 12.04
on the Wandboard).

Marlon


On Fri, 2013-08-09 at 12:57 +0100, Peter Rennert wrote:
> does this work for you?
> 
> gst-launch-0.10 videotestsrc ! xvimagesink
> (paste into a terminal)
> 
> If you are getting started with gstreamer you should use gstreamer 1.0
> instead. It is almost the same but better in some ways of its core
> architecture. Gstreamer 0.10 is maintained only for legacy reasons and
> because some plugins are not ported yet (if I am not mistaken).
> 
> There is also an updated tutorial for gstreamer 1.0:
> 
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlay.html
> 
> 
> On 08/08/2013 10:31 PM, Marlon Smith wrote:
> 
> > 
> > Hi everyone,
> > 
> > I'm using Ubuntu 12.04 for the Wandboard, and I'm trying to get a Qt
> > application to play a video with GStreamer.  I've tried using the
> > sample code from
> > https://developer.gnome.org/gst-plugins-libs/0.10/gst-plugins-base-libs-gstxoverlay.html but I get the following errors when I run the application:
> > 
> > (gst-plugin-scanner:2890): GStreamer-CRITICAL **:
> > gst_pad_template_new: assertion `caps != NULL' failed
> > 
> > (gst-plugin-scanner:2890): GStreamer-CRITICAL **:
> > gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE
> > (templ)' failed
> > 
> > (gst-plugin-scanner:2890): GStreamer-CRITICAL **:
> > gst_pad_template_new: assertion `caps != NULL' failed
> > 
> > (gst-plugin-scanner:2890): GStreamer-CRITICAL **:
> > gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE
> > (templ)' failed
> > MAX resolution 1920x1080
> > 
> > (gsttest:2889): GStreamer-CRITICAL **: gst_element_set_state:
> > assertion `GST_IS_ELEMENT (element)' failed
> > 
> > (gsttest:2889): GStreamer-CRITICAL **: gst_object_unref: assertion
> > `((GObject *) object)->ref_count > 0' failed
> > 
> > Does anyone know what could be causing these errors?  I am new to
> > GStreamer.
> > 
> > Thanks!
> > 
> > Marlon 
> > 
> > 
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130819/a8a8899a/attachment.html>


More information about the gstreamer-devel mailing list