I found the example of ffmpeg also has the problem , it seems that the decode_audio api has some bug in it -- View this message in context: http://libav-users.943685.n4.nabble.com/convert-mp3-to-aac-tp4657370p4657417.html Sent from the libav-users mailing list archive at Nabble.com.