PDA

View Full Version : Alienstream - buffering 0%



Jules Taplin
2004-10-10, 05:37
Hmmm. Ok Patrick... not quite sure what's going on there. The most likely thing I can think of is that the script can't find 'lame' where it expects it, so it's not managing to consume from the pipe.

However, at the risk of invalidating all the great work you've done there, let's try this instead:

I've got a newer version of AlienBBC getting ready for release (it's being held up by some features that I just don't have the energy to implement right now *sigh*). It has the ability to use mplayer instead of alienstream, which is actually rather better in nearly all circumstances.

Basically... you'll only need two external packages with this build: 'mplayer', and 'w32codec'. Both should be easily available (sorry - not a SuSE user, so I don't know how your preferred package management works - I'm an APT user myself, and they're trivial packages for that).

I'll send the new release to you off-list (not nice to dump binaries on them *grin*) - give it a go... it really is rather superior (for starters, it cuts stream startup time in roughly half!). It's also got better status reporting (if you point your browser to http://localhost:5123/Status/ , it'll tell you rather more about what's going on - should let you know if it can't find a helper, for example).

Let me know how you get on!


-- Jules

----- Original Message -----
From: Patrick Delamere
To: discuss (AT) lists (DOT) slimdevices.com
Sent: Sunday, October 10, 2004 12:55 PM
Subject: [slim] Alienstream - Buffering 0%


Hi,



I have spent a long long time trying to get alienstream working with my Squeezebox but so far now luck! I am running SlimServer 5.3.1 on SuSE Linux 9.1.



Initially I had big problems just getting the plugin's .pm files to work since they were missing all sorts of extra Perl libraries. I resolved that by configuring Perl CPAN and downloading the Perl HTML::Parser and HTTP:Daemon modules.



My setup is as follows:

- Kernel 2.6.5-7.95

- Real Player 10 Gold

- xine-lib-0.99.rc3a-106.8

- Slimserver 5.3.1

- AlienBBC 0.9

- perl-5.8.3-32 (with HTML::Parser & HTTP::Daemon)



Just to note that I also recompiled alienstream using the following options:



gcc -Wall -O2 \

`xine-config --cflags` \

`xine-config --libs` \

-lX11 -lm -o alienstream \

alienstream.c



Since resolving the Perl issues and installing the latest software - the following now seems to work:



- ./transcoder_proxy.pl (no Perl errors on startup).

- Slimserver no longer crashes when I try to access a Real audio stream via the web interface (I still get no sound though..).

- Playing Real audio via XINE by calling 'xine http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm' from a terminal session.

- Connecting to http://xx.xx.xx.xx:5123/Status gives me the "STATUS: OK" message.

- "perl -ICPAN -c Plugins/Alien/Plugin.pm" returns 'syntax OK'.



What still doesn't appear to work is as follows:



- http://xx.xx.xx.xx:5123/RealAudio/http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm using Windows Media player or XMMS or Winamp (See error messages below - from transcoder_proxy.pl)

- The same result occurs when clicking on one of the BBC streams in the plugin's web interface.

- './alienstream rtsp://rmv8.bbc.net.uk/radio4/archers/archers_friday.ra' also produces the error messages shown below.



What you'll see in the log below is that for some reason, connecting to the HTTP Server and Buffering always seems to remain at [0%]???



Basically, I have to say that I am at a loss as to where to go to next. I would really like to get this working and any help would be greatly appreciated.



Thanks in advance,



Patrick







Log entries from transcoder_proxy.pl

Got a new client! It's Peer is xx.xx.xx.xx:1577

Adding a Consumer

Trying to request /RealAudio/http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm

Going to call exec with /usr/local/slimserver/alienstream, http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm

Message: mrl: 'http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm'



Message: mrl: 'http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm'



Message: mrl: 'http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm'



Message: Connecting HTTP server... [0%]



Message: Connecting HTTP server... [0%]



Message: Connecting HTTP server... [0%]



Got a new client! It's Peer is xx.xx.xx.xx:1578

Adding a Consumer

Trying to request /RealAudio/http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm

Going to call exec with /usr/local/slimserver/alienstream, http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm

Message: mrl: 'http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm'



Message: mrl: 'http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm'



Message: mrl: 'http://www.bbc.co.uk/radio2/realmedia/fmg2.rpm'



Message: MRL REFERENCE rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio2/live/r2_dsat_g2.ra?title=



Message: MRL REFERENCE rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio2/live/r2_dsat_g2.ra?title=



Message: MRL REFERENCE rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio2/live/r2_dsat_g2.ra?title=



Message: Connecting HTTP server... [0%]



Message: Connecting HTTP server... [0%]



Message: Connecting HTTP server... [0%]



Message: MRL REFERENCE rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio2/live/r2_dsat_g2.ra?title=



Message: MRL REFERENCE rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio2/live/r2_dsat_g2.ra?title=



Message: MRL REFERENCE rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio2/live/r2_dsat_g2.ra?title=



Message: Buffering... [0%]

Stream finished (Count = 1)

Message: Buffering... [0%]

Stream finished (Count = 1)

Message: Buffering... [0%]

Stream finished (Count = 1)



Message: Connecting HTTP server... [0%]



Message: Connecting HTTP server... [0%]



Message: Connecting HTTP server... [0%]



Message: MRL REFERENCE rtsp://a1067.l751822016.c7518.e.lr.akamaistream.net/live/D/1067/7518/v0001/reflector:22016



Message: MRL REFERENCE rtsp://a1067.l751822016.c7518.e.lr.akamaistream.net/live/D/1067/7518/v0001/reflector:22016



Message: MRL REFERENCE rtsp://a1067.l751822016.c7518.e.lr.akamaistream.net/live/D/1067/7518/v0001/reflector:22016



Message: Buffering... [0%]

MRL REFERENCE rtsp://a1227.l751822017.c7518.e.lr.akamaistream.net/live/D/1227/7518/v0001/reflector:22017



Message: Buffering... [0%]

MRL REFERENCE rtsp://a1227.l751822017.c7518.e.lr.akamaistream.net/live/D/1227/7518/v0001/reflector:22017



Message: Buffering... [0%]

MRL REFERENCE rtsp://a1227.l751822017.c7518.e.lr.akamaistream.net/live/D/1227/7518/v0001/reflector:22017



Message: Buffering... [0%]

Stream finished (Count = 2)

Message: Buffering... [0%]

Stream finished (Count = 2)

Message: Buffering... [0%]

Stream finished (Count = 2)



------------------------------------------------------------------------------