Re: Question about ABR Presets on CBR mode
Gabriel Bouvigne <[email protected]> Wed, 19 Jun 2019 12:02:25 +0200
| Newsgroups | gmane.comp.audio.mp3.lame |
|---|---|
| Message-ID | <[email protected]> |
On 2019-06-19 07:01, 장렬 wrote: > I noticed ABR presets applied when CBR is on. > > A side effect of this is decreasing loudness on low bitrates(~192kbps). > > /* ABR seems to have big problems with clipping, especially at low > bitrates */ > /* so we compensate for that here by using a scale value depending on > bitrate */ > lame_set_scale(gfp, lame_get_scale(gfp) * abr_switch_map[r].scale); > > ------------------------------------ > > Is this a bug, or a feature? Is apply_abr_preset necessary for CBR? Hello, It's actually a feature. Clipping after encoding/decoding is more likely to happen at lower bitrates, and this is actually applicable to both CBR and ABR. What causes clipping is the rounding/changing of values due to requantization, which is coarser when the bitrate is lower. Regards, -- Gabriel Bouvigne _______________________________________________ Lame-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lame-dev