Version: 2.2.1 (using KDE 3.1.4) Installed from: (testing/unstable) Compiler: gcc version 3.3.2 20030908 (Debian prerelease) OS: Linux (i686) release 2.6.0-test9 Wishlist item: plugin for playing speex files. It shows files with a .spx extension as a valid media file in the add files dialog; but doesn't play it.
needs an artsplugin
Subject: Re: speex plugin for noatun Supported through the xine_artsplugin in KDE-head. Adding it manually in KDE 3.1 shouldnt be a real problem either.
just tried on kde3.2beta1 (compiled from konstruct, make -C meta/kde install): doesn't work there too.
Works here. Have you xinelib installed? If you have try it in xine, and see if it is new enough. Closing for now
I have xine libs installed; and still can't play it in kaboodle or noatun. I don't have xine installed; there shouldn't be any need for it to be installed. noatun/kaboodle should be able to play speex files.
It makes no sense closing and reopening this bug all the time. If there's somebody who got it working then it's likely that just the installation failed for others. Also please honour tips from others instead of just ignoring them. Try it in xine first, maybe it's just an outdated libxine.
Subject: Re: speex plugin for noatun On Tuesday 18 Nov 2003 13:21, Stefan Gehn wrote: > It makes no sense closing and reopening this bug all the time. If there's > somebody who got it working then it's likely that just the installation > failed for others. Also please honour tips from others instead of just > ignoring them. Try it in xine first, maybe it's just an outdated libxine. How about asking the reporter if it works for him before closing the bug? I'm using xine-lib 1-rc2, in the Changelog they mention adding support for speex in 1-rc0. xine too doesn't play it properly, it outputs "libspeex: Decoding error, corrupted stream?" for each file played and the playback is barely audio: it's just some noise.
> How about asking the reporter if it works for him before closing the bug? 1. I didn't close the bug 2. WORKSFORME means "works for me", not "works for you/others" > xine too doesn't play it properly, it outputs "libspeex: Decoding error, > corrupted stream?" for each file played and the playback is barely audio: > it's just some noise. Well, there's your problem. Maybe time to ask libxine devels then.
Subject: Re: speex plugin for noatun On Tuesday 18 Nov 2003 13:51, Stefan Gehn wrote: > > How about asking the reporter if it works for him before closing the bug? > > 1. I didn't close the bug > 2. WORKSFORME means "works for me", not "works for you/others" Won't that just mean that it's a problem at the reporter's end and the developers won't concentrate on solving this issue at all? > > xine too doesn't play it properly, it outputs "libspeex: Decoding error, > > corrupted stream?" for each file played and the playback is barely audio: > > it's just some noise. > > Well, there's your problem. Maybe time to ask libxine devels then. okay, doing that; but xine (atleast attempts to) play it, why don't noatun/kaboodle?
> Won't that just mean that it's a problem at the reporter's end and the > developers won't concentrate on solving this issue at all? I personally think we could solve the bug as worksforme and still go on trying to find the problem on your system. > okay, doing that; but xine (atleast attempts to) play it, why don't > noatun/kaboodle? start "artscontrol" and take a look at the registered mimetypes in there. Here it's listing "spx" which I assume is the default speex extension. Also try starting kaboodle or noatun in a terminal, it might reveal some debug messages when you try to play a speex file. Btw, can anybody give me a link to such a file so I can try it out here as well? :)
Subject: Re: speex plugin for noatun On Tuesday 18 Nov 2003 14:47, you wrote: > Btw, can anybody give me a link to such a file so I can try it out here as > well? :) here: http://public.planetmirror.com/pub/lca/2003/proceedings/papers/Alan_Cox/Alan_Cox.spx
Subject: Re: speex plugin for noatun On Tuesday 18 Nov 2003 14:47, Stefan Gehn wrote: > start "artscontrol" and take a look at the registered mimetypes in there. > Here it's listing "spx" which I assume is the default speex extension. yes; shows here too. And you're right; spx is the default speex extension. > Also try starting kaboodle or noatun in a terminal, it might reveal some > debug messages when you try to play a speex file. Nothing except: [noatun] kio (KTrader): No offers, or none allowed as default kio (KTrader): KServiceTypeProfile::offers( audio/x-speex,KFilePlugin ) kio (KTrader): Returning 0 offers kio (KTrader): No offers, or none allowed as default artskde: KDE::PlayObject::halt() artskde: KDE::PlayObject: destroyed artskde: KDE::PlayObject::play() artskde: KDE::PlayObject::play() artskde: KDE::PlayObject::halt() artskde: KDE::PlayObject: destroyed [kaboodle] kparts: MainWindow::createGUI, part=0x81570b0 Kaboodle::Player KaboodleView kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-Amit/ksycoca artskde: KDE::PlayObject::play() artskde: KDE::PlayObject::halt() I don't think there's enough info in these messages. Tell me if there's something else I can look up. (btw, for the speex file given above, speexdec has to be run with --rate 3950 to get the proper output. It's "rushy" otherwise.)
This file also works fine here. It has the same problem I have with some flac-files as well: That Xine reports the wrong position in the stream, and the time therefore increments in a funny way. Btw: To debug you system, kill artsd, and start it in a konsole with artd -l0. It will then report what is happening. Then try to play an arts-file with artsplayer or noatun and see what artsd tries to do with it.
Subject: Re: speex plugin for noatun On Tuesday 18 Nov 2003 17:39, Allan Sandfeld wrote: > This file also works fine here. It has the same problem I have with some Works fine... in which app? I'm guessing it's xine. > flac-files as well: That Xine reports the wrong position in the stream, and > the time therefore increments in a funny way. > > Btw: To debug you system, kill artsd, and start it in a konsole with artd > -l0. It will then report what is happening. Then try to play an arts-file > with artsplayer or noatun and see what artsd tries to do with it. here's the result: Amit@magrathea:/mnt/temp/papers/Rusty_Keynote$ artsd -l0 -a alsa artsd version is 1.2.0 gsl: using Unix98 pthreads directly for mutexes and conditions [artsd: 5482] SoundServerStartup --> got lock ALSA driver: default buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms) virtualize StereoVolumeControl ALSA driver: default buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms) audio format is 44100 Hz, 16 bits, 2 channels addDirectory(/home/Amit/kde3.2-beta1/lib/mcop,) addDirectory(/home/Amit/kde3.2-beta1/lib/mcop/Arts,Arts) addDirectory(/home/Amit/kde3.2-beta1/lib/mcop/Arts/Environment,Arts::Environment) addDirectory(/home/Amit/kde3.2-beta1/lib/mcop/Noatun,Noatun) addDirectory(/home/Amit/.mcop/trader-cache,) Arts::MidiManager registered successfully. [artsd: 5482] SoundServerStartup <-- released lock UnixManager: got notifyIO socketconnection created, fd = 8 findPort(outleft) have 4 ports done result 74 connect port outleft to left findPort(outright) have 4 ports done result 74 connect port outright to right search playobject, mimetype = audio/x-speex creating xinePlayObject to play file xrun!! findPort(left) have 2 ports done result 10 connect port left to inleft findPort(right) have 2 ports done result 10 connect port right to inright xrun!! and noatun reports: artskde: KDE::PlayObject::play() artskde: KDE::PlayObject::play() kio (KTrader): KServiceTypeProfile::offers( audio/x-speex,KFilePlugin ) kio (KTrader): Returning 0 offers kio (KTrader): No offers, or none allowed as default artskde: KDE::PlayObject::halt() artskde: KDE::PlayObject: destroyed setting the sample rate to 3950 makes xine play the speex file properly. (I came to the 3950 number randomly by trial-and-error while trying it with speexdec). However, noatun / artsplay still don't play it.
Subject: Re: speex plugin for noatun On Tuesday 18 November 2003 13:55, Amit Shah wrote: > On Tuesday 18 Nov 2003 17:39, Allan Sandfeld wrote: > > This file also works fine here. It has the same problem I have with some > > Works fine... in which app? I'm guessing it's xine. > No noatun. <snipped artsd output> Hmm, looks right. > setting the sample rate to 3950 makes xine play the speex file properly. (I > came to the 3950 number randomly by trial-and-error while trying it with > speexdec). However, noatun / artsplay still don't play it. > It plays correctly in both noatun and xine for me, without touching anything. The time in noatun increments correctly as well, it just only updates every 2nd second. What version of the libspeex are you using?
Subject: Re: speex plugin for noatun On Tuesday 18 Nov 2003 21:34, Allan Sandfeld wrote: > > Works fine... in which app? I'm guessing it's xine. > > No noatun. k, that's surprising.. > <snipped artsd output> > Hmm, looks right. [...] > What version of the libspeex are you using? It's a Debian Sid system: libspeex1: Installed: 1.0.rel.2-1
Fixed in KDE 3.3 with the new akodelib (should also work most of the time in KDE 3.2 though).