After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 510865 - Cracks, static playing wav files
Cracks, static playing wav files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: dont know
0.10.15
Other Linux
: Normal normal
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 523878 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-20 18:18 UTC by Derek Dolney
Modified: 2008-06-02 15:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gstreamer equalizer test program (3.67 KB, application/x-compressed-tar)
2008-04-06 08:40 UTC, antonio.riva
Details

Description Derek Dolney 2008-01-20 18:18:44 UTC
I get lots of cracks when playing wav files with gstreamer-0.15. The cracks are subtle, but frequent. This does not happen with ogg playback.

Totem produces cracks, as well as these pipelines:

     gst-launch filesrc location=temp.wav ! wavparse ! audioconvert ! audioresample ! alsasink

     gst-launch filesrc location=temp.wav ! ffdemux_wav ! audioconvert ! audioresample ! alsasink

     gst-launch playbin uri=file:///home/dolney/pops/temp.wav

But ALSA seems to work fine, as this gives clean output:

     aplay temp.wav

One interesting note: I found that if I seek the stream in totem, using the arrow keys or the slider, the sound becomes fine somehow. Unless I seek all the way back to the beginning of the file, in which case playback starts up all cracky again.
Comment 1 Tim-Philipp Müller 2008-01-20 21:13:48 UTC
Does this also happen with:

  ... ! alsasink device=front

or

  ... ! audio/x-raw-int,width=16,depth=16 ! alsasink

or
  ... ! audio/x-raw-int,width=32,depth=32 ! alsasink

? 
Comment 2 Derek Dolney 2008-01-22 03:22:56 UTC
All of these give cracky output.

Also, gst-launch cdda://1 ! ... is cracky.

totem cdda://1 is cracky, but clears up again with an stream seek.
Comment 3 Derek Dolney 2008-04-01 00:23:33 UTC
Still a problem with gstreamer-0.10.17 .
Comment 4 antonio.riva 2008-04-06 08:37:01 UTC
i experienced the same problem with mp3 file using the equalizer plugin in the pipeline.

Using filesrc all is ok but if I setup a pipeline with a playbin i'll experience crack sound.

Using ogg file all is ok.

I've experienced the problem creating a little standalone equalized player. It's ad attachment so you can try yourself.

using the same pipeline with this command give no problem.

gst-launch filesrc location="/home/antonio/Musica/pirateTrack/Brahms - Fantaisies - Op 116 n1 - Capriccio.mp3" ! decodebin ! audioresample ! audioamplify amplification=1.0 ! equalizer-10bands band0=-24.0 band1=-24.0 band2=-23.5 band3=-15.6 band4=-4.6 band5=3.3 band6=7.0 band7=9.9 band8=9.1 band9=3.6 ! pulsesink
Comment 5 antonio.riva 2008-04-06 08:40:34 UTC
Created attachment 108708 [details]
Gstreamer equalizer test program
Comment 6 Sebastian Dröge (slomo) 2008-05-17 13:28:34 UTC
*** Bug 523878 has been marked as a duplicate of this bug. ***
Comment 7 Sebastian Dröge (slomo) 2008-05-20 10:45:22 UTC
Should be fixed now in CVS, please reopen otherwise.

2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>

        * gst/equalizer/gstiirequalizer.c:
        Use a bigger type in integer mode for the intermediate results to
        prevent overflows. This fixes the crippled sound when using the
        equalizer in integer mode. Fixes bug #510865.
Comment 8 Derek Dolney 2008-06-02 15:50:52 UTC
Yes, it is indeed fixed in CVS.

1000 points for you, Sebastian! Thank you very much.