[Libav-user] 答复: ADPCM Codec

许凯军 xukaijun at hikvision.com
Tue Jul 23 02:46:18 CEST 2013

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.


发件人: libav-user-bounces at ffmpeg.org [mailto:libav-user-bounces at ffmpeg.org] 代表 Mark Kenna
发送时间: 2013年7月22日 21:11
收件人: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
主题: [Libav-user] ADPCM Codec


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?

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

More information about the Libav-user mailing list