Failed to allocate buffer while playing mp4 file
Andoni Morales
ylatuya at gmail.com
Tue Sep 3 01:23:22 PDT 2013
2013/9/2 Sebastian Dröge <slomo at circular-chaos.org>
> On Mo, 2013-09-02 at 17:10 +0800, Bruce Tsai wrote:
> >
> > Message: 5
> > Date: Mon, 02 Sep 2013 09:48:48 +0200
> > From: Sebastian Dr?ge <slomo at circular-chaos.org>
> > To: Discussions about GStreamer on Android
> > <gstreamer-android at lists.freedesktop.org>
> > Subject: Re: Failed to allocate buffer while playing mp4 file
> > Message-ID: <1378108128.4380.14.camel at thor.lan>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > On Mo, 2013-09-02 at 10:43 +0800, Bruce Tsai wrote:
> > > If I want to print more debug info, how could I build
> > gstreamer-sdk
> > > with my modified code by "cerbero"?
> >
> > You should first of all build the SDK completely for Android
> > according
> > to the documentation. Then you could use the cerbero shell to
> > apply your
> > changes in
> >
> cerbero/sources/android*/gst-plugins-bad-*-static/sys/androidmedia
> > run make and copy .libs/*.a to
> > cerbero/dist/android*/lib/gstreamer*/static
> >
> >
> >
> > This is really really interesting!
> > I rebuilt libgstandroidmedia according your instruction without
> > modifying anything.
> > Then every thing is fine though the error, "Failed to call Java
> > method", still exists!
> > The video frames are correctly presented with audio.
>
> Not sure why or how that is possible :) Which instructions and sources
> did you use to build GStreamer?
>
I think it's perfectly possible :) Jorge added support for this colorspace
just a few days ago.
Cheers,
Andoni
>
> > By outputting exception detail, I also found "Failed to call Java
> > method" is due to an exception from calling "dequeueOutputBuffer".
> > There is a similar question on StackOverflow, [1].
>
> Hmm, I don't think this is related though. Might be useful to check from
> where in the Android code this exception comes from, and also what
> exactly the exception is first (i.e. print the stacktrace and all
> that) :)
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130903/8025028c/attachment.html>
More information about the gstreamer-android
mailing list