android777
unread,Jan 26, 2011, 4:01:45 PM1/26/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-ndk
Hi,
I have been trying to port the ffmpeg to android. I am using the
ffplay from ffmpeg code. I call avcodec_decode_video2 to decode the
video and I think it will output the frame in native format. Now I
call sws_getContext and sws_scale to change the format of the frame to
PIX_FMT_RGB24, so that i can display an RGB image.
I get the frame, but I am not sure whether it is in RGB format or not.
And when I send it to java code through JNI, the result is nothing. I
don't understand how to display this frame?
Can somebody please help me how I can proceed with this? Also I need
to know whether the rgb frame that I get in native code is correct or
not?