Gstreamer and Android app

Sebastian Dröge sebastian at centricular.com
Wed May 4 06:41:30 UTC 2016


On Di, 2016-05-03 at 09:43 -0700, de_ninja wrote:
> Now I used mpegtsmus to create a MPEG-TS stream and the extractor works!
> Thanks!
> 
> This is the pipeline i set:
> 
> gst-launch-1.0 audiotestsrc ! faac ! mux. mpegtsmux name=mux ! udpsink
> host=224.0.0.1 port=8001 
> 
> An aac-decoder gets created!
> Now the decoder fails with the following error:
> aacDecoder_DecodeFrame decoderErr = 0x4004
> AAC decoder returned error 0x4004, substituting silence
> 
> I searched for the error 0x4004 and it means: AAC_DEC_DECODE_FRAME_ERROR  <
> The parsed bitstream value is out of range. Most probably the bitstream is
> corrupt, or the system crashed. 
> 
> Do you have an idea what could be wrong? 

Can you play the file with another software? It might be that the AAC
stream is in a profile that can't be handled by Android. Try enforcing
the LC (low complexity) profile, or alternatively try using voaacenc
instead of faac.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160504/15720248/attachment.sig>


More information about the gstreamer-devel mailing list