简体   繁体   English

怯场架构

[英]Stagefright architecture

Is there a documentation explaining android Stagefright architecture?是否有解释 android Stagefright 架构的文档?

Can I get some pointers on these subjects?我可以就这些主题获得一些指示吗?

A good explanation of stagefright is provided athttp://freepine.blogspot.com/2010/01/overview-of-stagefrighter-player.html . http://freepine.blogspot.com/2010/01/overview-of-stagefrighter-player.html提供了对 stagefright 的一个很好的解释。

There is a new playback engine implemented by Google comes with Android 2.0 (ie, Stagefright), which seems to be quite simple and straightforward compared with the OpenCORE solution. Android 2.0(即Stagefright)由谷歌实现的新播放引擎,与OpenCORE解决方案相比似乎相当简单直接。

  • MediaExtractor is responsible for retrieving track data and the corresponding meta data from the underlying file system or http stream; MediaExtractor 负责从底层文件系统或 http stream 中检索轨道数据和对应的元数据;
  • Leveraging OMX for decoding: there are two OMX plugins currently, adapting to PV's software codec and vendor's hardware implementation respectively.利用 OMX 进行解码:目前有两个 OMX 插件,分别适应 PV 的软件编解码器和供应商的硬件实现。 And there is a local implementation of software codecs which encapsulates PV's decoder APIs directly;并且有一个软件编解码器的本地实现,它直接封装了 PV 的解码器 API;
  • AudioPlayer is responsible for rendering audio, it also provides the timebase for timing and A/V synchronization whenever audio track is present; AudioPlayer 负责渲染音频,它还为存在音轨时的定时和 A/V 同步提供时基;
  • 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. AwesomePlayer作为引擎协调上述模块,最终通过StagefrightPlayer的适配器接入android媒体框架。

在此处输入图像描述

Look at thispost .看看这个帖子

Also, Android player is built up using PacketVideo (PV) Player, and here comes the docs about it (beware of really slow transfer speed:) ):此外,Android 播放器是使用 PacketVideo (PV) 播放器构建的,这里有关于它的文档(请注意传输速度非常慢:)):

Starting Gingerbread, it is Stagefright framework instead of PV framework.启动 Gingerbread 是 Stagefright 框架而不是 PV 框架。 Above link has good info about the framework.上面的链接有关于框架的很好的信息。 If you have some specific questions, I may be able to help you out.如果你有一些具体的问题,我也许可以帮助你。

Thanks, Dolphin谢谢,海豚

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM