<div dir="ltr">I will build 2.4 version with patch and write if it helps or not. Thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 September 2014 15:41, Claudio Freire <span dir="ltr"><<a href="mailto:klaussfreire@gmail.com" target="_blank">klaussfreire@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Sep 18, 2014 at 9:43 AM, adev dev <<a href="mailto:androiddevmar11@gmail.com">androiddevmar11@gmail.com</a>> wrote:<br>
> I am compressing movies from bitmaps and AAC files. Normally AAC files are<br>
> recorded with following params: bit rate: 192000, sampling rate 44100. These<br>
> audio params are set in output context (AVFormatContext) in compression. In<br>
> happy day scenario it is working correctly. Movie and sound are correct.<br>
><br>
> The problem occures if sound params are "strange". From time to time I have<br>
> AAC files recorded with params: bitrate 96000, sampling rate 16000. In this<br>
> case sound is very fast and ends before end of movie. If I set these params<br>
> (96000, 16000) in output context there is no sound in the movie at all.<br>
> Created movie file has audio stream with bitrate about 500 b/s what is<br>
> really strange.<br>
><br>
> What else has to be set in FFMPEG to correctly compress AAC files with bit<br>
> rate 96000 and sampling rate 16000?<br>
><br>
> I am using FFMPEG 2.1 and native AAC encoder.<br>
<br>
<br>
</div></div>If you can build from source, try head after applying the patch in<br>
here: <a href="https://trac.ffmpeg.org/attachment/ticket/2686/aac-improvements-wip-v8g.patch" target="_blank">https://trac.ffmpeg.org/attachment/ticket/2686/aac-improvements-wip-v8g.patch</a><br>
<br>
It fixes some issues with some sampling rates, although your issue<br>
doesn't sound familiar to me, it's worth a try.<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br></div>