怯场建筑

发布于 2024-11-05 04:31:10 字数 66 浏览 3 评论 0原文

有没有解释 android Stagefright 架构的文档?

我可以获得有关这些主题的一些指导吗?

Is there a documentation explaining android Stagefright architecture?

Can I get some pointers on these subjects?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

如梦 2024-11-12 04:31:10

http://freepine.blogspot 提供了对 stagefright 的很好的解释.com/2010/01/overview-of-stagefrighter-player.html

Android 2.0 中 Google 实现了一个新的播放引擎(即 Stagefright),与 OpenCORE 解决方案相比,它似乎相当简单和直接。

  • MediaExtractor负责从底层文件系统或http流中检索轨道数据和相应的元数据;
  • 利用OMX进行解码:目前有两个OMX插件,分别适应PV的软件编解码器和供应商的硬件实现。并且有软件编解码器的本地实现,直接封装PV的解码器API;
  • AudioPlayer 负责渲染音频,它还提供时基,以便在音轨存在时进行计时和 A/V 同步;
  • 根据选择的编解码器,将为视频渲染创建本地或远程渲染;系统时钟用作仅视频播放的时基;
  • AwesomePlayer作为引擎协调上述模块,最终通过StagefrightPlayer的适配器接入android媒体框架。

在此处输入图像描述

A good explanation of stagefright is provided at http://freepine.blogspot.com/2010/01/overview-of-stagefrighter-player.html.

There is a new playback engine implemented by Google comes with Android 2.0 (i.e, Stagefright), which seems to be quite simple and straightforward compared with the OpenCORE solution.

  • MediaExtractor is responsible for retrieving track data and the corresponding meta data from the underlying file system or http stream;
  • Leveraging OMX for decoding: there are two OMX plugins currently, adapting to PV's software codec and vendor's hardware implementation respectively. And there is a local implementation of software codecs which encapsulates PV's decoder APIs directly;
  • AudioPlayer is responsible for rendering audio, it also provides the timebase for timing and A/V synchronization whenever audio track is present;
  • Depending on which codec is picked, a local or remote render will be created for video rendering; and system clock is used as the timebase for video only playback;
  • AwesomePlayer works as the engine to coordinate the above modules, and is finally connected into android media framework through the adapter of StagefrightPlayer.

enter image description here

掌心的温暖 2024-11-12 04:31:10

看看这篇帖子

另外,Android 播放器是使用 PacketVideo (PV) Player 构建的,这里有关于它的文档(注意传输速度非常慢:)):

Look at this post.

Also, Android player is built up using PacketVideo (PV) Player, and here comes the docs about it (beware of really slow transfer speed :) ):

流殇 2024-11-12 04:31:10

从 Gingerbread 开始,它是 Stagefright 框架而不是 PV 框架。上面的链接有关于框架的很好的信息。如果您有一些具体问题,我也许可以帮助您。

谢谢,海豚

Starting Gingerbread, it is Stagefright framework instead of PV framework. Above link has good info about the framework. If you have some specific questions, I may be able to help you out.

Thanks, Dolphin

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文