[FFmpeg-devel] Use ffmpeg as an Android stagefright plugin

Xiong Tang tangx5047 at gmail.com
Thu Nov 20 03:49:31 CET 2014


Michael Chen's good work(libstagefirght ffmepg extension) is especially
useful to handle  codecs which google is unwiiling to support,for the
reason of license fee, such as  rv,ra,wma,etc.As for those commonly used
codecs h264,aac, it's better way to use original libstagefright and omx
hardware codec to handle them.

2014-11-12 23:28 GMT+08:00 Fabio Fumi <ffumi68 at googlemail.com>:

> Sorry posted wrong logcat fragment in my last update.
> During playback I keep getting messages like these below, though no image
> is shown:
>
> ...
> V/ACodec  (   75): [OMX.ffmpeg.h264.decoder] calling emptyBuffer 0x2a06c4f0
> w/ time 53232200 us
> V/ACodec  (   75): [OMX.google.aac.decoder] onOMXFillBufferDone 0x2a06aa48
> time 53266566 us, flags = 0x00000000, dataPtr = 0x42cf7000
> V/ACodec  (   75): [OMX.google.aac.decoder] onOMXEmptyBufferDone 0x2a0df9c0
> V/ACodec  (   75): [OMX.google.aac.decoder] calling emptyBuffer 0x2a0df9c0
> w/ time 53336233 us
> V/ACodec  (   75): [OMX.google.aac.decoder] calling emptyBuffer 0x2a07a038
> w/ time 53359455 us
> V/ACodec  (   75): [OMX.ffmpeg.h264.decoder] onOMXFillBufferDone 0x2a067240
> time 52912200 us, flags = 0x00000000, dataPtr = 0x4452e000
> V/ACodec  (   75): [OMX.ffmpeg.h264.decoder] calling fillBuffer 0x2a067240
> V/ACodec  (   75): [OMX.ffmpeg.h264.decoder] onOMXEmptyBufferDone
> 0x2a06cfb0
> V/ACodec  (   75): [OMX.ffmpeg.h264.decoder] calling emptyBuffer 0x2a06cfb0
> w/ time 53152200 us
> V/ACodec  (   75): [OMX.ffmpeg.h264.decoder] onOMXFillBufferDone 0x2a0d4d48
> time
> ...
>
> On Sunday, 11 August 2013 01:25:25 UTC-7, Chih-Wei Huang wrote:
> >
> > Hello ffmpeg list,
> > I'm planning to integrate the latest ffmpeg as
> > a stagefright OMXPlugin with Android-x86 4.3.
> > I found the stagefright-plugins developed by
> > Michael Chen is a good start.
> > (repo: https://github.com/omxcodec/stagefright-plugins.git)
> > But it's based on android 4.0 (ICS).
> >
> > My plan is:
> > * Update stagefright-plugins to work with
> >   stagefright of android 4.3.
> > * Make it to be a libstagefrighthw.so plugin.
> > * Create Android.mk to build ffmpeg libs.
> >
> > Before I go ahead, I'd like to know
> > if anyone is doing a similar project
> > to avoid duplicate work.
> > Thanks a lot!
> >
> >
> > --
> > Chih-Wei
> > Android-x86 project
> > http://www.android-x86.org
> >
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


-- 
   ,你好


More information about the ffmpeg-devel mailing list