[Libav-user] =?utf-8?Q?=E5=9B=9E=E5=A4=8D=3A=E5=9B=9E=E5=A4=8D=3Awhat's__?=the extradata should be when using ffmpeg+libstagefright?

ahqzy@163.com ahqzy at 163.com
Mon Dec 2 02:32:31 CET 2013


?





发自我的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?





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131202/57d07326/attachment.html>


More information about the Libav-user mailing list