Problem with example code on Ubuntu 12.04

Peter Rennert p.rennert at cs.ucl.ac.uk
Fri Aug 9 04:57:01 PDT 2013


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

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


More information about the gstreamer-devel mailing list