Stagefright architecture
Asked Answered
F

3

18

Is there a documentation explaining android Stagefright architecture?

Can I get some pointers on these subjects?

Frump answered 4/5, 2011 at 12:6 Comment(0)
F
25

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

Furcate answered 18/7, 2011 at 15:45 Comment(0)
S
8

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 :) ):

Stripling answered 24/5, 2011 at 10:46 Comment(0)
E
5

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

Expeller answered 31/5, 2011 at 13:49 Comment(3)
I want to play .ts files in Android.I am not getting any way to play it.Please help me.Groom
Which android version you are on?Expeller
I am using ICS.Now I am able to play .ts files.Groom

© 2022 - 2024 — McMap. All rights reserved.