From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 15 11:10:00 2009 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A5F9106568D; Tue, 15 Sep 2009 11:10:00 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 529188FC12; Tue, 15 Sep 2009 11:09:59 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA24078; Tue, 15 Sep 2009 14:09:56 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4AAF7604.3070304@icyb.net.ua> Date: Tue, 15 Sep 2009 14:09:56 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Dirk Meyer , Oliver Lehmann Subject: libmad mp3 distortions X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2009 11:10:00 -0000 I can reproduce the following on two very different machines: one is older Intel CPU/chipset, i386 stable/7; the other is newer AMD CPU/chipset, amd64 head. When I play certain MP3 files with any player that uses libmad for MP3 decoding, there are some very loud distortions from time to time. Something like what happens when too strong signal gets clipped. Examples of the programs: audacious2, mpg321. On the other hand, mpg123 plays the same files without any quality problems. I wonder if anybody else sees this too and if, perhaps, this is a known problem. I can privately share an MP3 file that demonstrates the problem (upon request). This is what 'file' has to say about it: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 192 kbps, 44.1 kHz, JntStereo P.S. i am quite surprised, because while googling I've seen that there was a sound distortion problem with mplayer and in that case they worked around it by switching to libmad for mp3. -- Andriy Gapon