Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141526 - gstreamer can't play 96khz vorbis files
Summary: gstreamer can't play 96khz vorbis files
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 13:52 UTC by morgan wahl
Modified: 2007-09-27 18:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of `gst-inspect-0.10 -a | grep audioresample` (audioresample.txt,5.22 KB, text/plain)
2006-07-23 13:53 UTC, morgan wahl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description morgan wahl 2006-07-23 13:52:40 UTC
when trying to play a vorbis file with 96 khz sample rate, totem (1.4.2) and sound recorder (2.14.2) give the message "Internal data stream error." Futhermore, Quod Libet (0.21), which uses gstreamer, says: "Unable to play song: GStreamer was unable to load the selected song. GStreamer encountered a general stream error.", so I'm assuming the problem is with gstreamer.

I noticed there is a resampler gstreamer module, which I would expect to be used in this case, but apparently isn't.

gst-inspect-0.10 --version gives:
gst-inspect-0.10 version 0.10.8
GStreamer 0.10.8
Unknown package origin

(by the way, i had this same problem with gst-0.8.)

i doubt this matters, but quodlibet's about box gives:
Supported formats: flac, mp3, mp4, oggvorbis, wav
Audio device: gconfaudiosink
Mutagen: 1.5.1
GTK+: 2.8.19 / PyGTK: 2.8.6
GStreamer: 0.10.8.0 / PyGSt: 0.10.2

i'll attach the output of `gst-inspect-0.10 -a | grep audioresample`.
it seems to me that audioresample claims to handle this samplerate, so maybe it's the clients' fault for not using it or something... in which case this is a feature enhancement request that it be used automatically by gstreamer.
Comment 1 morgan wahl 2006-07-23 13:53:55 UTC
Created attachment 92577 [details]
output of `gst-inspect-0.10 -a | grep audioresample`
Comment 2 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-07-23 23:47:37 UTC
Try:

gst-launch-0.10 filesrc location=yourvorbisfile.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! audio/x-raw-int,rate=44100 ! alsasink
Comment 3 morgan wahl 2006-07-24 22:22:57 UTC
(In reply to comment #2)
> Try:
> 
> gst-launch-0.10 filesrc location=yourvorbisfile.ogg ! oggdemux ! vorbisdec !
> audioconvert ! audioresample ! audio/x-raw-int,rate=44100 ! alsasink
> 

works fine!

must be way the apps use gstreamer...
Comment 4 foser (RETIRED) gentoo-dev 2006-08-03 09:48:51 UTC
Zaheer, isn't this a playbin bug then ?
Comment 5 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-09-01 09:50:27 UTC
probably an alsa bug
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-29 08:38:35 UTC
(In reply to comment #5)
> probably an alsa bug

@alsa - comments? :) 

Comment 7 Tony Vroon (RETIRED) gentoo-dev 2007-06-29 08:41:36 UTC
Tell me what soundcard you have and what driver you use before you blame ALSA...
Comment 8 morgan wahl 2007-09-27 18:47:53 UTC
actually, it works fine now, I forgot to mark the bug. Sorry.