Android: How to integrate a decoder to multimedia framework

In Android SF framework, the codecs are registered through media_codecs.xml. In standard android distribution, an example media_codecs.xml can be found here. All audio-visual components are registered as OMX components. 1. Codec Registration To register your video decoder, you would have to add a new entry under <Decoders> list. To ensure that your codec is always … Read more

FFmpeg on Android

Here are the steps I went through in getting ffmpeg to work on Android: Build static libraries of ffmpeg for Android. This was achieved by building olvaffe’s ffmpeg android port (libffmpeg) using the Android Build System. Simply place the sources under /external and make away. You’ll need to extract bionic(libc) and zlib(libz) from the Android … Read more