Take a look at the Stagefright multimedia framework which was
introduced in Android 2.2.
It has MPEG-TS support with some limitations. The Android MediaPlayer
API sits on top of stagefright.
What you gain is hardware accelerated video playback.  What you loose
is flexibility.

Ffmpeg has been ported to android .  Its a software decoder solution.
You can find references to it on the web
Most 3rd  party video player apps you find in the android market use
ffmpeg.

Another option to look at is GStreamer.  Last I checked people were
working on a Android port.



On Feb 14, 8:45 pm, "petr.maza...@mautilus.com"
<petr.maza...@mautilus.com> wrote:
> I am receiving the MPEG-TS (MPEG transport stream) packets with the
> multiplexed H.264 video and AAC audio streams. I need to be able to
> show the audio and video on the Android phone. My assumption is that I
> need:
>
>     * MPEG-TS de-multiplexer
>     * AAC decoder
>     * H.264 decoder
>     * Synchronize the audio and video playback
>
> Assuming that I am right then (in Android 2.x) MPEG-TS de-multiplexer
> is not part of the OS and must be ported, both AAC and H.264 decoder
> are part of the Android OS, but I am not sure if they have interface,
> which allows passing the data in buffers and if they allow mutual
> timing synchronization. In the worst case those components must be
> ported here as well.
>
> Can you give me some advices where to start? I was thinking about the
> FFMPEG porting. Are there any other ways?
>
> Regards, STeN

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to