user1028880
user1028880

Reputation:

Is it impossible to Decode Raw AAC byte stream with MediaCodec on Android4.1 (API 16)?

Is it impossible to Decode Raw AAC byte stream with MediaCodec on Android4.1 (API 16)?

Do I need to add some header??

This is the subsequent Quesion of PCM -> AAC (Encoder) -> PCM(Decoder) in real-time with correct optimization

Probably related to

Decoding AAC using MediaCodec API on Android

How to initialize MediaFormat to configure a MediaCodec to decode raw AAC data?

How to use MediaCodec without MediaExtractor for H264

Anyone any thought?

Upvotes: 0

Views: 982

Answers (1)

marcone
marcone

Reputation: 329

Raw AAC should work, however you have to packetize your stream correctly before sending to the decoder, i.e. each buffer should contain a full aac frame.

Upvotes: 0

Related Questions