Can't play mp3 / mp4

Sandro Sacquegno sansac at gmail.com
Tue Apr 1 01:14:49 PDT 2014


Hi Sebastian,

just FYK:

in the smartphone (2.3.4) case, the offending plugin is just libav!
Removing it from the list makes the apk runnable.
It even open the mp4, but plays only the audio, complaining, of course, "No
decoder available for type 'video/x-h264' ".
Maybe the integrated libav is build for an arch. ARMv7, while the phone is
ARMv6?

Bye
Sandro

2014-03-31 10:37 GMT+02:00 Sandro Sacquegno <sansac at gmail.com>:

> Hi Sebastian,
>
> actually I was missing to include GSTREAMER_PLUGINS_CODECS_RESTRICTED
> which are the relevant ones for my needs, as checked verifying PLUGIN.MK
>
> Unfortunately, trying a simple "playbin uri=file:///sdcard/video.mp4" :
>
> on a tablet with 4.1: it dies with a SIGOUT or the like (i don't have it
> here now)
> on a phone with 2.3.4: it dies with a FATAL_EXCEPTION
> (AndroidRuntime:ExceptionInInitializerError)
>
> I'm using Tutorial3 as a base for the experiments.
>
> This is the list in GSTREAMER_PLUGINS_CODECS_RESTRICTED := asfmux dtsdec
> faad mpegpsdemux mpegpsmux mpegtsdemux mpegtsmux a52dec amrnb amrwbdec asf
> dvdsub dvdlpcmdec mad mpeg2dec xingmux realmedia x264 libav
>
> Is it worth trying remove some plugin from the list apart faad, mad and
> libav?
> Would it change anything using an explicit chain "filesrc....
> qtdemux... h264parse... etc." instead of a "playbin"  (although I'm not
> sure I would able to build such a pipeline...) ?
>
> Thank a lot for your patience :)
> Sandro
>
>
> 2014-03-29 9:48 GMT+01:00 Sebastian Dröge <sebastian at centricular.com>:
>
>> On Fr, 2014-03-28 at 17:06 +0100, Sandro Sacquegno wrote:
>> > Hi all,
>> >
>> > Is it possible that every try to "playbin" an mp3 or mp4 fails with "no
>> > suitable plugin found" ?
>> >
>> > I tried on a real device (2.3.4) and in Android.mk I included ALL
>> available
>> > plugins!
>> >
>> > Am I missing something?
>> >
>> > Sorry for the, maybe, newbie question...
>>
>> What are "ALL available plugins" you are including, what's your
>> Android.mk? You will need qtdemux for the MP4 container, audioparsers
>> and videoparsers for parsing the audio/video bitstreams and for decoding
>> mad (for MP3), faad (for AAC), libav (for h264, and also the others).
>>
>> --
>> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
>> Expertise, Straight from the Source
>>
>> _______________________________________________
>> gstreamer-android mailing list
>> gstreamer-android at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140401/906bd7bd/attachment.html>


More information about the gstreamer-android mailing list