MediaCodec is a class from the package "android.media" of Android API that can be used to access low-level, native media codec, i.e. encoder/decoder components.
MediaCodec
is a class from the package android.media
of Android API that can be used to access low-level, native media codec, i.e. encoder/decoder components. Along with the common IO it supports input data of the following decoder mime types:
"video/x-vnd.on2.vp8"
- VPX video (i.e. video in .webm)"video/avc"
- H.264/AVC video"video/mp4v-es"
- MPEG4 video"video/3gpp"
- H.263 video"audio/3gpp"
- AMR narrowband audio"audio/amr-wb"
- AMR wideband audio"audio/mpeg"
- MPEG1/2 audio layer III"audio/mp4a-latm"
- AAC audio"audio/vorbis"
- vorbis audio"audio/g711-alaw"
- G.711 alaw audio"audio/g711-mlaw"
- G.711 ulaw audio
The reference to the API docs: http://developer.android.com/reference/android/media/MediaCodec.html