The ffmpeg binaries for android are under:
"thirdparties/android/lib/armv5te" for ARMv5TE devices and
"thirdparties/android/lib/armv7-a" for ARMv7=a devices.
If you are trying to rebuilt the IMSDroid yourself and don't know
which version to used then, I suggest using the first one which works
on all devices.
FFmpeg is only used for decoding. For encoding, we use x264.
"I think ffmpeg is sued for encode decode h.264" => Do you have any
link?
All codecs are used as plugins and you can off course unregister the
default one and replace it by yours. You can check the source code to
understand how video codec plugins are implemented.