硬件加速FFmpeg的android上? [英] Hardware accelerated FFmpeg on android?

查看:2581
本文介绍了硬件加速FFmpeg的android上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编译的FFmpeg的Andr​​oid的一个旧版本(如果我没有记错是0.6.X)。 FFmpeg的德codeS视频帧,扩展它,那么我使用OpenGL绘制在屏幕上。据我所知道的,问题是解码和缩放---他们不是硬件加速。

我的问题是:

  1. 是FFmpeg的硬件加速的ARM(安卓)处理器?
  2. 最新版本
  3. 我要对这个错误的方式?即,是否有这样做的更好的办法?其中,这个正在播放的H264高清视频的视频动态壁纸---帧率需要是高,所以硬件加速需要随时可用。
解决方案
  1. 我是这么认为的,是的。请参阅: http://ffmpeg.org/#pr9 。 有H264在Android的硬件加速解码的主要版本是和谐0.9

  2. 如果您使用的是德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:

  1. Is the latest version of FFmpeg hardware accelerated for ARM (Android) processors?
  2. 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.

解决方案

  1. 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

  2. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆