Use FFMPEG on Android [closed]
问题 Does somebody know how to use FFMPEG on Android to convert YUV420 frame to H.264? I have ported FFMPEG work on Android with NDK, I just don\'t know how to use it. A source code is appreciated. 回答1: You have two options: use ffmpeg api - google ffmpeg sample code. this requires good understanding of the api and which is very comprehnsive. compile ffmpeg.c and invoke its main() via jni. This requires that you understand the command line parameters. It is rather cumbersome but works. You need to