Failed to allocate buffer while playing mp4 file

Sebastian Dröge slomo at circular-chaos.org
Thu Aug 29 01:06:28 PDT 2013


On Do, 2013-08-29 at 10:59 +0800, Bruce Tsai wrote:
> Hi all,
> 
> 
> I tried to use Tutorial5 from Android tutorials to play a mp4 file on
> my Samsun Galaxy Note 2.
> I expected the mp4 is decoded by hardware but saw weird video frames
> on the screen.
> The audio is fine however.
> 
> 
> From LogCat, there are errors like
> "gstamcvideodec.c:1053:gst_amc_video_dec_loop:<amcvideodec-omxsecavcdec0> Failed to allocate buffer"
> And also "gstamc.c:701:gst_amc_codec_dequeue_output_buffer Failed to
> call Java method"
> I need a favor to figure out how this going on?

Can you also attach your /etc/media_codecs.xml from the device? Does any
other video work properly?

And how are the frames weird? Do they look like just noise or is it
possible to detect some structure from the expected frames there?

-------------- 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/20130829/0438b24b/attachment.pgp>


More information about the gstreamer-android mailing list