PC-UNIXならではの大技。esound+vsa+extace+xmms+alsaplayerのスペアナ乱舞は こちら(笑)
daicyan@sakura:~$ listen 205.188.234.37 8052 |mpg123 -
(最後の「-」を忘れないように!!)
Connecting to 205.188.234.37 port 8052 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Sending request... Reading response.. Playing MPEG stream from standard input ... Server said:ICY 200 OK icy-notice1:This stream requires Winamp icy-notice2:SHOUTcast Distributed Network Audio Server/posix v1.8.1 icy-name:SmoothJazz.com - The world's best Smooth Jazz - live from Monterey, Calif. icy-genre:Smooth Jazz icy-url:http://www.smoothjazz.com/main.htm icy-pub:1 icy-br:128 Prebuffering: 100% complete. (61440 bytes read.)スピーカーから素敵なJazzが流れてきたら成功です。他のMP3ストリームを提供しているサイトは、
icecastではなく、httpストリームでmp3を聞く場合は、mpg123に直接httpストリームのあるURIを渡してやるだけです。