i am developing a media player application in android which uses ffmpeg for decoding which i think is software decoding. it doesn't play high resolution videos smoothly so i would like to switch to hardware decoding. I came to know that libstagefright will do the thing. But how to implement it using libstagefright? Is there any samples or documentation . Please help in using the libstagefright.
Asked
Active
Viewed 1,648 times
1 Answers
1
if you are using ICS you can use MediaCodec to encode or decode using hardware. see http://developer.android.com/reference/android/media/MediaCodec.html for more details and examples. Thanks, NinjAndroid, MoMinis R&D team

NinjAndroid
- 63
- 1
- 5
-
I am developing for android 3.2+. Is there any docs regarding libstagefright? – Anoop AR. Aug 22 '12 at 08:17
-
Using the default mediaplayer and other classes should use the stagefright libraries. – av501 Aug 22 '12 at 18:08