硬件加速FFmpeg的android上? [英] Hardware accelerated FFmpeg on android?
问题描述
我编译的FFmpeg的Android的一个旧版本(如果我没有记错是0.6.X)。 FFmpeg的德codeS视频帧,扩展它,那么我使用OpenGL绘制在屏幕上。据我所知道的,问题是解码和缩放---他们不是硬件加速。
我的问题是:
- 是FFmpeg的硬件加速的ARM(安卓)处理器? 最新版本
- 我要对这个错误的方式?即,是否有这样做的更好的办法?其中,这个正在播放的H264高清视频的视频动态壁纸---帧率需要是高,所以硬件加速需要随时可用。
-
我是这么认为的,是的。请参阅: http://ffmpeg.org/#pr9 。 有H264在Android的硬件加速解码的主要版本是和谐0.9
-
如果您使用的是德codeR,是以硬件加速的优势,当它用,我看不出你如何能做到更好......
I compiled an older version of FFmpeg for Android (if I recall correctly it was 0.6.X). FFmpeg decodes a video frame, scales it, then I'm using OpenGL to draw it on the screen. As far as I can tell, the problem is the decoding and scaling---they're not hardware accelerated.
My question is:
- Is the latest version of FFmpeg hardware accelerated for ARM (Android) processors?
- Am I going about this the wrong way? i.e., is there a better way of doing this? Where "this" is playing a h264 HD video as a video live wallpaper---the framerate needs to be high, so hardware acceleration is desirable whenever available.
I think so , yes. see : http://ffmpeg.org/#pr9 . the major release that has the hardware accelerated decoding of h264 on Android is Harmony 0.9
if you use a decoder that takes advantage of the hardware acceleration, when it's available, I don't see how you can do better...
这篇关于硬件加速FFmpeg的android上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!