[Libav-user] HW decoding on Android

Niu Licheng niulicheng at gmail.com
Sat Jun 22 15:40:17 CEST 2013


i don't suggest using libstagefright in ffmpeg. i guess there would be oncompatible on many devices.
i used to develop an android by using openmax il api directly. many work had been done to fix incompatible.

Abel Alonso <abelalon at gmail.com>写到:

>This solution is not valid for my purposes, because the application I'm
>developing must run on all android versions since Gingerbread. That is
>why
>I'm asking about how to use libstagefright with FFmpeg.
>El 22/06/2013 00:45, "Andy Shaules" <bowljoman at gmail.com> escribió:
>
>>  On 6/21/2013 1:45 PM, Abel Alonso wrote:
>>
>> Hi!
>>
>>  I'm developing a video player for Android devices using FFmpeg. This
>> video player is already capable to play videos without hardware
>> acceleration. As far as I know, since 0.9 version, FFmpeg can H/W
>decode
>> H.264 files on Android devices, but I didn't found documentation on
>this
>> subject. I guess that the way to do it, is using
>> --enable-libstagefrihgt-h264 during FFmpeg compilation and link
>against the
>> needed Android's .so files.
>>
>>  But once I get FFmpeg compiled. Have I to change my current code to
>ask
>> FFmpeg for use libstagefright decoder? Is there any other way to
>decode
>> H.264 files on Android devices using H/W acceleration (libva or
>libvdpau)?
>> Any suggestions?
>>
>>  Thanks!
>>
>>
>> _______________________________________________
>> Libav-user mailing
>listLibav-user at ffmpeg.orghttp://ffmpeg.org/mailman/listinfo/libav-user
>>
>>  Its on jelly bean, but I used this.  Got pretty darn  low latency.
>went
>> direct from av_codec to that
>>
>> http://developer.android.com/reference/android/media/MediaCodec.html
>>
>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libav-user mailing list
>Libav-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/libav-user

-- 
抱歉暂时无法详细说明。这份邮件是使用安装有Gmail专业版的Android移动设备发送的。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130622/cf0946f2/attachment.html>


More information about the Libav-user mailing list