大佬教程收集整理的这篇文章主要介绍了在FFmpeg for Android中解码AAC,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我使用以下代码初始化编解码器.
codec = avcodec_find_decoder(CODEC_ID_AAC); c= avcodec_alloc_context(); avcodec_open(c,codec);@H_618_10@但是,当我稍后尝试使用以下方法解码帧时:
len = avcodec_decode_audio3(c,(short *)mOutbuf,&out_size,&avpkt);@H_618_10@
10-11 16:30:01.115: INFO/M4ADecoder(5260): chAnnel element 0.0 is not allocated 10-11 16:30:02.195: INFO/M4ADecoder(5260): chAnnel element 2.0 is not allocated 10-11 16:30:03.295: INFO/M4ADecoder(5260): chAnnel element 0.6 is not allocated 10-11 16:30:07.645: INFO/M4ADecoder(5260): Sample rate index in program config element does not match the sample rate index configured by the container. 10-11 16:30:07.655: INFO/M4ADecoder(5260): number of bands (3) exceeds limit (2).@H_618_10@
以上是大佬教程为你收集整理的在FFmpeg for Android中解码AAC全部内容,希望文章能够帮你解决在FFmpeg for Android中解码AAC所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。