[FFmpeg-devel] [PATCH] audio conversion clipping/overflows
Vitor Sessak
vitor1001
Mon Mar 1 17:47:31 CET 2010
On Mon, Mar 1, 2010 at 3:18 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> Hi,
>
> float 1.0 rounds to int INT_MIN (whatever int size). This leads to
> considerable audio clipping artifacts.
The way all the others codecs do is to clip in the range [-1;
32767./(1<<15)], but what is IMO the right solution was discussed in
this thread: [1].
-Vitor
[1] http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-August/073854.html
More information about the ffmpeg-devel
mailing list