[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Synchronized MP3 playing?



Quoting Greg Berenfield (gberenfield@berenfield.com):
> You might want to consider running your own icecast server. 
> Then you're serving up an audio stream of your own playlist.

IceCast is not synchronised. You will almost always hear a different
timing.   I did once create a tool to play mp3 on two computers
completely synchronized though, you need netcat, and mpg123:

mknod /tmp/listen1 p
mknod /tmp/listen2 p

cat /tmp/listen1 | nc -l -p 31331 &
cat /tmp/listen2 | nc -l -p 31332 &

<now connect one machine by ethernet to port 31331, and another,
or localhost if you want, to 31332. Something like this:
nc 192.168.1.1 31331 | mpg123 - on the other PC and
nc 0 31332 | mpg123 - on the localhost>

cat mp3file.mp3 | tee listen1 > listen2

This should, when your ethernet is fast enough for the bit-rate of the
mp3, stream a mp3 _very_ synchronised on two PC's :)

Heh, the things you do when you are bored,

Sander.


-- 
| 50 Fun Things to Do in an Elevator #47
| Make explosion noises when anyone presses a button.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D



Reply to: