android - 使用 OpenMAX AL 构建 android H264 解码器

标签 android android-ndk hardware-acceleration openmax

我正在尝试使用 OpenMAX AL API 开发 H264 硬件加速视频解码器。但是this文件指出 -

The only supported way to supply multimedia content is via an MPEG-2 transport stream.

但根据维基百科,MPEG-2H262 和较早的 H264 的低级版本。那么解码 H264 应该工作吗?

此外,上述文件指出 -

The major feature is the ability to play an MPEG-2 transport stream containing a single program stream made up of one H.264 video elementary stream and one AAC audio elementary stream.

那么这里的事实是什么?我可以使用 OpenMax AL 解码 H264 Baseline Annex B 流吗?还是我需要使用 OpenMax ILstagefright

最佳答案

嗯,OpenMax AL 只支持通过缓冲队列解码 MPEG-2 传输流。这排除了为此传递原始 h264 NALU 或其他媒体格式。

关于android - 使用 OpenMAX AL 构建 android H264 解码器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32397310/

相关文章:

android - Android 权限列表 --> 如何在 Google Play 中向用户声明它们

android - Qt TouchBegin touchPoint.pos() 停留在 0,0

java - Android NDK - 在不同的 header 中包含 C++ header ?

android - cordova 创建 android 项目时有没有办法指定 gradle 版本?

css - 移动 safari 的硬件加速 CSS 属性列表

java - 使用字符串数组中的 RadioButtons 填充 RadioGroup

android - 手动更改权限时崩溃

c++ - "The C Compiler [...] is not able to compile a simple test program"使用 CMake 和 Android NDK

c++ - 使用 MMU 实现可调整大小的数组

iphone - iPad/iPhone硬件加速动画需要满足什么条件?