GStreamer and Rasperry PI

pauly24 paul.gangemi86 at gmail.com
Wed Jun 20 13:18:34 PDT 2012


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

(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
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'.
Additional debug info:
gsturidecodebin.c(874): unknown_type_cb ():
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
ERROR: from element
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(3576): gst_decode_bin_expose ():
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
pi at raspberrypi /opt/vc/src/hello_pi/hello_video $ gst-inspect-0.10 |grep omx
openmax:  omxh264dec: OpenMAX H.264 Video Decoder
openmax:  omxmpeg4videodec: OpenMAX MPEG4 Video Decoder
pi at raspberrypi /opt/vc/src/hello_pi/hello_video $ gst-inspect-0.10 openmax


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GStreamer-and-Rasperry-PI-tp4655338p4655355.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list