Support for h264 mpeg4 ?

Luis Linietsky llinietsky at dlatv.net
Wed Jan 9 13:24:39 PST 2013


Hello guys,
This must be a really basic thing, I just hope somebody could point me into the right direction.
I got tutorial5 up and running (from the gstremaer sdk docs at http://docs.gstreamer.com/display/GstSDK/Android+tutorial+5%3A+A+Complete+media+player).
But when I tried to change the "defaultMediaUri" into some other video formats, like mpeg4, I got the following error from the logcat:

"
W/GStreamer+uridecodebin(14774): 0:02:58.135494000 0x697ef0 gsturidecodebin.c:879:unknown_type_cb:<uridecodebin2> warning: No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)constrained-baseline, codec_data=(buffer)0142e01effe100196742e01e96560b8df55ff83380337b4400000fa40003a9821001000568ca818332, width=(int)366, height=(int)206, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'.
...
W/GStreamer+uridecodebin(14774): 0:02:58.171656000 0x697ec0 gsturidecodebin.c:879:unknown_type_cb:<uridecodebin2> warning: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2'.
W/GStreamer+decodebin2(14774): 0:02:58.172505000 0x697ec0 gstdecodebin2.c:3677:gst_decode_bin_expose:<decodebin22> No suitable plugins found
W/GStreamer+decodebin2(14774): 0:02:58.173134000 0x697ec0 gstdecodebin2.c:3679:gst_decode_bin_expose:<decodebin22> error: no suitable plugins found
D/GStreamer+tutorial-5(14774): 0:02:58.173645000 0x649d20 jni/tutorial-5.c:104:set_ui_message Setting message to: Error received from element decodebin22: Your GStreamer installation is missing a plug-in."

I build some entire plugin libraries by adding the following lines into the Android.mk in Tutorial5 project, but nothing changed:

include /home/luigi/test/gst-plugins-good/Android.mk
include /home/luigi/test/badbad/gst-plugins-bad/Android.mk

Could somebody tell me how to build gstreamer with proper plugins ?
I am also going to need some plugins for playing hls + aes encoded video.

Regards,
Luigi
This email and its contents (including any attachments) are being sent to you on condition of confidentiality and may be protected by legal privilege.  Disclosure to anyone other than intended recipients is unauthorized. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, print, retain, use, copy, distribute or disclose to anyone the email or its contents (including any attachments). If you have received the message in error, please advise the sender by reply e-mail, and destroy all copies of the email (including any attachments).  Any business terms incorporated in the email or its contents (including any attachments) are meant solely for purposes of discussion and are non-binding on DLA, Inc. and its affiliated companies. Further, no representation is made with respect to any content contained in this email (including any attachments). Any opinions contained in this e-mail are those of the author of the message and do not necessarily reflect those of DLA, Inc. or any of its affiliated companies.


More information about the gstreamer-android mailing list