I need hardware-accelerated H.264 decoding for a research project, to test a self-defined protocol.
As I have Search on the web, I have found a few ways to perform hardware-accelerated video decoding on Android.
- Use ffmpeg libstagefright (overview of libstagefright) or use libstagefright in the OS directly, like here.
- Use OpenMax on specific hardware platform. like here about samsung device and here about Qualcomm Snapdragon series
- Some people mentioned PVplayer,
Some people "say" libstagefright is the only way while Qualcomm guys have made success obviously.
Currently I am not sure which way could work. I am a little confused now. If all could work, I would certainly prefer a hardware independent method.
As I have tested a few video players of their H/W acceleration with Galaxy Tab 7.7(3.2 & Enxyos), VLC, Mobo, Rock, vplayer, rock and mobo work fine, VLC doesn't work, vplayer seems to have a rendering bug which costs its performance.
Anyway, I did an 'operation' on Rockplayer and deleted all its .so libs in data\data\com.redirecting\rockplayer, and software decoding crashes while hw decoding works still fine! I wonder how they did that. It appears to me that hw acceleration could be independent of hardware platforms.
Can someone nail this problem? Or provide any reference with additional information or better details?