Re: Resurrecting/Preserving the Helix MP3 encoder
Reply #162 – 2023-06-11 13:55:57
Yeah, the AAC encoder would have been very interesting, albeit I'm not sure it would be as mature compared to other AAC encoders as the Helix encoder is compared to other MP3 encoders. The Helix MP3 encoder has been around for a long time before being open-sourced. While I trust LAME more for (near-)transparent encodes (on grounds of being well-tested), at non-transparent, low bitrates (such as 96 kbps) it appears that Helix is pretty well tuned to keep the typical low-bitrate-MP3-artifacts somewhat less annoying. For instance, check https://lame.sourceforge.io/download/samples/iron.wv (this is a sample file losslessly encoded with wavpack), decoded to iron.wav:lame -q0 -b96 --lowpass 16000 --resample 44100 iron.wav lame.mp3 and compare tohmp3 iron.wav hmp3.mp -b48 -F16000 (96 kbps stereo, lowpass 16000 Hz, 44100 Hz samplerate - well outside the usual comfort zone) I'm aware that we do not listen with our eyes and that at HA, sound quality is not to be judged via spectograms, but this is an example where LAME has very audible problems with "bald patches"/"holes" in the spectogram, leading to the familiar "MP3 at too low a bitrate" artifacts, while Helix seems to be able to keep the frequency bands stocked much better, with obvious audible differences (looking nervously at TOS 8 ). (I'd love to attach the encoded samples, but the copyright situation might not permit it. I'd love some freely available lossless test samples, e.g. CC-licensed) I wonder if there's something for LAME to learn here. Lame adds a ringing artifact in CBR / ABR mode + lower bitrate; perhaps up to 128 or 160k. Its easy to isolate and usually adding -q level < 3 can yield a significant improvement. I use -q5 , perhaps even -q7 for 128 or lower. For VBR it doesn't seem to be as effective.