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