GNOME Bugzilla – Bug 765050
Playing ts files on android with playbin
Last modified: 2016-12-15 11:57:22 UTC
Hi everyone, I am developing an android project (android tutorial 5 based) where I need to play a ts file (among others) so I am using playbin element for this purpose. As long as I have seen I already have GSTREAMER_PLUGINS_CODECS_RESTRICTED available (mpegtsdemux and faad for what I need) inside plugins.mk and Android.mk files. I am using prebuilt gstreamer 1.6.3 and ndkr10e on ubuntu 14.04. This is the logcat I am getting: 04-13 09:46:27.385 11247-11328/com.sample.app E/SoftAAC2: first buffer should have OMX_BUFFERFLAG_CODECCONFIG set 04-13 09:46:27.385 11247-11328/com.sample.app W/SoftAAC2: aacDecoder_ConfigRaw decoderErr = 0x2003 04-13 09:46:27.385 11247-11323/com.sample.app E/ACodec: [OMX.google.aac.decoder] ERROR(0x80001001) 04-13 09:46:27.385 11247-11323/com.sample.app E/ACodec: signalError(omxError 0x80001001, internalError -2147483648) 04-13 09:46:27.390 11247-11323/com.sample.app E/MediaCodec: Codec reported err 0x80001001, actionCode 0, while in state 6 04-13 09:46:27.390 11247-11318/com.sample.app W/GStreamer+amcaudiodec: 0:00:01.953909210 0x98f243b0 gstamcaudiodec.c:1196:gst_amc_audio_dec_handle_frame: error: Failed to call Java method: java.lang.IllegalStateException I have checked this ts file works for the PC with playbin element, using terminal gst-launch-1.0 and inside a C project. As Sebastian Dröge (Centricular Ltd) says: This is a problem in the AAC decoder element that uses the Android MediaCodec API. It apparently wants some kind of codec configuration data in the first buffer.
I think this is a dublicate of #740101
I think you're right, thanks! *** This bug has been marked as a duplicate of bug 740101 ***