PDA

View Full Version : AlienBBC cuts off listen again stream before end of programme



Andrew Heald
2007-08-27, 01:12
I'm running Slimserver 6.5.4 on Fedora 7 64 bit Linux with AlienBBC
1.06, MPlayer 1.0rc1-4.1.2, LAME 64bits version 3.97 and Perl v5.8.8
built for x86_64-linux-thread-multi.

Everything about the AlienBBC plugin works perfectly except that listen
again programmes mysteriously go silent maybe 5 minutes before the end
of the stream (I haven't measured it as such). MPlayer is still running
at the time this happens

MPlayer correctly plays these streams when invoked from a separate
script I use to record programmes.

Any ideas?

Thank you,
Andrew.

The MPlayer processes....

508 10343 0.0 0.0 72468 1052 ? S 08:37 0:00 sh -c
"/usr/local/slimserver/Bin/mplayer.sh" -really-quiet -vc null -vo null
-bandwidth 10000000 -cache 128 -af
volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3
"rtsp://rmv8.bbc.net.uk/radio4/arts/bookclub/bookclub.ra?BBC-UID=e4b60d82a70eae278a02b7556020bb92304fc781207031 d4847fa082fc8858cb_n&SSO2-UID="
| "/usr/bin/flac" -cs --totally-silent --endian=little --channels=2
--sign=signed --bps=16 --sample-rate=44100 --compression-level-0 -
508 10344 0.0 0.0 72468 1140 ? S 08:37 0:00 /bin/sh
/usr/local/slimserver/Bin/mplayer.sh -really-quiet -vc null -vo null
-bandwidth 10000000 -cache 128 -af
volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3
rtsp://rmv8.bbc.net.uk/radio4/arts/bookclub/bookclub.ra?BBC-UID=e4b60d82a70eae278a02b7556020bb92304fc781207031 d4847fa082fc8858cb_n&SSO2-UID=
508 10346 0.0 0.0 72468 572 ? S 08:37 0:00 /bin/sh
/usr/local/slimserver/Bin/mplayer.sh -really-quiet -vc null -vo null
-bandwidth 10000000 -cache 128 -af
volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3
rtsp://rmv8.bbc.net.uk/radio4/arts/bookclub/bookclub.ra?BBC-UID=e4b60d82a70eae278a02b7556020bb92304fc781207031 d4847fa082fc8858cb_n&SSO2-UID=

Log snippet....

Streaming: Launching /usr/local/bin/mplayer -really-quiet -vc null -vo
null -bandwidth 10000000 -cache 128 -af
volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3
rtsp://rmv8.bbc.net.uk/radio4/arts/bookclub/bookclub.ra?BBC-UID=e4b60d82a70eae278a02b7556020bb92304fc781207031 d4847fa082fc8858cb_n&SSO2-UID=
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (Family: 6, Model:
15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
2007-08-27 08:37:16.2722 Use of uninitialized value in numeric eq (==)
at /usr/local/slimserver/Slim/Player/Squeezebox.pm line 800, <GEN82> line 1.
2007-08-27 08:37:26.4801 getpeername() on closed socket GEN92 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:37:57.0852 getpeername() on closed socket GEN96 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:38:27.6993 getpeername() on closed socket GEN97 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:38:57.1815 getpeername() on closed socket GEN98 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:38:58.3579 getpeername() on closed socket GEN99 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:39:01.1722 getpeername() on closed socket GEN100 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:39:02.4738 getpeername() on closed socket GEN102 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:39:04.6288 getpeername() on closed socket GEN101 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:39:05.6344 getpeername() on closed socket GEN103 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:39:09.4753 getpeername() on closed socket GEN104 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:39:11.9679 getpeername() on closed socket GEN106 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:39:42.5403 getpeername() on closed socket GEN109 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:40:13.1399 getpeername() on closed socket GEN110 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:40:43.7150 getpeername() on closed socket GEN111 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:41:14.1037 getpeername() on closed socket GEN112 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:41:44.4775 getpeername() on closed socket GEN113 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:42:14.8488 getpeername() on closed socket GEN114 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:42:45.2042 getpeername() on closed socket GEN115 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:43:15.6003 getpeername() on closed socket GEN119 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:43:45.9569 getpeername() on closed socket GEN120 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:44:16.3426 getpeername() on closed socket GEN121 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:44:46.7167 getpeername() on closed socket GEN122 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:45:17.2873 getpeername() on closed socket GEN123 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:45:21.5484 Use of uninitialized value in addition (+) at
/usr/local/slimserver/Slim/Web/Setup.pm line 3051.
2007-08-27 08:45:21.5485 Use of uninitialized value in numeric gt (>) at
/usr/local/slimserver/Slim/Web/Setup.pm line 3042.
2007-08-27 08:45:21.5486 Use of uninitialized value in numeric gt (>) at
/usr/local/slimserver/Slim/Web/Setup.pm line 3042.
2007-08-27 08:45:47.8907 getpeername() on closed socket GEN124 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:46:18.4791 getpeername() on closed socket GEN127 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/Socket.pm line 206.
2007-08-27 08:46:29.7917 Use of uninitialized value in string ne at
/usr/local/slimserver/Slim/Music/Info.pm line 237.

bpa
2007-08-27, 01:27
There is a cut-off problem where in some systems the "-bandwidth 1000000" option interacts with TCP Receive Window setting. Usually happens on tweaked MS-Windows systems and cut-off can vary from 5 to 20 mins.

It is v. rare on Linux systems but it is worth a try to edit the custom-convert.conf fdile and remove the "-bandwidth 10000000" option from the 3 RTSP lines.

This has the effect that it will take about 15 secs for a Listen Again to start (and also same delay after FF/REW).

Andrew Heald
2007-08-27, 03:04
Thank you, that did sort the problem. I can live with the small delay
before streaming starts.

bpa wrote:
> There is a cut-off problem where in some systems the "-bandwidth
> 1000000" option interacts with TCP Receive Window setting. Usually
> happens on tweaked MS-Windows systems and cut-off can vary from 5 to 20
> mins.
>
> It is v. rare on Linux systems but it is worth a try to edit the
> custom-convert.conf fdile and remove the "-bandwidth 10000000" option
> from the 3 RTSP lines.
>
> This has the effect that it will take about 15 secs for a Listen Again
> to start (and also same delay after FF/REW).
>
>
>