After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765050 - Playing ts files on android with playbin
Playing ts files on android with playbin
Status: RESOLVED DUPLICATE of bug 740101
Product: GStreamer
Classification: Platform
Component: dont know
1.6.3
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-14 12:55 UTC by dmr.dev.rdp
Modified: 2016-12-15 11:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description dmr.dev.rdp 2016-04-14 12:55:43 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.
Comment 1 dam 2016-12-15 11:38:06 UTC
I think this is a dublicate of #740101
Comment 2 Tim-Philipp Müller 2016-12-15 11:57:22 UTC
I think you're right, thanks!

*** This bug has been marked as a duplicate of bug 740101 ***