<div dir="ltr">I am compressing movies from bitmaps and AAC files. Normally AAC files are recorded with following params: bit rate: 192000, sampling rate 44100. These audio params are set in output context (AVFormatContext) in compression. In happy day scenario it is working correctly. Movie and sound are correct.<div><br></div><div>The problem occures if sound params are "strange". From time to time I have AAC files recorded with params: bitrate 96000, sampling rate 16000. In this case sound is very fast and ends before end of movie. If I set these params (96000, 16000) in output context there is no sound in the movie at all. Created movie file has audio stream with bitrate about 500 b/s what is really strange. </div><div><br></div><div>What else has to be set in FFMPEG to correctly compress AAC files with bit rate 96000 and sampling rate 16000?</div><div><br></div><div>I am using FFMPEG 2.1 and native AAC encoder.</div></div>