RockPlayer takes advantage of open source projects and returns back here.
Include FFmpeg source from git master repository and build script. The script is well documented.
Includes FFmpeg source, android.mk for NDK. Comment and uncomment variables to target different platform, names are self explained. readme.rockplayer in zip package contains more explains.