MediaCodec: Decoding AAC android

Read Time 2 minutes Encoding/Decoding for various audio/video formats is now possible in android since JellyBean. Sample code below shows AAC decoding using MediaCodec API provided in android JellyBean and above. Sample InputFile Sample input file, songwav.mp4 is also created using MediaCodec and MediaMuxer. Songwav.mp4 file AAC encoded file with following parameters: ¬†¬†MediaFormat outputFormat = MediaFormat.createAudioFormat( “audio/mp4a-latm”, 44100, 2); …

MediaCodec: Decoding AAC android Read More »