android - 将视频编解码器添加到 Android

标签 android video codec http-live-streaming mpeg2-ts

谁能解释一下我需要采取哪些步骤才能添加 Android 的新编​​解码器?

另外,我希望将编解码器作为应用程序的一部分安装 安装(或首次启动),而不是作为完整 Android 操作系统的一部分 构建。

我想这样做的原因是我有一个应用程序需要 显示不受支持的编解码器(HLS 或 TS)的视频,但我不会 想要构建一个成熟的视频播放器 - 只需与 现有的,内置的,播放器。

谢谢, 阿利克。

最佳答案

Can someone please explain the steps I need to take in order to add a new codec to Android?

构建您自己的固件,或构建您自己的媒体播放器(例如用于 Android 的 VLC)。

Also, I would like the codec to be installed as part of an application installation (or first launch) and NOT as part of a full Android OS build.

这是不可能的,除非您构建自己的媒体播放器。

The reason I want to do this is that I have an application that needs to show a video of a non supported codec (HLS or TS), but I wouldn't want to build a full blown video player - just integrate with the existing, built-in, player.

适用于 Android 的 VLC 即将推出(至少对于某些手机而言),因此它可能能够播放您的格式。

关于android - 将视频编解码器添加到 Android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4678739/

相关文章:

android - e : [kapt] An exception occurred: android. databinding.tool.util.LoggedErrorException: 发现数据绑定(bind)错误

android - 运行针对 Android 设备使用共享库的交叉编译 C 应用程序

android - Grafika 和 OpenGL 在 android 上以方形录制视频

java - 在 Android 游戏逻辑中解锁关卡

android - 在 Horizo​​ntalListView 项目中单击时 Youtube 视频不会停止

flash - 如何构建可动态调整大小的 Flash 播放器

audio - 实时消息协议(protocol)流的所有可能容器

video - 使用 libav/ffmpeg 在 UDP 流中找到更好的 VP8 参数以实现稳健性

linux - OpenCV:如何获取可用编解码器的列表?