开发者

Accessing Native Codecs in Android 3.x version and above

I would like to use the native decode开发者_开发百科r for a custom video player. The VideoView and MediaPlayer does not provide functionality that will support my requirements.

I am using FFMPEG (software decoder) right now, but I would prefer to use native hardware decoding if possible. Is there a way to do this through the NDK?


There isn't currently a public API available for accessing any native hardware and I believe the presence of such hardware isn't guaranteed. While you could go digging into the DSP capabilities of the ARM processors being used by some devices it wouldn't be portable to all Android devices.

I would recommend continuing your software approach for guaranteed support on all devices.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜