PDA

View Full Version : AlienBBC 0.97 rocks my world



Jack Coates
2005-04-19, 18:34
Just dropped this into my playlists dir as kalx.pls

[playlist]
numberofentries=1
Title=KALX
File1=http://kalx.berkeley.edu/kalx.ram

And it's good. I'm ready to try some harder stuff like KFOG and KQED now...

--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip since 1996!

Jack Coates
2005-04-19, 21:59
Jack Coates wrote:
> Just dropped this into my playlists dir as kalx.pls
>
> [playlist]
> numberofentries=1
> Title=KALX
> File1=http://kalx.berkeley.edu/kalx.ram
>
> And it's good. I'm ready to try some harder stuff like KFOG and KQED now...
>

KFOG was non-good:
[jack@felix jack]$ cat /usr/local/slimserver/playlists/kfog.pls
[playlist]
numberofentries=1
Title=KFOG
File1=http://www.streamaudio.com/stations/asx/KFOG_FM.asx

this produces two mms: urls, as expected... I clicked the 2nd one and
got just a little bit of choppy sound, so I gave up and played something
from my local media collection. Unfortunately, the spawned mplayer
process kept on trucking for a few hours, downloading merrily :) I seem
to recall this is architecturally unavoidable, is that right?

thanks,
--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip since 1996!

Triode
2005-04-20, 12:09
> this produces two mms: urls, as expected... I clicked the 2nd one and got just a little bit of choppy sound, so I gave up and
> played something from my local media collection. Unfortunately, the spawned mplayer process kept on trucking for a few hours,
> downloading merrily :) I seem to recall this is architecturally unavoidable, is that right?

If you are streaming a remote stream mplayer should die when you stop the player or move onto the next track in the playlist. Is
this repeatable?

Jack Coates
2005-04-20, 21:22
Triode wrote:
>> this produces two mms: urls, as expected... I clicked the 2nd one and
>> got just a little bit of choppy sound, so I gave up and played
>> something from my local media collection. Unfortunately, the spawned
>> mplayer process kept on trucking for a few hours, downloading merrily
>> :) I seem to recall this is architecturally unavoidable, is that right?
>
>
> If you are streaming a remote stream mplayer should die when you stop
> the player or move onto the next track in the playlist. Is this
> repeatable?

[jack@felix jack]$ ps aux | grep mplayer
jack 30474 0.0 0.0 1756 620 pts/2 R+ 21:14 0:00 grep mplayer

In webUI, play this .pls:
[jack@felix jack]$ cat /usr/local/slimserver/playlists/kfog.pls
[playlist]
numberofentries=1
Title=KFOG
File1=http://www.streamaudio.com/stations/asx/KFOG_FM.asx

[jack@felix jack]$ ps aux | grep mplayer
539 30476 0.0 0.1 2828 1396 ? S 21:14 0:00 sh -c
"/usr/local/slimserver/Bin/mplayer.sh" -really-quiet -vo null -cache 128
-af resample=44100:0:1 -ao pcm -aofile /dev/fd/3
"mms://66.28.253.171/KFOG_FM" | "/usr/bin/lame" --silent -q 9 -b 320 - -
539 30477 0.1 0.1 2832 1452 ? S 21:14 0:00 /bin/sh
/usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128
-af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.28.253.171/KFOG_FM
539 30479 0.0 0.1 2320 1204 ? S 21:14 0:00 /bin/sh
/usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128
-af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.28.253.171/KFOG_FM
539 30481 67.0 0.7 26616 6532 ? S 21:14 0:10 mplayer
-really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile
/dev/fd/3 mms://66.28.253.171/KFOG_FM
539 30518 0.0 0.6 25928 5560 ? S 21:15 0:00 mplayer
-really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile
/dev/fd/3 mms://66.28.253.171/KFOG_FM
jack 30539 0.0 0.0 1756 620 pts/2 R+ 21:15 0:00 grep mplayer

very choppy, probably one second of sound for every twenty of wall time.

hit next in WebUI to go to second mms track...
[jack@felix jack]$ ps aux | grep mplayer
539 30562 0.0 0.1 2828 1396 ? S 21:17 0:00 sh -c
"/usr/local/slimserver/Bin/mplayer.sh" -really-quiet -vo null -cache 128
-af resample=44100:0:1 -ao pcm -aofile /dev/fd/3
"mms://66.250.188.22/KFOG_FM" | "/usr/bin/lame" --silent -q 9 -b 320 - -
539 30563 0.0 0.1 2832 1452 ? S 21:17 0:00 /bin/sh
/usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128
-af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.250.188.22/KFOG_FM
539 30565 0.0 0.1 2320 1204 ? S 21:17 0:00 /bin/sh
/usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128
-af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.250.188.22/KFOG_FM
539 30567 46.1 0.7 26616 6564 ? S 21:17 0:10 mplayer
-really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile
/dev/fd/3 mms://66.250.188.22/KFOG_FM
539 30570 0.0 0.6 25928 5584 ? S 21:17 0:00 mplayer
-really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile
/dev/fd/3 mms://66.250.188.22/KFOG_FM
jack 30580 0.0 0.0 1756 620 pts/2 R+ 21:17 0:00 grep mplayer

same stuff, different IPs. Even less sound making it through to the
speakers. Try to browse to something local, and the Slimp3 starts going
nuts.
[jack@felix jack]$ w
21:19:48 up 75 days, 4:31, 1 user, load average: 3.68, 1.03, 0.34
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
jack pts/2 21:12 0.00s 0.06s 0.03s w
[jack@felix jack]$ tail /tmp/slimserver.log
frame 16: main::main (/usr/local/slimserver/slimserver.pl line 1124)

unknown object
file object, packet length = 1819 (1819)
unknown object
stream object, stream id: 1
unknown object
unknown object
data object
mmst packet_length = 1819

[jack@felix jack]$ sudo service slimserver stop
[jack@felix jack]$ ps aux | grep mplayer | wc -l
169

Thank goodness for pkill :)

--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip since 1996!

arnonm
2005-04-22, 01:32
Jack Coates wrote:
> Just dropped this into my playlists dir as kalx.pls
>
> [playlist]
> numberofentries=1
> Title=KALX
> File1=http://kalx.berkeley.edu/kalx.ram
>
> And it's good. I'm ready to try some harder stuff like KFOG and KQED now...
>
Jack,

Has the .ASX format for external streams been replaced with the playlist
format for 0.97?

Arnon