[gst-devel] Trouble with 96kHz playback
Marcus Alley
mtalley at stanford.edu
Fri Jan 12 18:21:40 CET 2007
Hi,
I'm having trouble getting gstreamer to playback at a 96kHz sampling
rate. I'm have a FC6 machine running kernel 2.6.18, with the following
gstreamer components installed:
gstreamer.i386 0.10.10-2.fc6
gstreamer-debuginfo.i386 0.10.10-0.gst.1.5
gstreamer-devel.i386 0.10.10-2.fc6
gstreamer-plugins-bad-debuginfo.i386 0.10.3-0.gst.3.5
gstreamer-plugins-base.i386 0.10.10-1.fc6
gstreamer-plugins-base-debuginfo.i386 0.10.10-0.gst.1.5
gstreamer-plugins-base-devel.i386 0.10.10-1.fc6
gstreamer-plugins-good.i386 0.10.4-1.fc6
gstreamer-plugins-good-debuginfo.i386 0.10.4-0.gst.1.5
gstreamer-plugins-good-devel.i386 0.10.4-1.fc6
gstreamer-plugins-ugly.i386 0.10.4-3.lvn6
gstreamer-plugins-ugly-debuginfo.i386 0.10.4-0.gst.1.5
gstreamer-plugins-ugly-devel.i386 0.10.4-3.lvn6
gstreamer-tools.i386 0.10.10-2.fc6
I have a M-audio USB Transit card, with the following very simple
asound.conf file:
pcm.!default {
type plug
slave.pcm "digital-mix"
}
pcm.digital-mix {
type rate
slave {
pcm "hw:1,0"
rate 96000
}
converter "samplerate_medium"
}
I can play .wav files directly from the command line with no trouble
using aplay:
> aplay blah.wav
The problem is when I try with gstreamer:
> gst-launch-0.10 filesrc location=./blah.wav ! wavparse ! alsasink
> gst-launch-0.10 filesrc location=./blah.flac ! decodebin ! alsasink
Both of these commands work as long as there are no other "events"
taking place on the computer. By that I mean as soon as I move the
mouse (or resize a window, etc.) the playback stops, or becomes garbled,
and the CPU loads jumps to 100%.
At this point obviously you'd probably like to know more, and I'm happy
to try any debugging steps you could suggest. I also apologize if this
has been asked before, and if there's a fix just point me in the right
direction.
Thanks,
Marc Alley
More information about the gstreamer-devel
mailing list