[vlc-devel] [PATCH] opus: apply soft clipping when decoding

Tristan Matthews tmatth at videolan.org
Tue Jun 27 19:58:23 CEST 2017


On Tue, Jun 27, 2017 at 1:52 PM, Francois Cartegnie <fcvlcdev at free.fr> wrote:
> Le 27/06/2017 à 19:37, Tristan Matthews a écrit :
>> This patch uses Opus' soft clipping API to avoid clipping when decoding.
>> This is preferable to hard clipping which will introduce undesired
>> harmonics.
>
> Chained Opus glitches ?

I was able to have the decoder output samples > 1.0 and < -1.0 on
every test case I tried, including the chained samples.
(Paraphrasing Jean-Marc Valin) "Basically any music mastered in the
last 15 years will be at the rails and clip when decoded".


More information about the vlc-devel mailing list