媒体codeC ExtractMpegFramesTest例如不匹配 [英] mediacodec ExtractMpegFramesTest example mismatch

查看:301
本文介绍了媒体codeC ExtractMpegFramesTest例如不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行本示例的的 http://bigflake.com/media$c$cc/相对=nofollow> bigflake ,我认为这是有不匹配。

I tried to run This example from bigflake and I think that there is a mismatch.

他们写ExtractMpegFramesTest.java(需要4.1 API 16),因此所需的最小API为16,
但我期待在code和他们使用的进口android.opengl.EGL14;这需要最低17 API

they write "ExtractMpegFramesTest.java (requires 4.1, API 16) " so the minimum API required is 16, but I look over the code and they use "import android.opengl.EGL14;" which required minimum API 17.

有没有人遇到过这个问题,并成功解决了吗?(成功保存在Android 4.1设备10帧)

Has anyone encountered this problem and succeeded to solve it?(succeeded to save 10 frames on Android 4.1 device)

推荐答案

我已经更新的网站有使用EGL 1.0使用EGL 1.4的源文件,一加一的两个副本。我做了一个快速测试的SDK,创造了16 API的应用程序,以确认它不再使用后4.1的API。我还没有尝试过但运行Android 4.1在实际设备上。

I've updated the site to have two copies of the source file, one that uses EGL 1.0 and one that uses EGL 1.4. I did a quick test with the SDK, creating an app for API 16, to confirm that it's no longer using post-4.1 APIs. I haven't tried it on an actual device running 4.1 however.

这篇关于媒体codeC ExtractMpegFramesTest例如不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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