2

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.

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

2 Comments

I am developing for android 3.2+. Is there any docs regarding libstagefright?
Using the default mediaplayer and other classes should use the stagefright libraries.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.