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 140587 - Gstreamer halts playing after some seconds
Gstreamer halts playing after some seconds
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.8.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-20 12:03 UTC by pjotr
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description pjotr 2004-04-20 12:03:56 UTC
# gst-launch-0.8 filesrc location=myfile.mp3 ! mad ! osssink
gstreamer starts playing
gstreamer stops playing after several seconds (varies)
xmms plays the file correctly (using oss output plugin)

gst debug output ends with some message about unreferencing GstAudioClock elements

I'm using linux-2.6.5 and a usb audio box (Sound Blaster MP3+)
Comment 1 David Schleef 2004-04-21 00:27:18 UTC
Does this happen with every media file?  Also, does this happen with
'gst-launch-0.8 sinesrc ! audioconvert ! osssink'?
Comment 2 pjotr 2004-04-21 01:00:57 UTC
Yes, this happens also with 'gst-launch-0.8 sinesrc ! audioconvert ! osssink',
but it only happens when I'm using my external usb - ahem - soundcard as first
sound-device in alsa (so it might be an alsa bug, not a gstreamer bug, but, like
I said, it doesn't happend when I'm using xmms). 

I'll send gstreamer debug output if you tell me what debug settings to use :-)

Here's my modprobe.conf:
include /etc/modprobe.conf.dist
# network adapter
alias eth0 natsemi

# additional usb config
alias usb-controller ohci-hcd
#install uhci-hcd /sbin/modprobe ohci-hcd

# --- ALSA configuration
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-1 snd-ali5451
alias snd-card-0 snd-usb-audio
#--- OSS compatibility alias
alias sound-slot-1 snd-ali5451
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
alias sound-slot-0 snd-usb-audio
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss
#--- Options 
options snd major=116 cards_limit=4
options snd-ali5451 index=1
options snd-usb-audio index=0
#--- ALSA configuration END

install probe-usbmouse /sbin/modprobe mousedev || /bin/true
install probe-usbkeyboard  /sbin/modprobe keybdev || /sbin/modprobe usbkbd ||
/bin/true

alias char-major-171 raw1394
Comment 3 Ronald Bultje 2004-10-01 12:48:32 UTC
It is ALSA, right? Does it work if you use:

gst-launch filesrc location=$file ! mad ! audioconvert ! audioscale !
audio/x-raw-int,rate=48000 ! alsasink

? The MP3+ is similar to the Audigy2NX and requires the above (audioscale !
audio/x-raw-int,rate=48000 ! alsasink) as audiosink GConf key because the device
detection is broken (this is a driver bug). With that GConf key, all works fine.
Comment 4 Christian Fredrik Kalager Schaller 2004-12-07 23:57:25 UTC
Nothing heard so marking as closed, if you still have issues please reopen.