[Bug 765050] New: Playing ts files on android with playbin

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 14 12:55:43 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765050

            Bug ID: 765050
           Summary: Playing ts files on android with playbin
    Classification: Platform
           Product: GStreamer
           Version: 1.6.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: don't know
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dmr.dev.rdp at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list