PDA

View Full Version : Can't play WMA after upgrade to 6.5.1



colin_young
2007-01-21, 16:46
I just upgraded to server 6.5.1 and I'm not able to play WMA files that I was previously able to play (previously being a couple months ago) through softsqueeze. Running on XP Pro (old working version and new non-working version).

Most of my files are stored on a network drive, and I am able to play mp3 files in the same drive as the wma files that won't play.

The wma files are anything from wma7 96kbps to wma lossless. In the server settings I currently have only the Windows Media/FLAC checked in the Windows media group. I've tried various other combos with no luck (restarting server in between and at one point I even rebooted).

Any suggestions?

Thanks.

Colin

David C
2007-01-24, 00:54
I had a similar problem. I can play WMA and WMA lossless but not WMA Pro. Slimdevices told me WMA Por is not a supported format

Try recording in a new folder one of each and see if this narrows down the problem

colin_young
2007-01-24, 07:26
If you look at my original post, you'll see that I was able to play these files with the previous version of the server software (and in any case at least one of the problem files is WMA7).

Since there has been no interest or likely solutions, my next step is to uninstall everything slim related and reinstall. I'll post the results back here.

oreillymj
2007-01-24, 13:24
It's likely you've gone from a version of Slimserver where WMA files had to be transcoded to a format supported by hardware/Softsqueeze to the current version where WMA files can be decoded natively by the Squeezebox hardware.

Unfortunately the Softsqueeze app still does not support native playback of WMA so it barfs when you try to play a WMA file.

To go back to the old method of transcoding, go to

Server Settings->File types. Go to the last entry in the list

Windows Media Windows Media (built-in)

...and disable it.

Restart Softsqueeze.

Now any WMA files you try to play will be transcoded on the fly and sent to Softsqueeze as an MP3 file. Sorted.

colin_young
2007-01-24, 15:27
Unfortunately no. You'll note from my original post that I've already tried that. I'm uninstalling now and then I'll manually search for any leftovers to see if that fixes things up.

bpa
2007-01-24, 15:32
Can you post a log with d_source ?

colin_young
2007-01-25, 05:59
I'll do that after I reinstall the server, assuming that I still have the problem. I will report back one way or another.

colin_young
2007-01-26, 20:49
Here's a log from an attempt to play a single WMA file (I've trimmed it to where I think it tried to move to the next song after unsuccessfully trying to play it):

lent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
openSong: this is an wma file: file:////benthos/My%20Music/Weeping%20Tile/Cold%20Snap/02%20Cold%20Snap.wma
file type: wma format: flc inrate: 97.5195 maxRate: 0
command: [wmadec] -r 44100 -b 16 -n 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
Using command for conversion: "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe" -r 44100 -b 16 -n 2 "\\benthos\My Music\Weeping Tile\Cold Snap\02 Cold Snap.wma" | "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 - |
Launching process with command: "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe" -o 2777 -c "\"C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe\" -r 44100 -b 16 -n 2 \"\\benthos\My Music\Weeping Tile\Cold Snap\02 Cold Snap.wma\" | \"C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe\" -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 - |"
openSong: Streaming with format: flc
e0:16:d1:d3:4e:b3 New play mode: play
Transporter::play - setting DigitalInput to 0 for [file:////benthos/My%20Music/Weeping%20Tile/Cold%20Snap/02%20Cold%20Snap.wma]
e0:16:d1:d3:4e:b3: Current playmode: play
Pipeline reader connected
readlen undef: (Unknown error)10054
end of file or error on socket, opening next song, (song pos: 0(tell says: . 0), totalbytes: 0)
Didn't stream any bytes for this song, so just mark it as played
opening next song...
the next song is number 0, was 0
undermax = 1, type = wma, softsqueeze = e0:16:d1:d3:4e:b3
checking formats for: wma-ogg-softsqueeze-e0:16:d1:d3:4e:b3
checking formats for: wma-ogg-*-e0:16:d1:d3:4e:b3
checking formats for: wma-ogg-softsqueeze-*
checking formats for: wma-ogg-*-*
checking formats for: wma-flc-softsqueeze-e0:16:d1:d3:4e:b3
checking formats for: wma-flc-*-e0:16:d1:d3:4e:b3
checking formats for: wma-flc-softsqueeze-*
checking formats for: wma-flc-*-*
Checking to see if wma-flc-*-* is enabled
There are 0 disabled formats...
Testing wma-wma-squeezebox2-* vs wma-flc-*-*
enabled
Found command: [wmadec] -r 44100 -b 16 -n 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
Matched Format: flc Type: wma Command: [wmadec] -r 44100 -b 16 -n 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
playing out before starting next song. (old format: flc, new: flc)
e0:16:d1:d3:4e:b3: Switching to mode playout-play from play
e0:16:d1:d3:4e:b3 New play mode: playout-play
e0:16:d1:d3:4e:b3: Current playmode: playout-play
No pending chunks - we're dropping the streaming connection
e0:16:d1:d3:4e:b3: Can't opennext, returning no chunk.
e0:16:d1:d3:4e:b3: Decoder underrun while this mode: playout-play
the next song is number 0, was 0
**skipahead: opening next song
opening next song...
the next song is number 0, was 0

Skunk
2007-01-26, 21:03
Hi, is son of colin your actual son?

Does socketwrapper.exe have permission to get through the firewall?

SteveEast
2007-01-26, 21:15
A recent similar problem with streaming ALAC was fixed by replacing the released socketwrapper.exe with the version from:

http://homepage.eircom.net/~altondsl/slim/socketwrapper_0.12_20060220.zip

It goes in:

C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\

Steve.

colin_young
2007-01-26, 21:19
Hi, is son of colin your actual son?

I hope not...


Does socketwrapper.exe have permission to get through the firewall?

Yes. It has full access. I am able to play mp3 files hosted on the same server as the problematic WMA files. In any case, Softsqueeze is running on the same machine as the server software (although the original install did request access to be opened through the firewall).

Skunk
2007-01-26, 21:25
I hope not...



Yes. It has full access. I am able to play mp3 files

Sorry x2. I noticed you and sonofcolin were signed on at the same time, and missed the mp3 part of your orig post.

bpa
2007-01-27, 00:52
I think the key bit of the log


Pipeline reader connected
readlen undef: (Unknown error)10054
end of file or error on socket, opening next song, (song pos: 0(tell says: . 0), totalbytes: 0)


This is usually associated with security s/w/ - firewall, antivirus, anti spyware, IM protection etc. affecting the programs although it is unusual to affect wmadec so it may be a permissions issues.

Just because two apps are on the same machine does NOT mean the firewall won't stop them - the apps communicate via network sockets and in some cases even if the sockets are local they will still go through the firewall as that is how many Trojans works.

What security s/w have you installed ?

colin_young
2007-01-27, 07:29
I have Mcafee a/v and personal firewall. Yes, I've noticed that slimserver needs permissions granted to the local exes to run. Previously I had to open ports in the firewall in order to access slimserver from a remote machine, but not on the local machine.

Are there any log settings I can turn on to figure out what the problem is? I have slimserver running under my account, which has full access to that network folder.

I'm not really thrilled about the idea of installing some random exe to replace the code that slim distributes. I have some confidence that slim is not up to anything malicious with their code, but I don't have that confidence for some unknown exe.

bpa
2007-01-27, 07:58
The alternative socketwrapper handles a A/V problem but it usually only happens with AlienBBC. The code was going to be adopted by the Slimserver developers but the Author (Ian Cook) has become uncontactable.

To see if McAfee is the problem - you should test with McAfee uninstalled, just disabled is usually not sufficient. When McAfee is uninstalled make sure PC is not connected to internet.

If McAfee is not the problem then we need to think some more about permissions/access.

SteveEast
2007-01-27, 18:01
A second person just got their ALAC music to play using the alternate socketwrapper. Maybe it's worth trying...

Steve.

bpa
2007-01-27, 18:28
IIRC The use of socketwrapper by the ALAC decoder is different to the use by wmadec so I don't expect the alternative socketwrapper to solve the problem. However each new version of these security software get more and more zealous in blocking apps which network in unexpected ways.

It would be better to uninstall McAfee and see if the problem goes away. That would be a definitive way of identifying the problem.

colin_young
2007-01-28, 12:26
My intention is to try the firewall/A/V route first. I just need to find my reinstall information so I can put it all back after I'm done testing (that and find some time to do it).

Thanks for the help so far.

colin_young
2007-04-29, 04:56
Finally uninstalled McAfee (completely, including fixing winsock after Mcafee left it busted) and still can't play wma, with only flac selected.

2007-04-29 07:43:29.9102 e0:16:d1:d3:4e:b3: Switching to mode stop from playout-stop
2007-04-29 07:43:29.9254 e0:16:d1:d3:4e:b3 New play mode: stop
2007-04-29 07:43:29.9256 Stopping and clearing out old chunks for client e0:16:d1:d3:4e:b3
2007-04-29 07:43:29.9273 Resetting song queue
2007-04-29 07:43:29.9274 Song queue is now 0
2007-04-29 07:43:29.9283 e0:16:d1:d3:4e:b3: Current playmode: stop
2007-04-29 07:43:29.9284 Adding song index 0 to song queue
2007-04-29 07:43:29.9285 Clearing out song queue first
2007-04-29 07:43:29.9286 Song queue is now 0
2007-04-29 07:43:29.9292 e0:16:d1:d3:4e:b3: Switching to mode play from stop
2007-04-29 07:43:29.9843 openSong on: file:////benthos/My%20Music/New%20Pornographers/Mass%20Romantic/01%20Mass%20Romantic.wma
2007-04-29 07:43:30.0339 openSong: duration: [244.087] size: [2965285] endian [] offset: [0] for file:////benthos/My%20Music/New%20Pornographers/Mass%20Romantic/01%20Mass%20Romantic.wma
2007-04-29 07:43:30.0349 undermax = 1, type = wma, softsqueeze = e0:16:d1:d3:4e:b3
2007-04-29 07:43:30.0366 checking formats for: wma-ogg-softsqueeze-e0:16:d1:d3:4e:b3
2007-04-29 07:43:30.0367 checking formats for: wma-ogg-*-e0:16:d1:d3:4e:b3
2007-04-29 07:43:30.0368 checking formats for: wma-ogg-softsqueeze-*
2007-04-29 07:43:30.0368 checking formats for: wma-ogg-*-*
2007-04-29 07:43:30.0369 checking formats for: wma-flc-softsqueeze-e0:16:d1:d3:4e:b3
2007-04-29 07:43:30.0370 checking formats for: wma-flc-*-e0:16:d1:d3:4e:b3
2007-04-29 07:43:30.0371 checking formats for: wma-flc-softsqueeze-*
2007-04-29 07:43:30.0371 checking formats for: wma-flc-*-*
2007-04-29 07:43:30.0372 Checking to see if wma-flc-*-* is enabled
2007-04-29 07:43:30.0373 There are 1 disabled formats...
2007-04-29 07:43:30.0374 Testing wma-wma-squeezebox2-* vs wma-flc-*-*
2007-04-29 07:43:30.0375 Testing wma-wav-*-* vs wma-flc-*-*
2007-04-29 07:43:30.0375 enabled
2007-04-29 07:43:30.0376 Found command: [wmadec] -r 44100 -b 16 -n 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-29 07:43:30.0378 Matched Format: flc Type: wma Command: [wmadec] -r 44100 -b 16 -n 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-29 07:43:30.0466 openSong: this is an wma file: file:////benthos/My%20Music/New%20Pornographers/Mass%20Romantic/01%20Mass%20Romantic.wma
2007-04-29 07:43:30.0467 file type: wma format: flc inrate: 97.1878 maxRate: 0
2007-04-29 07:43:30.0468 command: [wmadec] -r 44100 -b 16 -n 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-29 07:43:30.0482 Using command for conversion: "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\wmadec.exe" -r 44100 -b 16 -n 2 "\\benthos\My Music\New Pornographers\Mass Romantic\01 Mass Romantic.wma" | "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 - |
2007-04-29 07:43:30.0508 Launching process with command: "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe" -o 1250 -c "\"C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\wmadec.exe\" -r 44100 -b 16 -n 2 \"\\benthos\My Music\New Pornographers\Mass Romantic\01 Mass Romantic.wma\" | \"C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe\" -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 - |"
2007-04-29 07:43:30.0556 openSong: Streaming with format: flc
2007-04-29 07:43:30.1098 e0:16:d1:d3:4e:b3 New play mode: play
2007-04-29 07:43:30.1132 Transporter::play - setting DigitalInput to 0 for [file:////benthos/My%20Music/New%20Pornographers/Mass%20Romantic/01%20Mass%20Romantic.wma]
2007-04-29 07:43:30.1787 e0:16:d1:d3:4e:b3: Current playmode: play
2007-04-29 07:43:30.1874 Pipeline reader connected
2007-04-29 07:43:30.8778 readlen undef: (Unknown error)10054
2007-04-29 07:43:30.9372 end of file or error on socket, opening next song, (song pos: 0(tell says: . 0), totalbytes: 0)
2007-04-29 07:43:30.9373 Didn't stream any bytes for this song, so just mark it as played
2007-04-29 07:43:30.9375 opening next song...
2007-04-29 07:43:30.9383 e0:16:d1:d3:4e:b3: Switching to mode playout-stop from play
2007-04-29 07:43:30.9387 e0:16:d1:d3:4e:b3 New play mode: playout-stop
2007-04-29 07:43:30.9400 e0:16:d1:d3:4e:b3: Current playmode: playout-stop
2007-04-29 07:43:30.9401 No pending chunks - we're dropping the streaming connection
2007-04-29 07:43:30.9461 e0:16:d1:d3:4e:b3: Can't opennext, returning no chunk.
2007-04-29 07:43:31.0608 e0:16:d1:d3:4e:b3: Decoder underrun while this mode: playout-stop
2007-04-29 07:43:31.0611 the next song is number 0, was 0
2007-04-29 07:45:31.4866 e0:16:d1:d3:4e:b3: Switching to mode pause from playout-stop
2007-04-29 07:45:31.4872 e0:16:d1:d3:4e:b3 New play mode: pause
2007-04-29 07:45:31.5022 e0:16:d1:d3:4e:b3: Current playmode: pause

SteveEast
2007-04-29, 07:35
Do you now have the standard Windows firewall enabled?

Steve.

bpa
2007-04-29, 09:47
For completeness, it would be interesting to see of replacing socketwrapper by this version http://homepage.eircom.net/~altondsl/slim/socketwrapper_0.12_20060220.zip

fixes the problem. From your system description it shouldn't but it helped a few other users in a similar situations. My present pet theory for these users is spyware and/or spyware removal messing up network setup.

colin_young
2007-04-30, 06:17
Windows firewall was on, now it's off, same results (restarted softsqueeze and rebooted also). When I get some spare time I'm going to try to move the wma file to a local directory (it's currently on a network share) to eliminate any issues there (although mp3 files on the network drive have no issues).

Depending on the results of that little experiment, I'll try the socketwrapper also.

I know there are network issues with my computer on occasion, thanks to the now removed McAfee and Cingular's cellular modem driver, so I may just have to move the server back onto a desktop computer to eliminate that issue also.

I'll report any results back to this thread just in case anyone else is watching it.

Blue_Max
2007-05-01, 10:11
I have many CDs ripped in WMA Loseless format and was not able to play with Slimserver.

Unchecking 'Windows Media Windows Media (built-in)' plus reboot did not work.

Then downloaded the older version of the socketwrapper.exe from
http://homepage.eircom.net/~altondsl/slim/socketwrapper_0.12_20060220.zip
Unzipped it and replaced the existing socketwrapper.exe in
C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread

Problem solved! :-)
Many thanks, SteveEast and 'bpa'

Now few questions!

Does it mean now that "any WMA files you try to play will be transcoded on the fly and sent to Softsqueeze as an MP3 file" and therefore of lower lossy format quality ?

Which format is best for 'audiophile' sound quality?
FLAC, WMA Loseless or something else out there?

How does players such as foobar2000, Winamp and WMP compare with Slimserver/Softsqueeze in terms of sound qulaity?

Thanks.

bpa
2007-05-01, 11:06
Blue_max,

I want to get a new version of socketwrapper into the standard distribution but we need to be sure that it handles the problem cases.

If you are using Windows XP sp2, can you do the following command in a command window - it should do a dump of the network stuff installed into a file called netshlog.txt.

netsh winsock show catalog >netshlog.txt

After doing the command, if the file has lines of texts can you attach the file to a post(zip it if necessary). This should help get eliminate this socketwrapper problem.

Separately - if you transcode files to Flac you will lose no quality of the original source. If you transcode into another lossy format such as MP3, you will lose quality from the original. Where possible slimserver will try to transcode to flac first - it will use MP3 if there is bit rate limit in place or Flac encoding is disabled.

Technically all lossless format are equal.

Blue_Max
2007-05-01, 13:51
bpa

Yes I run Win XP SP2
Please see PM sent.

Job CF

colin_young
2007-05-05, 11:12
I've attached the results of netsh, with the older socketwrapper.exe installed. That did get streaming working for me.


Blue_max,

I want to get a new version of socketwrapper into the standard distribution but we need to be sure that it handles the problem cases.

If you are using Windows XP sp2, can you do the following command in a command window - it should do a dump of the network stuff installed into a file called netshlog.txt.

netsh winsock show catalog >netshlog.txt

After doing the command, if the file has lines of texts can you attach the file to a post(zip it if necessary). This should help get eliminate this socketwrapper problem.

Separately - if you transcode files to Flac you will lose no quality of the original source. If you transcode into another lossy format such as MP3, you will lose quality from the original. Where possible slimserver will try to transcode to flac first - it will use MP3 if there is bit rate limit in place or Flac encoding is disabled.

Technically all lossless format are equal.

bpa
2007-05-05, 12:30
Colin_young,

Thanks for the log - this help pin down this socketwrapper problem.

The source of the problem is a file called bmnet.dll. This could be from Bytemobile and if so is considered to be malware.

Did you install this deliberately ?
Do you have some sort of mobile phone card on your PC to connect to internet ?

Blue_Max
2007-05-05, 12:34
Hope you go the file that I emailed.

I can play WMA Lossless files now but lots of disk chruning goes on.
Slimserver is resource hungry compared to other players such as foobar2000 and Winamp. Conversion adds to that.

Is it sonically or otherwise best to rip the CDs again in FLAC format.

bpa
2007-05-05, 12:40
Blue_Max,

Thanks - the log showed two items PC Tools Spware doctor and another PC Tools products. The QA guys in Slimdevices are going to test PC Tools in their lab to verify it.

Blue_Max
2007-05-05, 13:17
It also runs
AVG Free edition,
Spyware Guard 2.2 by Javacool Software,
Zone Labs Firewall or Built in firewall in the Speedtouch modem/router and WPA encryption

colin_young
2007-05-05, 15:42
I do in fact have a Cingular modem that I use on this computer. The software it ships with is a piece of crap, and if bmnet.dll is in fact from the Cingular Connection Manager, that's just one more strike against it.

Thanks, and glad that my problems have been of some help :)


Colin_young,

Thanks for the log - this help pin down this socketwrapper problem.

The source of the problem is a file called bmnet.dll. This could be from Bytemobile and if so is considered to be malware.

Did you install this deliberately ?
Do you have some sort of mobile phone card on your PC to connect to internet ?