[Libav-user] 回复:回复:what's the extradata should be when using ffmpeg+libstagefright?
Mark Ma
gbstack08 at gmail.com
Mon Dec 2 04:14:25 CET 2013
On 2013/12/2 9:32, ahqzy at 163.com wrote:
>
> ?
>
>
> 发自我的iPhone
>
> 在2013-12-02 <tel:2013-12-02> 09:32:16.16,ahqzy at 163.com写到:
>
> ------------------------------------------------------------------------
>
> anybody can help?
>
>
> 发自我的iPhone
>
> 在2013-11-24 <tel:2013-11-24> 17:05:04.4,ahqzy at 163.com写到:
>
> ------------------------------------------------------------------------
> Hi all,
> To using hardware decoding, I compiled ffmpeg(0.10) with
> andorid libstagefright successfully. When I call it, in the
> Stagefright_init(AVCodecContext *avctx), the extradata must be
> specified as below in the source:
>
> static av_cold int Stagefright_init(AVCodecContext *avctx)
> {
> ……
> ……
> if (!avctx->extradata || !avctx->extradata_size ||
> avctx->extradata[0] != 1)
> return -1;
> ……
> }
> I dont't konw how to fill the avctx->extradata, anyone can help me?
>
>
>
>
>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
Please stop spamming
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131202/e52ea287/attachment.html>
More information about the Libav-user
mailing list