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 576387 - short sounds are clipped
short sounds are clipped
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.21
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-23 12:12 UTC by alteo_gange
Modified: 2010-02-23 00:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alteo_gange 2009-03-23 12:12:50 UTC
Hi, everybody.

Gstreamer clips half of short audio sounds with Kubuntu (KDE4.2) Intrepid amd64. I didn't have any problem with Kubuntu (KDE.4.1) Hardy i386.


The following tests have been performed with both systems.

sudo apt-get install yauap
cd /tmp

wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-and.ogg
wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-written.ogg
wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-beside.ogg
wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-blacklist.ogg
wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-disease.ogg
wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-dirty.ogg
wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-insurance.ogg
wget http://packs.shtooka.net/eng-wcp-us/ogg/En-us-geography.ogg
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-and.mp3
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-written.mp3
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-beside.mp3
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-blacklist.mp3
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-disease.mp3
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-dirty.mp3
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-insurance.mp3
wget http://packs.shtooka.net/eng-wcp-us/mp3/En-us-geography.mp3

yauap En-us-and.ogg
yauap En-us-written.ogg
yauap En-us-beside.ogg
yauap En-us-blacklist.ogg
yauap En-us-disease.ogg
yauap En-us-dirty.ogg
yauap En-us-and.mp3
yauap En-us-written.mp3
yauap En-us-beside.mp3
yauap En-us-blacklist.mp3
yauap En-us-disease.mp3
yauap En-us-dirty.mp3

yauap En-us-insurance.ogg
yauap En-us-geography.ogg
yauap En-us-insurance.mp3
yauap En-us-geography.mp3

Results:
- Intrepid amd64:
"and", "written", "beside", "blacklist", "disease" and "dirty" sound are clipped (with mp3 and ogg formats).
"insurance" and "geography" are neatly played (with mp3 and ogg formats).
- Hardy i386:
All words are neatly played.

mplayer and sox perfectly play every audio file.

alteo@ubuntu:~$ aptitude search ~i~ngstreamer
i A bluez-gstreamer - Bluetooth gstreamer support
i gstreamer0.10-alsa - Greffon GStreamer pour ALSA
i gstreamer0.10-fluendo-mp3 - Fluendo mp3 decoder GStreamer plugin
i gstreamer0.10-plugins-base - Les greffons Gstreamer de l'ensemble « base »
i gstreamer0.10-plugins-good - Les greffons Gstreamer de l'ensemble « good »
i A gstreamer0.10-plugins-ugly - GStreamer plugins from the "ugly" set
i A gstreamer0.10-x - Greffons Gstreamer pour X11 et Pango
i A libgstreamer-plugins-base0.10-0 - Bibliothèques GStreamer de l'ensemble "base".
i A libgstreamer0.10-0

alteo@ubuntu:~$ uname -a
Linux ubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
Comment 1 Wim Taymans 2009-03-24 12:23:34 UTC
Works fine for me, tested with git and:

 gst-launch playbin2 uri=file:///home/wim/gst/head/gstreamer/En-us-and.ogg
 gst-launch playbin uri=file:///home/wim/gst/head/gstreamer/En-us-and.ogg

also tested with Intrepid yauap.

Does the playbin2 line work for you?
What version of GStreamer? 
Comment 2 alteo_gange 2009-03-24 20:37:46 UTC
gstreamer-tools gstreamer0.10-tools weren't installed on my operating system.

login@system:/tmp$ ls En-us-and*
En-us-and.mp3  En-us-and.ogg

login@system:/tmp$ gst-launch playbin2 uri=file:///tmp/En-us-and.ogg
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL...
Le pipeline a terminé la phase PREROLL...
Passage du pipeline à la phase PLAYING...
New clock: GstSystemClock
CTRL-C BECAUSE NOTHING HAPPENED
Caught interrupt -- handling interrupt.
Interruption : arrêt du pipeline...
Execution ended after 35376077511 ns.
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)...
Définition du pipeline à NULL...
Libération du pipeline (FREE)...

login@system:/tmp$ gst-launch playbin2 uri=file:///tmp/En-us-and.mp3
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL...
Le pipeline a terminé la phase PREROLL...
Passage du pipeline à la phase PLAYING...
New clock: GstSystemClock
ERREUR : de l'élément /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstFileSrc:source : Erreur interne de flux de données.
Information de débogage supplémentaire :
gstbasesrc.c(2234): gst_base_src_loop (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstFileSrc:source:
streaming task paused, reason not-linked (-1)
Execution ended after 1819785 ns.
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)...
Définition du pipeline à NULL...
Libération du pipeline (FREE)...


gstreamer0.10-x Version : 0.10.21-3ubuntu0.1
I don't use pulseaudio.

Do you also use an amd64 architecture?
Comment 3 Wim Taymans 2009-03-25 09:30:39 UTC
ouch, it seems your setup is broken.
Comment 4 alteo_gange 2009-03-26 17:53:18 UTC
I can hear the sounds with playbin instead of playbin2, but it's the same thing as yauap:

romain@ubuntu:/tgst-launch playbin uri=file:///tmp/En-us-and.mp3
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL...
Le pipeline a terminé la phase PREROLL...
Passage du pipeline à la phase PLAYING...
New clock: GstAudioSinkClock
EOS reçu de l'élément « playbin0 ».
Execution ended after 743961242 ns.
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)...
Définition du pipeline à NULL...
Libération du pipeline (FREE)...

romain@ubuntu:/tmp$ gst-launch playbin uri=file:///tmp/En-us-and.ogg
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL...
Le pipeline a terminé la phase PREROLL...
Passage du pipeline à la phase PLAYING...
New clock: GstAudioSinkClock
EOS reçu de l'élément « playbin0 ».
Execution ended after 682198068 ns.
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)...
Définition du pipeline à NULL...
Libération du pipeline (FREE)...
Comment 5 Wim Taymans 2009-03-27 09:57:26 UTC
Can you paste the output of:

 gst-launch -v playbin uri=file:///tmp/En-us-and.ogg

And then of:

 gst-launch -v playbin2 uri=file:///tmp/En-us-and.ogg
Comment 6 alteo_gange 2009-03-27 11:47:11 UTC
romain@ubuntu:/tmp$ gst-launch -v playbin uri=file:///tmp/En-us-and.ogg                                   
Définition du pipeline à PAUSED...                                                                                                                                                                   
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = application/ogg                                                                                          
Le pipeline est en phase de PREROLL...                                                                                                                                                               
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src0: active-pad = NULL                                                                                                                        
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:sink: caps = audio/x-vorbis                                                                                                      
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:src: caps = audio/x-vorbis                                                                                                       
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstVorbisDec:vorbisdec1.GstPad:sink: caps = audio/x-vorbis                                                                                              
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstVorbisDec:vorbisdec1.GstPad:src: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                     
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src0.GstSelectorPad:sink0: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                     
/GstPlayBin:playbin0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                                       
/GstPlayBin:playbin0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyPad:proxypad1: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                 
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src0.GstPad:src: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                               
/GstPlayBin:playbin0/GstQueue:preroll_audio_src0.GstPad:sink: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                                        
/GstPlayBin:playbin0/GstQueue:preroll_audio_src0.GstPad:src: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                                         
/GstPlayBin:playbin0/GstBin:abin/GstAudioConvert:aconv.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1
/GstPlayBin:playbin0/GstBin:abin/GstAudioConvert:aconv.GstPad:sink: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                                  
/GstPlayBin:playbin0/GstBin:abin.GstGhostPad:sink: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                                                   
/GstPlayBin:playbin0/GstBin:abin.GstGhostPad:sink: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                                                   
/GstPlayBin:playbin0/GstBin:abin.GstGhostPad:sink.GstProxyPad:proxypad3: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234, width=(int)32                             
/GstPlayBin:playbin0/GstBin:abin/GstAudioresample:aresample.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1                                                                                                                                                                                                
/GstPlayBin:playbin0/GstBin:abin/GstAudioresample:aresample.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1                                                                                                                                                                                               
/GstPlayBin:playbin0/GstBin:abin/GstVolume:volume.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1     
/GstPlayBin:playbin0/GstBin:abin/GstVolume:volume.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1    
/GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1                                                                                                                                                        
/GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1                                                                                                                                                                                          
/GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1                                                                                                                                                                                          
/GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink.GstProxyPad:proxypad2: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)1                                                                                                                                                                    
Le pipeline a terminé la phase PREROLL...                                                                                                                                                            
Passage du pipeline à la phase PLAYING...                                                                                                                                                            
New clock: GstAudioSinkClock                                                                                                                                                                         
EOS reçu de l'élément « playbin0 ».                                                                                                                                                                  
Execution ended after 682307579 ns.                                                                                                                                                                  
Définition du pipeline à PAUSED...                                                                                                                                                                   
Définition du pipeline à READY (prêt)...                                                                                                                                                             
/GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa.GstPad:sink: caps = NULL
/GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink: caps = NULL
/GstPlayBin:playbin0/GstBin:abin/GstVolume:volume.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstBin:abin/GstVolume:volume.GstPad:sink: caps = NULL
/GstPlayBin:playbin0/GstBin:abin/GstAudioresample:aresample.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstBin:abin/GstAudioresample:aresample.GstPad:sink: caps = NULL
/GstPlayBin:playbin0/GstBin:abin/GstAudioConvert:aconv.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstBin:abin/GstAudioConvert:aconv.GstPad:sink: caps = NULL
/GstPlayBin:playbin0/GstBin:abin.GstGhostPad:sink: caps = NULL
/GstPlayBin:playbin0/GstQueue:preroll_audio_src0.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstQueue:preroll_audio_src0.GstPad:sink: caps = NULL
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src0.GstSelectorPad:sink0: caps = NULL
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src0.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = NULL
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstVorbisDec:vorbisdec1.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstVorbisDec:vorbisdec1.GstPad:sink: caps = NULL
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstOggDemux:oggdemux0.GstOggPad:serial_1de8c4a4: caps = NULL
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL
Définition du pipeline à NULL...
Libération du pipeline (FREE)...

romain@ubuntu:/tmp$ gst-launch -v playbin2 uri=file:///tmp/En-us-and.ogg
Définition du pipeline à PAUSED...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstFileSrc) source
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = application/ogg
Le pipeline est en phase de PREROLL...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = audio/x-vorbis
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = audio/x-vorbis
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstVorbisDec:vorbisdec1.GstPad:sink: caps = audio/x-vorbis
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstVorbisDec:vorbisdec1.GstPad:src: caps = audio/x-raw-float, rate=(int)44100, channels=(int)1, endianness=(int)1234,width=(int)32
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 2000000000
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
Le pipeline a terminé la phase PREROLL...
Passage du pipeline à la phase PLAYING...
New clock: GstSystemClock
CTRL+C BECAUSE NOTHING HAPPENED
Caught interrupt -- handling interrupt.
Interruption : arrêt du pipeline...
Execution ended after 9796745060 ns.
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstVorbisDec:vorbisdec1.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstVorbisDec:vorbisdec1.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOggDemux:oggdemux0.GstOggPad:serial_1de8c4a4: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
Définition du pipeline à NULL...
Libération du pipeline (FREE)...
Comment 7 Tim-Philipp Müller 2009-11-01 18:01:56 UTC
This works fine for me with both playbin and playbin2 (playing En-us-and.ogg and En-us-and.mp3), with both pulsesink and alsasink.

Do you still get this problem with the latest ubuntu release (9.10)?
Comment 8 alteo_gange 2009-11-16 20:33:22 UTC
Sorry, but I've just read this message.

I still have not installed Ubuntu 9.10 (I use Kubuntu 8.10).
I may install Ubuntu Karmic the next week.
Comment 9 Tim-Philipp Müller 2010-02-23 00:39:43 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!