linux.conf.au and streaming (was Re: [speex-dev] patch for libspeex)

Jens Burkal jzb at rapanden.dk
Wed Dec 18 09:25:39 PST 2002


On Wed, Dec 18, 2002 at 11:46:42PM +0800, Bernard Blackham wrote:
> Hi Jens,
> 
> > There is already streaming support in the xmms-plugin.
> > The 0.6.0 version found at http://jzb.rapanden.dk/speex/ is hopelessly
> > outdated, but the nightly version should work.
> 
> D'oh, should've looked at this before hand. Seems you've done more
> or less what I've done and taken the streaming code from the
> mpeg/vorbis plugins and meshed it in with yours.
> 
> I can't seem to get yours to work - it hangs at "CONNECTED: WAITING
> FOR REPLY". My version is at
> 	http://dagobah.ucc.asn.au/speex-xmms-0.6.0brb.tar.gz
>

Have you tried to compile it with debug? (make debug).
What does it say in the terminal? (I assume you can get the file with
wget)

> It hasn't yet been extensively tested (ie, all the streaming
> options), but it streams :) Bugs and comments welcome please!
> 
> The other oddball thing that you've probably already found is that
> when xmms interrogates each plugin asking if it can handle it, the
> mpg123 plugin accepts all http streams that aren't oggs. Grrr.
> 
> The workaround is to get the speex plugin before the mpg123 plugin
> in the chain, by giving it a name that comes before "MPEG..." - I've
> used " Speex..." (leading space).

Or:
1. Disable the mpg123 plugin! I rarely have the need to play mp3
   anymore :)
2. Get xmms from cvs. Edit xmms/Input/mpg123/mpg123.c. Add '.spx' to the
   exclude list at around line 395-400. Recompile the MPEG plugin.

> 
> > I haven't worked on it in a while since I'm really busy at school, but if
> > anyone makes any patches, I'll be happy to look at them.
> 
> In the process of merging your code with the http code, I've ripped
> yours to shreds to fit... Hope you dont mind. Perhaps you could
> bless it with a new version number? :)

Sure. I'll look at it tomorrow.

> Cheers,
> 
> Bernard.
> 

/jens


-- 
After Goliath's defeat, giants ceased to command respect.
- Freeman Dyson


-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 233 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20021218/eba85c85/part.pgp


More information about the Speex-dev mailing list