GNOME Bugzilla – Bug 510865
Cracks, static playing wav files
Last modified: 2008-06-02 15:50:52 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.
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 ?
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.
Still a problem with gstreamer-0.10.17 .
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
Created attachment 108708 [details] Gstreamer equalizer test program
*** Bug 523878 has been marked as a duplicate of this bug. ***
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.
Yes, it is indeed fixed in CVS. 1000 points for you, Sebastian! Thank you very much.