Failed to allocate buffer while playing mp4 file

Bruce Tsai wagamama.tsai at gmail.com
Mon Sep 2 02:10:03 PDT 2013


> 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.

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].

[1]
http://stackoverflow.com/questions/13734400/mediacodec-encode-decode-simultaneously
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130902/a5d85625/attachment.html>


More information about the gstreamer-android mailing list