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 158667 - Last part of certain wav files is repeated with alsasink
Last part of certain wav files is repeated with alsasink
Status: RESOLVED DUPLICATE of bug 321271
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2004-11-19 01:43 UTC by Gary Cramblitt
Modified: 2005-11-21 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---

Here's the wav file produced by Festival 1.95 beta. (178.91 KB, application/octet-stream)
2004-11-19 01:45 UTC, Gary Cramblitt
GSM file (5.12 KB, audio/x-gsm)
2005-01-21 18:49 UTC, Jeffrey C. Ollie

Description Gary Cramblitt 2004-11-19 01:43:47 UTC
With GStreamer 0.8.5 alsasink, the following command repeats the word "missing".  The wav 
file was produced by the Festival TTS synthesizer. 
gst-launch-0.8 filesrc location=sentence.wav ! wavparse ! alsasink 
Happens with just about any wav file produced by Festival or Flite. 
When used with osssink, sounds OK.  gstreamer core 0.8.7.
Comment 1 Gary Cramblitt 2004-11-19 01:45:58 UTC
Created attachment 33926 [details]
Here's the wav file produced by Festival 1.95 beta.
Comment 2 Stephane Loeuillet 2004-12-13 10:39:48 UTC
it confirm it repeats 'missing' at the end using totem
but trying to play this file with mplayer, it truncates before the end (before
the first 'missing')

so, i'd say it is a borked media file
Comment 3 Ronald Bultje 2004-12-13 11:56:59 UTC
We should still fix it.
Comment 4 Jeffrey C. Ollie 2005-01-21 18:47:42 UTC
I see this too with some GSM files that I am decoding:

gst-launch filesrc location=vm-whichbox.gsm ! audio/x-gsm,rate=8000 ! gsmdec !

If you replace alsasink with osssink the problem goes away:

gst-launch filesrc location=vm-whichbox.gsm ! audio/x-gsm,rate=8000 ! gsmdec !

If you use audioscale to scale up the sample rate the problem is less noticeable:

gst-launch filesrc location=vm-whichbox.gsm ! gsmdec ! audioscale !
audio/x-raw-int,rate=48000 ! alsasink
Comment 5 Jeffrey C. Ollie 2005-01-21 18:49:56 UTC
Created attachment 36346 [details]
GSM file
Comment 6 Luca Ognibene 2005-10-02 14:58:00 UTC
Can you still replicate this problem? It seems to work fine here..
Comment 7 Ronald Bultje 2005-10-02 15:08:44 UTC
I can confirm this.
Comment 8 Gary Cramblitt 2005-10-02 15:36:06 UTC
I have since upgraded gstreamer, so I can no longer confirm.  0.8.7 does not 
have this problem. 
Comment 9 Luca Ognibene 2005-11-11 16:33:18 UTC
I've seen it too when playing files with a low rate.
Comment 10 Michael Smith 2005-11-21 16:11:16 UTC
With 0.9.x, the problem is somewhat different. There's no repeated audio, but
what audio there is is truncated, after missing, just before the trailing "tell me".

Occurs both with playbin and with filesrc ! wavparse ! alsasink

Comment 11 Michael Smith 2005-11-21 21:53:29 UTC

*** This bug has been marked as a duplicate of 321271 ***