Triode wrote:

That looks to be a windows media video stream.  Slimserver can't play
these! [playing it in windows media player also shows a video]  If
there is a related radio statio, we need to find the .asx or mms: url.


ah, I need to dig deeper on that one. I got similar behavior from an mms: URL though:

2005-08-07 00:28:30.4464 undermax = 1, type = wav, squeezebox = 00:04:20:05:59:be, lame = /usr/bin/lame 2005-08-07 00:28:30.4467 checking formats for: wav-aif-squeezebox-00:04:20:05:59:be
2005-08-07 00:28:30.4469 checking formats for: wav-aif-*-00:04:20:05:59:be
2005-08-07 00:28:30.4470 checking formats for: wav-aif-squeezebox-*
2005-08-07 00:28:30.4472 checking formats for: wav-aif-*-*
2005-08-07 00:28:30.4473 checking formats for: wav-wav-squeezebox-00:04:20:05:59:be
2005-08-07 00:28:30.4475 checking formats for: wav-wav-*-00:04:20:05:59:be
2005-08-07 00:28:30.4476 checking formats for: wav-wav-squeezebox-*
2005-08-07 00:28:30.4478 checking formats for: wav-wav-*-*
2005-08-07 00:28:30.4479 Checking to see if wav-wav-*-* is enabled
2005-08-07 00:28:30.4481    enabled
2005-08-07 00:28:30.4483   Found command: -
2005-08-07 00:28:30.4486 Setting maxBitRate for squeezebox to: 0
2005-08-07 00:28:30.4488 Setting maxBitRate for squeezebox to: 0
2005-08-07 00:28:30.4490 Setting maxBitRate for sb2 to: 0
2005-08-07 00:28:30.4492 Matched Format: wav Type: wav Command: -
2005-08-07 00:28:30.4494 remoteURL command - type wav format wav
2005-08-07 00:28:30.4498 remoteURL stream format : wav
Streaming: Launching mplayer -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -nowaveheader -aofile /dev/fd /3 mms://wmbcast.kqed.speedera.net/wmbcast.kqed/wmbcast_kqed_jan112002_1500_45704
2005-08-07 00:28:30.4664 *----------------------------
2005-08-07 00:28:30.4668 Open command [squeezebox (00:04:20:05:59:be)]
2005-08-07 00:28:30.4670 *----------------------------
2005-08-07 00:28:30.4719 =======================================
2005-08-07 00:28:30.4723 Starting to time " - mms://wmbcast.kqed.speedera.net/wmbcast.kqed/wmbcast kqed jan112002 1500 4570
4 (from )"
2005-08-07 00:28:30.4725 ==Track.new
2005-08-07 00:28:30.4728 No length available, track will not be submitted
2005-08-07 00:28:30.4738 ======= showCurrentVariables() ========
2005-08-07 00:28:30.4740 Artist:
2005-08-07 00:28:30.4742 Track: mms://wmbcast.kqed.speedera.net/wmbcast.kqed/wmbcast kqed jan112002 1500 45704
2005-08-07 00:28:30.4743 Album:
2005-08-07 00:28:30.4745 Original Filename: mms://wmbcast.kqed.speedera.net/wmbcast.kqed/wmbcast_kqed_jan112002_1500_45704
2005-08-07 00:28:30.4747 No Countdown object yet
2005-08-07 00:28:30.4748 Current state of Track object: CANCEL
2005-08-07 00:28:30.4750 Is power on? : true
2005-08-07 00:28:30.4755 Pending submissions / Max :  77 / 1
2005-08-07 00:28:30.4758 Background Submit Status: 0
2005-08-07 00:28:30.4760 Interval Countdown remaining / elapsed / original : 5949.857473 / 1250.142563 / 7200
2005-08-07 00:28:30.4762 =======================================
2005-08-07 00:28:30.4766 00:04:20:05:bc:40 New play mode: play
2005-08-07 00:28:30.4791 00:04:20:05:59:be New play mode: play
2005-08-07 00:28:30.4821 00:04:20:05:bc:40: Current playmode: play
MPlayer 1.0pre7-3.4.1 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

-nowaveheader is deprecated. Use -ao pcm:nowaveheader instead.
2005-08-07 00:28:30.6213 Read to end of file or pipe
Use of uninitialized value in concatenation (.) or string at /usr/local/slimserver/Slim/Player/Source.pm line 1939. Use of uninitialized value in concatenation (.) or string at /usr/local/slimserver/Slim/Player/Source.pm line 1939. 2005-08-07 00:28:30.6219 end of file or error on socket, opening next song, (song pos: 0(tell says: . ), totalbytes: )
2005-08-07 00:28:30.6221 opening next song...
2005-08-07 00:28:30.6226 Backtrace:

frame 0: Slim::Player::Source::playmode (/usr/local/slimserver/Slim/Player/Source.pm line 831) frame 1: Slim::Player::Source::gotoNext (/usr/local/slimserver/Slim/Player/Source.pm line 1951) frame 2: Slim::Player::Source::readNextChunk (/usr/local/slimserver/Slim/Player/Source.pm line 609) frame 3: Slim::Player::Source::nextChunk (/usr/local/slimserver/Slim/Web/HTTP.pm line 1438) frame 4: Slim::Web::HTTP::sendStreamingResponse (/usr/local/slimserver/Slim/N
etworking/Select.pm line 124)
frame 5: Slim::Networking::Select::select (/usr/local/slimserver/slimserver.pl line 636)
  frame 6: main::idle (/usr/local/slimserver/slimserver.pl line 579)
  frame 7: main::main (/usr/local/slimserver/slimserver.pl line 1175)

2005-08-07 00:28:30.6230 00:04:20:05:59:be: Switching to mode playout-stop from play
2005-08-07 00:28:30.6233 00:04:20:05:59:be New play mode: playout-stop
2005-08-07 00:28:30.6247 00:04:20:05:bc:40 New play mode: playout-stop
2005-08-07 00:28:30.6260 00:04:20:05:59:be: Current playmode: playout-stop
2005-08-07 00:28:30.6264 No pending chunks - we're dropping the streaming connection 2005-08-07 00:28:30.6291 00:04:20:05:59:be: Can't opennext, returning no chunk. 2005-08-07 00:28:30.6335 00:04:20:05:59:be: Underrun while this mode: playout-stop 2005-08-07 00:28:30.6857 Found an empty chunk on the queue - this means we should drop the streaming connection. 2005-08-07 00:28:30.6888 00:04:20:05:bc:40: Decoder underrun while this mode: playout-stop
2005-08-07 00:28:31.0271 Setting maxBitRate for sb2 to: 0


and an .rm:

Streaming: Launching mplayer -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -nowaveheader -aofile /dev/fd /3 rtsp://rmbcast.kqed-us1w.speedera.net/alias_sjose_abovn/broadcast/rmbcast.kqed-us1w/rmbcast_kqed-us1w_jan112002_1500_624
88.rm
2005-08-06 23:37:05.4453 remoteURL is a song : rtsp://rmbcast.kqed-us1w.speedera.net/alias_sjose_abovn/broadcast/rmbcast.kq
ed-us1w/rmbcast_kqed-us1w_jan112002_1500_62488.rm
2005-08-06 23:37:05.4464 Setting maxBitRate for squeezebox to: 0
2005-08-06 23:37:05.4467 Setting maxBitRate for squeezebox to: 0
2005-08-06 23:37:05.4469 Setting maxBitRate for sb2 to: 0
2005-08-06 23:37:05.4470 undermax = 1, type = wav, squeezebox = 00:04:20:05:59:be, lame = /usr/bin/lame 2005-08-06 23:37:05.4473 checking formats for: wav-aif-squeezebox-00:04:20:05:59:be
2005-08-06 23:37:05.4474 checking formats for: wav-aif-*-00:04:20:05:59:be
2005-08-06 23:37:05.4475 checking formats for: wav-aif-squeezebox-*
2005-08-06 23:37:05.4476 checking formats for: wav-aif-*-*
2005-08-06 23:37:05.4478 checking formats for: wav-wav-squeezebox-00:04:20:05:59:be
2005-08-06 23:37:05.4479 checking formats for: wav-wav-*-00:04:20:05:59:be
2005-08-06 23:37:05.4480 checking formats for: wav-wav-squeezebox-*
2005-08-06 23:37:05.4481 checking formats for: wav-wav-*-*
2005-08-06 23:37:05.4483 Checking to see if wav-wav-*-* is enabled
2005-08-06 23:37:05.4484    enabled
2005-08-06 23:37:05.4485   Found command: -
2005-08-06 23:37:05.4487 Setting maxBitRate for squeezebox to: 0
2005-08-06 23:37:05.4489 Setting maxBitRate for squeezebox to: 0
2005-08-06 23:37:05.4491 Setting maxBitRate for sb2 to: 0
2005-08-06 23:37:05.4492 Matched Format: wav Type: wav Command: -
2005-08-06 23:37:05.4494 remoteURL command - type wav format wav
2005-08-06 23:37:05.4497 remoteURL stream format : wav
2005-08-06 23:37:05.4770 *----------------------------
2005-08-06 23:37:05.4773 Open command [squeezebox (00:04:20:05:59:be)]
2005-08-06 23:37:05.4775 *----------------------------
2005-08-06 23:37:05.4822 =======================================
2005-08-06 23:37:05.4825 Starting to time " - rtsp://rmbcast.kqed-us1w.speedera.net/alias sjose abovn/broadcast/rmbcast.kqe
d-us1w/rmbcast kqed-us1w jan112002 1500 62488.rm (from )"
2005-08-06 23:37:05.4827 ==Track.new
2005-08-06 23:37:05.4829 No length available, track will not be submitted
...
MPlayer 1.0pre7-3.4.1 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

-nowaveheader is deprecated. Use -ao pcm:nowaveheader instead.
2005-08-06 23:37:05.6112 Read to end of file or pipe
Use of uninitialized value in concatenation (.) or string at /usr/local/slimserver/Slim/Player/Source.pm line 1939. Use of uninitialized value in concatenation (.) or string at /usr/local/slimserver/Slim/Player/Source.pm line 1939. 2005-08-06 23:37:05.6116 end of file or error on socket, opening next song, (song pos: 0(tell says: . ), totalbytes: )
2005-08-06 23:37:05.6118 opening next song...
2005-08-06 23:37:05.6123 Backtrace:

frame 0: Slim::Player::Source::playmode (/usr/local/slimserver/Slim/Player/Source.pm line 831) frame 1: Slim::Player::Source::gotoNext (/usr/local/slimserver/Slim/Player/Source.pm line 1951) frame 2: Slim::Player::Source::readNextChunk (/usr/local/slimserver/Slim/Player/Source.pm line 609) frame 3: Slim::Player::Source::nextChunk (/usr/local/slimserver/Slim/Web/HTTP.pm line 1438) frame 4: Slim::Web::HTTP::sendStreamingResponse (/usr/local/slimserver/Slim/Networking/Select.pm line 124) frame 5: Slim::Networking::Select::select (/usr/local/slimserver/slimserver.pl line 636)
  frame 6: main::idle (/usr/local/slimserver/slimserver.pl line 579)
  frame 7: main::main (/usr/local/slimserver/slimserver.pl line 1175)


It looks like Mplayer is getting launched properly, but I can't tell if it chokes on the stream, or if there's something wrong between it and Slimserver. I'm kind of thinking the former, as the network lights are quiet :) I'm getting the stream URLs using Mplayer on a Linux laptop, so I know that Mplayer is theoretically able to handle them.

[EMAIL PROTECTED] jack]$ rpm -qa|grep -i mplayer
mplayer-1.0-0.pre7.0.1.101plf
[EMAIL PROTECTED] jack]$ rpm -qa|grep -i codec
xanim-codecs-1.0-3plf
win32-codecs-1.7-2plf
helixplayer-helix-codecs-1.0.1.436-1mdk
real-codecs-1.2-1plf

[EMAIL PROTECTED] jack]$ locate mplayer | grep bin
/usr/bin/mplayer
/usr/local/bin/mplayer

ah, now we're getting somewhere. Is this the only place that the Mplayer to use is chosen?
/usr/local/slimserver/transcoder_proxy.pl:17:my $mplayer = "mplayer";

Hrm, specifying either location doesn't work though. I'm restarting Slimserver between edits. Any ideas?

--
Jack at Monkeynoodle dot Org : It's a Scientific Venture!
"I spent all me tin with the ladies drinking gin, so across the Western ocean I must 
wander." -- All for Me Grog, traditional

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to