[gstreamer-bugs] [Bug 494499] New: replaygain analysis slowdown on low volume (denormals)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Nov 7 00:45:46 PST 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=494499
GStreamer | gst-plugins-bad | Ver: HEAD CVS
Summary: replaygain analysis slowdown on low volume (denormals)
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: bouvigne at mp3-tech.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
The RG analysis is awfully slowing down on low volume content.
Usual case: "hidden" tracks on CDs with content after a few minutes of
near-silent.
This is caused by denormal handling on x86 cpu.
Different easy fixes are possible:
#1: always add a small value to the computation, small enough to not
significantly change the overall result.
This is, as an example, done in MPC and LAME:
http://svn.musepack.net/libreplaygain/src/gain_analysis.c
http://lame.cvs.sourceforge.net/lame/lame/libmp3lame/gain_analysis.c?view=markup
#2: if values are small, clear result to 0.
This is done in WavPack:
http://svn.slomosnail.de/wavpack/trunk/cli/wvgain.c
(in every source code linked, search for "denormals")
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=494499.
More information about the Gstreamer-bugs
mailing list