谁能解释一下我需要采取哪些步骤才能添加 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/