[Libav-user] Audio quality loss while encoding

Claudio Freire klaussfreire at gmail.com
Wed Apr 24 17:30:44 CEST 2013

On Wed, Apr 24, 2013 at 8:21 AM, Pradeep Karosiya <praks411 at gmail.com> wrote:
> The codec id used is AV_CODEC_ID_AAC. The encoding goes fine but I'm getting
> some noise is the final audio output. The quality is getting degraded.
> However if the number of channels is 1 then I'm getting same quality as the
> input file

I also experienced this when encoding AAC, so I stopped using AAC.

I'm not using the very latest ffmpeg, so I didn't bother reporting the
issue, and it's been on my To-Do to check the latest version for a
while. Been busy and all. Anyway, I thought I'd say "me too", and add
that it does seem related to the AAC encoder, because it only happens
with AAC.

It's not so much noise, as "clicks". Probably some buffer alignment mishap.

More information about the Libav-user mailing list