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

Fabio Fumi ffumi68 at googlemail.com
Wed Nov 12 16:28:52 CET 2014


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 
>


More information about the ffmpeg-devel mailing list