GStreamer and Rasperry PI

George Kiagiadakis kiagiadakis.george at gmail.com
Thu Jun 21 02:28:03 PDT 2012


On Wed, Jun 20, 2012 at 11:18 PM, pauly24 <paul.gangemi86 at gmail.com> wrote:
> Thanks, it's almost working now...
> I'm still getting an error when I try and play a h264 file.
>
> First error is about the GLib, I was getting this before I tried to install
> the plugin, although videotestsrc would still work fine and display on my
> screen, I have no idea what these ones are about?
>
> Second and more importantly I've gotten
>
> No decoder available for type 'video/x-h264
> yet gst-inspect shows
> openmax:  omxh264dec: OpenMAX H.264 Video Decoder
> openmax:  omxmpeg4videodec: OpenMAX MPEG4 Video Decoder
>
> so they are installed.
>
>
>
>
> pi at raspberrypi /opt/vc/src/hello_pi/hello_video $ sudo gst-launch-0.10
> playbin2 uri=file:///opt/vc/src/hello_pi/hello_video/test.264

First of all, don't try to play that file. This is full HD. You can
only get it working with *small* resolution videos, as there is no
rendering acceleration yet.

> (gst-plugin-scanner:10846): GLib-GObject-WARNING **: specified instance size
> for type `GstRtpAC3Depay' is smaller than the parent type's
> `GstBaseRTPDepayload' instance size
>
> (gst-plugin-scanner:10846): GLib-CRITICAL **: g_once_init_leave: assertion
> `result != 0' failed
>
> (gst-plugin-scanner:10846): GStreamer-CRITICAL **: gst_element_register:
> assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed
>
> (gst-plugin-scanner:10846): GLib-GObject-WARNING **: specified instance size
> for type `GstRTPOpusDepay' is smaller than the parent type's
> `GstBaseRTPDepayload' instance size
>
> (gst-plugin-scanner:10846): GLib-CRITICAL **: g_once_init_leave: assertion
> `result != 0' failed
>
> (gst-plugin-scanner:10846): GStreamer-CRITICAL **: gst_element_register:
> assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

I get these too and it looks like a binary incompatibility problem
(although I have all my plugins from debian packages...). I am
investigating it...

> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Missing element: H.264 decoder
> WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0:
> No decoder available for type 'video/x-h264, stream-format=(string)avc,
> width=(int)720, height=(int)576, framerate=(fraction)24/1,
> parsed=(boolean)true, alignment=(string)au,
> pixel-aspect-ratio=(fraction)64/45,
> codec_data=(buffer)01640029ffe1001d67640029acec0b4126ffc010000b44000003000400000300c23c60c4e001000568eaecb22c'.

You are missing h264parse from gst-plugins-bad.


More information about the gstreamer-devel mailing list