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

ahqzy@163.com ahqzy at 163.com
Sun Nov 24 10:05:49 CET 2013

anybody can help?


在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/20131124/7b93b7f7/attachment.html>

More information about the Libav-user mailing list