关于libavcodec/libstagefright.cpp的邮件来往

注:这个是别人的,不是我本人。
宋骐 |  11 May 2012 16:26
Picon 

A question about Stagefright library

hello,
I'm working on android programming and want to use hardware decoder to
decode H264 video stream. I noticed that  ffmpeg has already included
(libavcodec/libstagefright.cpp) and claimed to support H264's hardware
decoding through StageFright framework. But I have checked the Internet and
didn't find enough information about how to use Stagefright library. Can
you provide me some Technical information?

Best!

--
Permalink |  Reply | 
jiayaowang |  12 May 2012 11:04
Picon 

Re: A question about Stagefright library

Hi Qi,

I think libavcodec/libstagefright.cpp only a h.264 software decoder implement, that try to can be loaded
in Android StageFright.
For H/W deocder I suggest OMX IL.

Thanks. 


2012-05-12 



jiayaowang 



发件人: 宋骐 
发送时间: 2012-05-11  22:26:50 
收件人: ffmpeg-devel 
抄送: 
主题: [FFmpeg-devel] A question about Stagefright library 
 
hello,
I'm working on android programming and want to use hardware decoder to
decode H264 video stream. I noticed that  ffmpeg has already included
(libavcodec/libstagefright.cpp) and claimed to support H264's hardware
decoding through StageFright framework. But I have checked the Internet and
didn't find enough information about how to use Stagefright library. Can
you provide me some Technical information?
(Continue reading)

Permalink |  Reply | 
宋骐 |  13 May 2012 06:00
Picon 

Re: A question about Stagefright library

Thanks,
I'll try to do some work with OMX  IL.I wonder maybe H/W decoder in ffmpeg
is also based on OMX.

2012/5/12 jiayaowang <jiayaowang <at> gmail.com>

> Hi Qi,
>
> I think libavcodec/libstagefright.cpp only a h.264 software decoder
> implement, that try to can be loaded in Android StageFright.
> For H/W deocder I suggest OMX IL.
>
> Thanks.
>
>
> 2012-05-12
>
>
>
> jiayaowang
>
>
>
> 发件人: 宋骐
> 发送时间: 2012-05-11  22:26:50
> 收件人: ffmpeg-devel
> 抄送:
> 主题: [FFmpeg-devel] A question about Stagefright library
>
> hello,
(Continue reading)

Permalink |  Reply | 
宋骐 |  13 May 2012 19:16
Picon 

Re: A question about Stagefright library

Sorry to bother you,
I have another question,if h264.c in libavcodec is just for software decode
and libstagefright is just for hardware decode?I'm now trying to use
stagefright in Android directly to do H/W decoder.

Thanks
2012-05-13

2012/5/12 jiayaowang <jiayaowang <at> gmail.com>

> Hi Qi,
>
> I think libavcodec/libstagefright.cpp only a h.264 software decoder
> implement, that try to can be loaded in Android StageFright.
> For H/W deocder I suggest OMX IL.
>
> Thanks.
>
>
> 2012-05-12
>
>
>
> jiayaowang
>
>
>
> 发件人: 宋骐
> 发送时间: 2012-05-11 22:26:50
> 收件人: ffmpeg-devel
(Continue reading)

Permalink |  Reply | 
jiayaowang |  14 May 2012 06:32
Picon 

Re: A question about Stagefright library

FFmpeg is software decoder.
libstagefright can support software (Google implement AVC, MPEG4, VP8, AAC, MP3, etc) and hardware
decoder (some IC Vendors implement HW decoder core, TI, ST, etc.)



2012-05-14 



jiayaowang 



发件人: 宋骐 
发送时间: 2012-05-14  01:16:41 
收件人: FFmpeg development discussions and patches 
抄送: 
主题: Re: [FFmpeg-devel] A question about Stagefright library 
 
Sorry to bother you,
I have another question,if h264.c in libavcodec is just for software decode
and libstagefright is just for hardware decode?I'm now trying to use
stagefright in Android directly to do H/W decoder.
Thanks
2012-05-13
2012/5/12 jiayaowang <jiayaowang <at> gmail.com>
> Hi Qi,
>
> I think libavcodec/libstagefright.cpp only a h.264 software decoder
(Continue reading)

Permalink |  Reply | 
Mohamed Naufal |  14 May 2012 21:23
Picon 

Re: A question about Stagefright library

Hi,

On 13 May 2012 22:46, 宋骐 <songqi1990 <at> gmail.com> wrote:
> Sorry to bother you,
> I have another question,if h264.c in libavcodec is just for software decode
> and libstagefright is just for hardware decode?I'm now trying to use
> stagefright in Android directly to do H/W decoder.
>

The libstagefright decoder in ffmpeg interfaces with the android
stagefright library. Stagefright is a wrapper over the iomx/omx layer
in android. The actual codec implementation in this layer can be
either in software (as in emulators) or hardware (most devices).

To build ffmpeg with libstagefright, run tools/build_libstagefright.
To use it in your application, you'll have to link against these
android libs: libstagefright.so, libbinder.so, libutils.so,
libmedia.so.

Regards,
Naufal

> Thanks
> 2012-05-13
>
> 2012/5/12 jiayaowang <jiayaowang <at> gmail.com>
>
>> Hi Qi,
>>
>> I think libavcodec/libstagefright.cpp only a h.264 software decoder
(Continue reading)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值