If you cannot figure out the reason why, by setting av_log_setcallback to get the detail info.
I have encountered last week: PCMU - avcodec_open2 return -22 Unknow Error Now, I have solved it. xukaijun 发件人: [email protected] [mailto:[email protected]] 代表 Mark Kenna 发送时间: 2013年7月22日 21:11 收件人: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. 主题: [Libav-user] ADPCM Codec All I am getting a return value of -22 when calling avcodec_open2 with a CodecId of 'AV_CODEC_ID_ADPCM_G726' (and the same for any other PCM based codecs). Could anyone indicate why this would be the case? Thanks, Mark.
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
