?

Log in

No account? Create an account
Icecast+XMMS latency - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Icecast+XMMS latency [Jul. 2nd, 2002|07:48 pm]
Brad Fitzpatrick
I now have an Icecast server on my main computer, and XMMS on there with the Liveice plugin, feeding it a 44 Khz 256 Kbps stereo stream.

Then, from the laptop in the living room, I play the stream over wireless, turn off HTTP streaming buffering and OSS buffering, and the latency is now under a quarter second.

Still... that kinda sucks. For two reasons:

1) The latency is enough to be annoying at certain points in the house. But I guess it works if I turn off the speakers in my computer room and just use it for remote control. (might serve as a substitute for the TV Evas interface? No! Must finish interface in time for Evan's arrival! :P)

2) It's re-encoding everything. This is probably the biggest cause for the latency, and it kills the quality. I just want to multiplex /dev/dsp over the network.

In any case, a fun diversion.

Back to a productive project.
LinkReply

Comments:
From: ex_debgirl0
2002-07-02 07:59 pm (UTC)

okay

now in english.
(Reply) (Thread)
[User Picture]From: brad
2002-07-02 08:11 pm (UTC)

Re: okay

I play mp3s in my office, and they magically go over the air to my computer in the living room.

But because of some shit it's doing (required for use on the large, slow Internet) it's going slower than I'd like.

I want it to be immediate, as it could be, given that my home network is fast and reliable (unlike the Internet)
(Reply) (Parent) (Thread)
From: ex_debgirl0
2002-07-02 08:11 pm (UTC)

Re: okay

hehehe

technology.

cool.
(Reply) (Parent) (Thread)
[User Picture]From: jwz
2002-07-02 08:02 pm (UTC)
You should also install the "crossfade" plugin to make it mix between songs, it's pretty sweet. That adds another N seconds of latency, but it's at the head-end, not on the play side, so it's not audible. (It'll just make the "stop" button less responsive.)

You are of course using Gronk?
(Reply) (Thread)
[User Picture]From: mge
2002-07-02 10:01 pm (UTC)

Stab in the dark

Isn't ESD something that would be helpfull here? I think it lets you send sound from one computer to another, and maybe could be hacked to do what you need?
(Reply) (Thread)
[User Picture]From: warrend
2002-07-03 10:49 am (UTC)
I do the same thing at my house, and here at work. The latency is annoying. I wonder if there exists a shout/ice/oddcast-comptible server that directly pulls mp3's from XMMS or winamp without re-encoding them. I use LAME to do the encoding, which is pretty fast and accurate, but there is stil a latency.

If you could get it almost exact, and then turn up all the speakers in every room. Ooooooh.
(Reply) (Thread)