[gstreamer-bugs] [Bug 529424] [rganalysis] Peak values never exceed 1.000

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 22 15:52:36 PDT 2008


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=529424

  GStreamer | gst-plugins-bad | Ver: 0.10.6

René Stadler changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at renestadler.de
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |NOTABUG




------- Comment #1 from René Stadler  2008-04-22 22:52 UTC -------
This isn't a bug in the element, the thing is that the mp3 decoder is producing
output data in an integer format.  You can't exceed 1.0 with that, only with
float formats.  This is not an issue as the fact that (float-based) decoders
which actually give you float data that sometimes exceeds 1.0 is caused by some
sort of compression artifacts.  The data you feed into an mp3 encoder is
integer after all (so <=1.0), and the data that comes out of an mp3 decoder is
ultimately  sent to an integer based sound card.

It has no effect on the gain values as you say, so it's save to ignore it.  It
is even an advantage to clip to 1.0 because a higher peak value will lead the
clipping prevention that is used on playback (see rgvolume docs) to applying a
lower volume than actually needed.  I'm actually thinking of adding a property
to the rgvolume element that makes it treat peak values >1.0 as 1.0 to improve
the dynamic range a little for this case.  So in the end I have to say that the
other tools you mention are broken :-)


-- 
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=529424.




More information about the Gstreamer-bugs mailing list