Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-20 Thread adev dev
I made mistake. FFMPEG2.4 + aac_quality_improvment.patch do not solve the issue with sampling rate 16000. I will wait for patch update. On 20 September 2014 15:10, adev dev wrote: > I do not know why some warnings are treated as errors. I added flag > -disable-werror but still the same. I will

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-20 Thread adev dev
I do not know why some warnings are treated as errors. I added flag -disable-werror but still the same. I will wait for update of that patch. For now I managed to build FFMPEG2.4 + aac_quality_improvment.patch. At least that problem with pulsing noice is fixed by that patch. Thanks for help! On 2

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-20 Thread Claudio Freire
On Sat, Sep 20, 2014 at 6:33 AM, adev dev wrote: > This is information about the file which cannot be compressed: > Metadata: > major_brand : isom > minor_version : 0 > compatible_brands: isom3gp4 > creation_time : 1948-08-31 11:42:22 > Duration: 00:00:47.68, start: 0.00

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-20 Thread adev dev
This is information about the file which cannot be compressed: * Metadata:major_brand : isomminor_version : 0 compatible_brands: isom3gp4creation_time : 1948-08-31 11:42:22 Duration: 00:00:47.68, start: 0.00, bitrate: 96 kb/sStream #0:0(eng): Audio: aac (mp4a

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-19 Thread Claudio Freire
On Fri, Sep 19, 2014 at 5:28 AM, adev dev wrote: > I am not using command line. It is done in code in Android project. Some > devices cannot record sound with 192000 and 44100 probably due to some > hardware limitations. In such case Android dicreases params to 96000 and > 16000. > > I can reprodu

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-19 Thread adev dev
I am not using command line. It is done in code in Android project. Some devices cannot record sound with 192000 and 44100 probably due to some hardware limitations. In such case Android dicreases params to 96000 and 16000. I can reproduce the issue when I record sound with sampling rate 32000 and

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-18 Thread Claudio Freire
On Thu, Sep 18, 2014 at 12:24 PM, Carl Eugen Hoyos wrote: > adev dev writes: > >> In this case sound is very fast and ends before >> end of movie. > > (Klaus knows at least a magnitude more about audio > than I do but I wonder if he misunderstood you.) > > Please test current (unpatched) FFmpeg a

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-18 Thread Carl Eugen Hoyos
adev dev writes: > In this case sound is very fast and ends before > end of movie. (Klaus knows at least a magnitude more about audio than I do but I wonder if he misunderstood you.) Please test current (unpatched) FFmpeg and show your command line and complete, uncut console output and ple

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-18 Thread adev dev
I will build 2.4 version with patch and write if it helps or not. Thanks! On 18 September 2014 15:41, Claudio Freire wrote: > On Thu, Sep 18, 2014 at 9:43 AM, adev dev > wrote: > > I am compressing movies from bitmaps and AAC files. Normally AAC files > are > > recorded with following params: b

Re: [Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-18 Thread Claudio Freire
On Thu, Sep 18, 2014 at 9:43 AM, adev dev wrote: > 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 sce

[Libav-user] Problem with compressing AAC files with sampling rate 16000

2014-09-18 Thread adev dev
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