I use ffmpeg to decode flv frame to yuv420p.But I don't know how to display it on android help me please!!
I recently published some code we were using for FFMPEG on Android:
https://github.com/churnlabs/android-ffmpeg-sample/blob/master/jni/native.c
That first function, fill_bitmap(), fills an Android bitmap with the contents of an AVFrame buffer.
Not the most efficient way to do it, but it's working code. The Android bitmap is an ARGB_8888 and I just set the alpha to zero. Seemed like the best match for the formats the sws_scale() contexts supported.