PDA

View Full Version : WMA problem in SC v2007-12-25



Monk
2007-12-26, 13:49
Hi all,

I got a strange problem with wma playback in common and mms urls.

1) SC native wma decoding
It works for:
http://lsd.newmedia.tiscali-business.com/bb/redirect.lsc?stream=swr/swr1/live_rp_44.wma&content=live&media=ms
mms://62.26.161.89/swr$swr1$live_rp_44.wma

It doesnt work for:
http://lsd.newmedia.tiscali-business.com/bb/redirect.lsc?stream=swr3/livestream.wma&content=live&media=ms
mms://213.200.75.248/swr3$livestream.wma

Dont know if it the same wma stream but essentially the same provider and same radio just a different channel.
In the debug log the 2nd (not working url) looks like

[07-12-26 21:24:35.4923] Slim::Player::TranscodingHelper::checkBin (148) Found command: -
[07-12-26 21:24:35.4937] Slim::Player::TranscodingHelper::getConvertCommand (308) Matched Format: wma Type: wma Command: -
[07-12-26 21:24:35.4967] Slim::Utils::Misc::msg (1242) Warning: [21:24:35.4958] Use of uninitialized value in numeric eq (==) at /home/slimserver/slimserver/Slim/Player/Squeezebox.pm line 944.
[07-12-26 21:24:35.5035] Slim::Player::Source::playmode (553) 00:04:20:12:3f:30: Current playmode: play

The url works tho in WM11 or VLC.

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

2nd try: mplayer as discribed here: http://wiki.slimdevices.com/index.cgi?WMA

In order to get it maybe working I tried the mplayer method. Gave the following output in debug:

[07-12-26 21:18:35.6324] Slim::Player::TranscodingHelper::checkBin (148) Found command: [mplayer] -really-quiet -vc null -vo null -cache 64 -af volume=0,re
sample=44100:0:1,channels=2 -ao pcm:nowaveheader:file=/dev/fd/4 $FILE$ 4>&1 1>/dev/null
[07-12-26 21:18:35.6338] Slim::Player::TranscodingHelper::getConvertCommand (308) Matched Format: wav Type: wma Command: [mplayer] -really-quiet -vc null -vo
null -cache 64 -af volume=0,resample=44100:0:1,channels=2 -ao pcm:nowaveheader:file=/dev/fd/4 $FILE$ 4>&1 1>/dev/null
[07-12-26 21:18:35.6351] Slim::Player::Source::gotoNext (1271) Playing out before starting next song. (old format: flc, new: wav)
[07-12-26 21:18:35.6363] Slim::Player::Source::playmode (298) 00:04:20:12:3f:30: Switching to mode playout-play from play
[07-12-26 21:18:35.6379] Slim::Player::Source::playmode (397) 00:04:20:12:3f:30 New play mode: playout-play
[07-12-26 21:18:35.6412] Slim::Player::Source::playmode (553) 00:04:20:12:3f:30: Current playmode: playout-play
[07-12-26 21:18:35.6426] Slim::Player::Source::dropStreamingConnection (1315) No pending chunks - we're dropping the streaming connection
[07-12-26 21:18:35.6447] Slim::Player::Source::readNextChunk (2396) 00:04:20:12:3f:30: Can't opennext, returning no chunk.
[07-12-26 21:18:35.6483] Slim::Utils::Misc::msg (1242) Warning: [21:18:35.6453] getpeername() on closed socket GEN174 at /usr/lib/perl/5.8/IO/Socket.pm line
206.
[07-12-26 21:18:35.6582] Slim::Player::Source::decoderUnderrun (579) 00:04:20:12:3f:30: Decoder underrun while this mode: playout-play
[07-12-26 21:18:35.6596] Slim::Player::Source::nextsong (1551) The next song is number 0, was 0
[07-12-26 21:18:35.6612] Slim::Player::Source::decoderUnderrun (614) 00:04:20:12:3f:30: Ignoring decoder underrun, player already has 2 tracks


Here it doesnt matter which one I try. No wma gets played with this.
Hope anyone got an idea whats going wrong. Thanks in advance.

Best regards,

Monk