Support for h264 mpeg4 ?
Sebastian Dröge
sebastian.droege at collabora.co.uk
Thu Jan 10 01:06:24 PST 2013
On Mi, 2013-01-09 at 21:24 +0000, Luis Linietsky wrote:
> 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 ?
Please read the documentation at
> http://docs.gstreamer.com/display/GstSDK/Android+tutorial+1%3A+Link+against+GStreamer
Especially at the Android.mk part. That's what you need to do to link additional plugins.
For h264 and mpeg4 you will either need to ffmpeg plugin, or the androidmedia plugin
(which only works on JellyBean and newer but uses the system/hardware codecs).
> I am also going to need some plugins for playing hls + aes encoded video.
Use the hlsdemux plugin, encryption is not supported yet though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130110/982a2471/attachment.pgp>
More information about the gstreamer-android
mailing list