PDA

View Full Version : Setting up 96/24 FLAC on SB2/SB3



DSK
2010-02-21, 01:25
Hi, I haven't been to these forums for a long time. Just been doing some searching but can't find anything that tells me definitively how to enable the auto downsampling of high res 96/24 or 88/24 FLAC files to 48/24 or 44/24 to play on my SB2.

Yesterday I upgraded from SqueezeCentre 7.4 (Feb '09) to the latest released SqueezeBox Server 7.4.1 (Oct '09) and updated firmware from 124 to 130. I downloaded a 96/24 album in FLAC from Linn Records. It was scanned into the database OK and plays fine through the PC speakers via Media Monkey, but when I try to play it using the SqueezeBox Server Web Control interface the track seems to try to start playing but the time counter only gets to 1 or 2 then drops back to 0 or 1 and keeps repeating that process.

Are there any steps I have to do before it works? I could find no instructions in SqueezeBox Server on this. The only comment I could find seemed to indicate that it should just work automatically using SOX which is contained within SqueezeBox Server.

Many thanks for any help.

EDIT: If it matters, in the FILE TYPES section of Advanced tab in SqueezeBox Server, in the FLAC section, I have Flac=Native (only other option is Disabled, MP3=greyed out, PCM=flac (only other option is Disabled). I can see that there is a Flac/Sox option for some of the other file types, but not under the FLAC section. ???

Mnyb
2010-02-21, 02:29
it should work fine with the default settings you don't have to do anything at all, the servers knows if a Player only supports 24/48 and take the appropriate steps and runs SOX and FLAC.

That mp3 is greyd out probably means that lame is not installed on the system

As you can set PCM=flac probably means that FLAC is installed on your system ?

Ok What is the OS and Hardware ?

The SOX exe is not available for all kinds of hardware and OS are you on a NAS.

The transcoding process is pretty CPU intesnsive
the machine should have an x86 CPU with floating point math >=1.2GHz

What does the server.log says when you try to start the track ?

DSK
2010-02-21, 06:12
C2D 2.6ghz
Corsair 2gb 1333MHZ DDR2
WD Raptor 36GB 10k RPM system HDD
Seagate 200GB 7500 RPM data HDD
WD MyBook 500GB USB HDD music library

Windows XP SP3

You are right about Lame not being installed (I gather that this is not relevant to my problem?)


Will check the log...

EDIT: OK, server.log says ...

[20:12:32.2136] Slim::Player::Song::open (404) Error: Couldn't create command line for flc playback for [file:///G:/Music%20Server%20Library/Dawn%20Langstroth/Highwire/06%20-%20Where%20Were%20You.flac]

Mnyb
2010-02-21, 06:42
That should be hardware enough to do it :) twice as fast as my server.

That flc fault message is mysterious ?

Well how to figure if flac is installed ? should it not be by default these days ?

I'm not sure where it is on windows but the binaries is in the bin folder
Maybe

squeezeboxserver/Bin/MSWin32-x86-multi-thread/ ?

Or similar ? here you should have:

alac.exe
cygwin1.dll
faad.exe
flac.exe
grant.exe
mac.exe
mov123.exe
mppdec.exe
mysqld.exe
socketwrapper.exe
sox.exe
wmadec.exe
wvunpack.exe

If get your hands on lame you should see it here too.

Did you try with the default settings in filetype and no bitrate limiting for the player as you can play other flac files 16/44.1 and 24/48 ? you probably don't use bit rate limiting (requires lame)?

If you "ctrl alt del" when playing a 24/96 file you should see a running sox and flac process

DSK
2010-02-21, 06:55
Yes, FLAC is installed. All my library is FLAC (from redbook rips using EAC with FLAC compresion integrated) and has always worked fine, still does .. it is just the new 24/96 FLAC that I wish to try out (downsampled) that is not working.

No, I don't use bit rate limiting.

There's stack of stuff in the server.log but this seems to be the key part ...

[00:43:10.3924] Slim::Player::StreamingController::_eventAction (284) params: index => 1 seekdata => undef
[00:43:10.3929] Slim::Player::StreamingController::_Stop (607) Song queue is now 0
[00:43:10.3983] Slim::Player::SongStreamController::DESTROY (45) DESTROY(Slim::Player::SongStreamController=HASH(0x 51d24a4)) live=0
[00:43:10.3985] Slim::Player::StreamingController::_setPlayingStat e (2222) new playing state STOPPED
[00:43:10.3987] Slim::Player::StreamingController::_setStreamingSt ate (2235) new streaming state IDLE
[00:43:10.4015] Slim::Player::Song::new (107) index 1 -> file:///G:/Music%20Server%20Library/Dawn%20Langstroth/Highwire/02%20-%20Enough%20for%20Two.flac
[00:43:10.4018] Slim::Player::Song::new (149) live=2
[00:43:10.4021] Slim::Player::StreamingController::_setStreamingSt ate (2235) new streaming state TRACKWAIT
[00:43:10.4023] Slim::Player::Song::DESTROY (159) DESTROY(Slim::Player::Song=ARRAY(0x7af1c3c)) live=1: index=0, url=file:///G:/Music%20Server%20Library/Dawn%20Langstroth/Highwire/01%20-%20It%20s%20All%20Good.flac
[00:43:10.4026] Slim::Player::Song::getNextSong (228) file:///G:/Music%20Server%20Library/Dawn%20Langstroth/Highwire/02%20-%20Enough%20for%20Two.flac
[00:43:10.4028] Slim::Player::StreamingController::_nextTrackReady (733) 00:04:20:05:d0:44: nextTrack will be index 1
[00:43:10.4030] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:d0:44: NextTrackReady in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_Stream
[00:43:10.4033] Slim::Player::StreamingController::_Stream (1160) Song queue is now 1
[00:43:10.4035] Slim::Player::StreamingController::_Stream (1163) 00:04:20:05:d0:44: preparing to stream song index 1
[00:43:10.4037] Slim::Player::Song::open (362) file:///G:/Music%20Server%20Library/Dawn%20Langstroth/Highwire/02%20-%20Enough%20for%20Two.flac
[00:43:10.4044] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if flc-flc-*-* is enabled
[00:43:10.4046] Slim::Player::TranscodingHelper::enabledFormat (207) There are 4 disabled formats...
[00:43:10.4048] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-flc-*-* vs flc-flc-*-*
[00:43:10.4050] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-pcm-*-* vs flc-flc-*-*
[00:43:10.4052] Slim::Player::TranscodingHelper::enabledFormat (213) Testing flc-pcm-*-* vs flc-flc-*-*
[00:43:10.4054] Slim::Player::TranscodingHelper::enabledFormat (213) Testing wav-flc-*-* vs flc-flc-*-*
[00:43:10.4056] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-squeezebox2-00:04:20:05:d0:44
[00:43:10.4058] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-*-00:04:20:05:d0:44
[00:43:10.4060] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-squeezebox2-*
[00:43:10.4062] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-*-*
[00:43:10.4064] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-squeezebox2-00:04:20:05:d0:44
[00:43:10.4066] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-*-00:04:20:05:d0:44
[00:43:10.4067] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-squeezebox2-*
[00:43:10.4069] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-*-*
[00:43:10.4071] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-squeezebox2-00:04:20:05:d0:44
[00:43:10.4073] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-*-00:04:20:05:d0:44
[00:43:10.4075] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-squeezebox2-*
[00:43:10.4077] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-*-*
[00:43:10.4079] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if flc-flc-*-* is enabled
[00:43:10.4081] Slim::Player::TranscodingHelper::enabledFormat (207) There are 4 disabled formats...
[00:43:10.4083] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-flc-*-* vs flc-flc-*-*
[00:43:10.4085] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-pcm-*-* vs flc-flc-*-*
[00:43:10.4087] Slim::Player::TranscodingHelper::enabledFormat (213) Testing flc-pcm-*-* vs flc-flc-*-*
[00:43:10.4089] Slim::Player::TranscodingHelper::enabledFormat (213) Testing wav-flc-*-* vs flc-flc-*-*
[00:43:10.4091] Slim::Player::TranscodingHelper::checkBin (240) enabled
[00:43:10.4093] Slim::Player::TranscodingHelper::checkBin (242) Found command: -
[00:43:10.4095] Slim::Player::TranscodingHelper::getConvertCommand 2 (375) Rejecting - because required capability D not supported:
[00:43:10.4097] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-transcode-*
[00:43:10.4101] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if flc-flc-transcode-* is enabled
[00:43:10.4103] Slim::Player::TranscodingHelper::enabledFormat (207) There are 4 disabled formats...
[00:43:10.4105] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-flc-*-* vs flc-flc-transcode-*
[00:43:10.4107] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-pcm-*-* vs flc-flc-transcode-*
[00:43:10.4110] Slim::Player::TranscodingHelper::enabledFormat (213) Testing flc-pcm-*-* vs flc-flc-transcode-*
[00:43:10.4112] Slim::Player::TranscodingHelper::enabledFormat (213) Testing wav-flc-*-* vs flc-flc-transcode-*
[00:43:10.4114] Slim::Player::TranscodingHelper::checkBin (240) enabled
[00:43:10.4115] Slim::Player::TranscodingHelper::checkBin (242) Found command: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
[00:43:10.4118] Slim::Player::TranscodingHelper::getConvertCommand 2 (433) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
[00:43:10.4123] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if flc-flc-*-* is enabled
[00:43:10.4125] Slim::Player::TranscodingHelper::enabledFormat (207) There are 4 disabled formats...
[00:43:10.4127] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-flc-*-* vs flc-flc-*-*
[00:43:10.4129] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-pcm-*-* vs flc-flc-*-*
[00:43:10.4131] Slim::Player::TranscodingHelper::enabledFormat (213) Testing flc-pcm-*-* vs flc-flc-*-*
[00:43:10.4133] Slim::Player::TranscodingHelper::enabledFormat (213) Testing wav-flc-*-* vs flc-flc-*-*
[00:43:10.4135] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-squeezebox2-00:04:20:05:d0:44
[00:43:10.4137] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-*-00:04:20:05:d0:44
[00:43:10.4140] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-squeezebox2-*
[00:43:10.4141] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-wma-*-*
[00:43:10.4143] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-squeezebox2-00:04:20:05:d0:44
[00:43:10.4145] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-*-00:04:20:05:d0:44
[00:43:10.4148] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-squeezebox2-*
[00:43:10.4150] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-ogg-*-*
[00:43:10.4152] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-squeezebox2-00:04:20:05:d0:44
[00:43:10.4154] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-*-00:04:20:05:d0:44
[00:43:10.4156] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-squeezebox2-*
[00:43:10.4157] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-*-*
[00:43:10.4159] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if flc-flc-*-* is enabled
[00:43:10.4161] Slim::Player::TranscodingHelper::enabledFormat (207) There are 4 disabled formats...
[00:43:10.4163] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-flc-*-* vs flc-flc-*-*
[00:43:10.4165] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ape-pcm-*-* vs flc-flc-*-*
[00:43:10.4167] Slim::Player::TranscodingHelper::enabledFormat (213) Testing flc-pcm-*-* vs flc-flc-*-*
[00:43:10.4169] Slim::Player::TranscodingHelper::enabledFormat (213) Testing wav-flc-*-* vs flc-flc-*-*
[00:43:10.4171] Slim::Player::TranscodingHelper::checkBin (240) enabled
[00:43:10.4173] Slim::Player::TranscodingHelper::checkBin (242) Found command: -
[00:43:10.4175] Slim::Player::TranscodingHelper::getConvertCommand 2 (375) Rejecting - because required capability T not supported:
[00:43:10.4179] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-flc-transcode-*

Mnyb
2010-02-21, 07:17
Ok this is beyond me now how is it setup in settings file formats ?
You should return to the default settings to be sure.

like this for example:




FLAC FLAC Native
MP3 flac/lame (or grey as disabled)
PCM flac

WAV FLAC Sox
MP3 Lame (or grey as disabled)
PCM Native

alZmtbr
2010-02-21, 07:27
There was a reason I went to the 7.4.2 nightly's after also trying 24/96 or 24/88.1 hi-rez files with 7.4.1. Can't remember why I did this, but they play back fine with 7.4.2 - perhaps that's worth a shot?

Cheers!
Allan

DSK
2010-02-21, 07:30
Ok this is beyond me now how is it setup in settings file formats ?
You should return to the default settings to be sure.

like this for example:




FLAC FLAC Native
MP3 flac/lame (or grey as disabled)
PCM flac

WAV FLAC Sox
MP3 Lame (or grey as disabled)
PCM Native



Yes, EXACTLY like your example above.

The only 'reset' option I can see is 'Reset Player Preferences' under the Basic settings but I haven't used this as I'm concerned it will reset stuff other than decoders.

Phil Leigh
2010-02-21, 09:02
The problem you are seeing is symptomatic of a corrupted or incorrectly edited convert.conf or custom_convert.file (or possibly a corrupted server.prefs file)
You should download and install the latest 7.4.2 nightly and try again.
If it still doen't work, post another log with audio stream debugging enabed.
regards
Phil

DSK
2010-02-21, 13:53
Thanks Phil.

I certainly haven't edited any files and I haven't even changed any settings/preferences via the GUI for quite some months. I try to keep the system completely stable as the Bolder modded SB2 is my primary source in the big rig. I'm reluctant to install pre-release software for just this reason.

During the 7.4.1 installation I answered NO to the prompt to clean up preference files as it gave no explanation as to what that was going to do and I didn't want to lose my settings for handling of multi CD albums, composer etc etc.

I notice that in the SqueezeBox Server Control Panel there is a Run Cleanup option to 'delete preference files' and 'clean cache folder, including music database, artwork cache etc'. Would running this have any effect on my situation?

If I end up having to install a pre-release version, am I better to uninstall 7.4.1 before installing the newer version?

DSK
2010-02-21, 14:10
I just bit the bullet and installed 7.4.2 (over the top of 7.4.1). No difference... when I try to play the high res FLAC file from the Web ControlUI, the track counter counts up to 0:04 then drops back to 0:02 and counts up to 0:06 then drops back to 0:02 then counts up to 0:07 then drops back to 0:02 then counts up to 0:03 then drops back etc etc etc

Have to run out the door to work .. will try again later...

Mnyb
2010-02-21, 14:23
Thanks Phil.

I certainly haven't edited any files and I haven't even changed any settings/preferences via the GUI for quite some months. I try to keep the system completely stable as the Bolder modded SB2 is my primary source in the big rig. I'm reluctant to install pre-release software for just this reason.

During the 7.4.1 installation I answered NO to the prompt to clean up preference files as it gave no explanation as to what that was going to do and I didn't want to lose my settings for handling of multi CD albums, composer etc etc.

I notice that in the SqueezeBox Server Control Panel there is a Run Cleanup option to 'delete preference files' and 'clean cache folder, including music database, artwork cache etc'. Would running this have any effect on my situation?

If I end up having to install a pre-release version, am I better to uninstall 7.4.1 before installing the newer version?

These clean up options migth do it as many experienced problems upgrading 7.3 to 7.4 This will probably give almost the same result as a completely clean install, maybe you should do a completely clean install ?

Note that it will be some work to restore all settings and scan the files again, take notes over the most important stuff.

Which version of 7.3 where you running ?

DSK
2010-02-21, 16:43
I looked before upgrading to SqueezeBox Server 7.4.1 and it said I was on SqueezeCentre 7.4 (dated Feb '09)... I didn't write down the release number.

When I get home tonight I'll jot down all my settings then run the cleanup to see if it makes any difference ... can't hurt I guess .... but I'm quite doubtful that it will help this issue as it seems to be a decoding problem and my decoding option selections have not changed in a year.

At least once I have written down all the setup options it is easy to do a full uninstall and clean install.

The FILE TYPES page really needs some help/explanation attached to it as it is not intuitive at all.

Mnyb
2010-02-21, 17:41
I looked before upgrading to SqueezeBox Server 7.4.1 and it said I was on SqueezeCentre 7.4 (dated Feb '09)... I didn't write down the release number.

When I get home tonight I'll jot down all my settings then run the cleanup to see if it makes any difference ... can't hurt I guess .... but I'm quite doubtful that it will help this issue as it seems to be a decoding problem and my decoding option selections have not changed in a year.

At least once I have written down all the setup options it is easy to do a full uninstall and clean install.

The FILE TYPES page really needs some help/explanation attached to it as it is not intuitive at all.

Our vague thinking here is that an old convert.conf or similar made for the 7.3 series may be incompletely migrated to the 7.4 world or corrupted ? there is differences between some versions of 7.3 and 7.4 regarding hirez transcode and some other things to.

The risk with keeping old settings when migrating is that the functionality has changed so the old setting makes no sense anymore .

Phil Leigh
2010-02-21, 23:37
I looked before upgrading to SqueezeBox Server 7.4.1 and it said I was on SqueezeCentre 7.4 (dated Feb '09)... I didn't write down the release number.

When I get home tonight I'll jot down all my settings then run the cleanup to see if it makes any difference ... can't hurt I guess .... but I'm quite doubtful that it will help this issue as it seems to be a decoding problem and my decoding option selections have not changed in a year.

At least once I have written down all the setup options it is easy to do a full uninstall and clean install.

The FILE TYPES page really needs some help/explanation attached to it as it is not intuitive at all.

IF you are running on an XP server the default file types and convert.conf should be left alone and SOX will automatically take care of any hi-res files

I've never had to do an uninstall - usually a re-install takes care of everything.

7.4.2 is more stable than 7.4.1 IMO.

Running the "Clean Cache" is very safe - it just requires a full rescan to rebuild your music database.
Cleaning Preferences is also safe... but it will require you to go through and reset your preferred settings.

There are several cases where the server.prefs file has been corrupted and the only way to fix things is to delete it and re-enter your settings. This is quite rare thankfully.
I haven't seen a convert.conf corruption myself.

Phil Leigh
2010-02-22, 00:06
Can you double check that these executables are in the correct place?

squeezebox\server\Bin\MSWin32-x86-multi-thread


flac.exe
sox.exe

Note: flac.exe is NOT used when playing redbook flac files natively - only when transcoding hires via SOX!

DSK
2010-02-22, 00:59
OK, well I just did a full uninstall, checked for other directories (found a Slimserver folder and a SqueezeCentre folder but both were empty). Then did a fresh install of 7.4.2

Checked the files in c:\program files\squeezebox\server\Bin\MSWin32-x86-multi-thread. They include:
alac.exe
cygwin1.dll
faad.exe
flac.exe
grant.exe
mac.exe
mov123.exe
mppdec.exe
mysqld.exe
socketwrapper.exe
soz.exe
wmadec.exe
wvunpack.exe
All are dated 21/02/2010.


I left ALL of the FILE TYPE/STREAM/DECODER settings at the defaults.

Exactly the same problem exists.

EDIT: Before I ran the uninstall I ran the cleanup from SqueezeBox Server Control Panel. I didn't test anything after this as I decided to go ahead and do the full uninstal anyway.

DSK
2010-02-22, 01:50
After the Cleanup then the uninstall (I responded YES to delete old prefs, caches etc) then the fresh install, I went into the Information tab of the Control Panel and scrolled down over the file locations of the various file types. Some of them were correctly pointing to

C:\Documents and Settings\All Users\Application Data\Squeezebox

but some were pointing to

C:\Documents and Settings\All Users\Application Data\SqueezeCentre

It seems that the Cleanup, uninstall etc etc did not remove this directory (not really surprising) but somehow the fresh install pointed some stuff to this old directory. When I looked at the date/time on the files in this old directory, some had been updated since the fresh install.

I deleted the whole SqueezeCentre directory, uninstalled 7.4.2 again, ensured that ALL SqueezeCentre, SlimServer, SqueezeBox directories were gone from Program Files and from Documents & Settings, then reinstalled 7.4.2 again.

I left all of the FILE TYPES info as defaults again.
I checked the Information tab on the Control Panel again and verified that ALL files were now correctly pointed to the SqueezeBox folder.

Opened Web Control and played a regular FLAC file - fine.
Tried the 96/24 FLAC file - SAME PROBLEM !!!!!!!!!!

Aaaaaarrrrgggghhhhhhh!!!!!!

DSK
2010-02-22, 06:42
So, after a complete uninstall and manual cleanup of all SlimServer, SqueezeCentre and SqueezeBox directories and files, a fresh SBS 7.4.2 installation with all file types/decoders left as defaults ... 7.4.2 fails to play/downsample 96/24 flac files.

The only differences between this stock setup and that of many other users is that I do not enable iTunes or MP3 or Lame, or activate bit rate limiting, and my PlugIns folder is empty. I presume that none of these things have anything to do with playback of flac files (high res or otherwise).

Unless someone can suggest something else to try or wants me to attach any of the log files etc, it seems to me that SBS is incapable of playing/downsampling 96/24 flac files?

I'd really like to make this work.

Any more ideas?

Mnyb
2010-02-22, 08:34
I'm completely stumped attach the whole log zipped please, not only snippets ?
Maybe you should attach you convert.conf file, types.conf file and server.prefs to ? mask any personal info with XXXXXXX or something in server prefs
and scanner.log to ?

Maybe it is time to create a bug report ? 24/96 works just fine for so many of us.

And you have created a clean install , so it should just work ?

It must be something special with your setup ?

Maybe the flac.exe and sox.exe can be tested from command line just to see if they work on your machine ? wonder how to do that on windows ?
The flac exe you can probable make wav to flac and vice-versa trough the dos prompt, but how to see if sox really does anything ?

Phil Leigh
2010-02-22, 10:46
So, after a complete uninstall and manual cleanup of all SlimServer, SqueezeCentre and SqueezeBox directories and files, a fresh SBS 7.4.2 installation with all file types/decoders left as defaults ... 7.4.2 fails to play/downsample 96/24 flac files.

The only differences between this stock setup and that of many other users is that I do not enable iTunes or MP3 or Lame, or activate bit rate limiting, and my PlugIns folder is empty. I presume that none of these things have anything to do with playback of flac files (high res or otherwise).


Neither do I - these should make no difference to your problem.



Unless someone can suggest something else to try or wants me to attach any of the log files etc, it seems to me that SBS is incapable of playing/downsampling 96/24 flac files?

I'd really like to make this work.

Any more ideas?

SBS is perfectly capable of playing 24.96 files or 176.4 or 192 for that matter (I have plenty).

It's something wrong with your setup - let's see if we can fix it.

Please set the player.source logging option to DEBUG and post another log file
Cheers
Phil

Mnyb
2010-02-22, 10:51
"Bolder modded SB2" what is that ? does it have all clock crystals intact ? have you tried all sample rates

24bit 44.1kHz file and a 24 bit 48kHz file
and one 24bit 88.2kHz and finally a 24bit 96kHz

Some boulder mods

"Remove the 12.28MHz crystal oscillator (optional)"
according my immense google skills ;)

what happens if you do that ?

Phil Leigh
2010-02-22, 11:19
"Bolder modded SB2" what is that ? does it have all clock crystals intact ? have you tried all sample rates

24bit 44.1kHz file and a 24 bit 48kHz file
and one 24bit 88.2kHz and finally a 24bit 96kHz

Some boulder mods

"Remove the 12.28MHz crystal oscillator (optional)"
according my immense google skills ;)

what happens if you do that ?
Oh brilliant, Mnyb - if the "48kHz" crystal was ripped out you can kiss goodbye to 24/96 playback!

Well spotted/Googled!

Mnyb
2010-02-22, 11:28
Oh brilliant, Mnyb - if the "48kHz" crystal was ripped out you can kiss goodbye to 24/96 playback!

Well spotted/Googled!

But it still does not explain his server.log the server does not now that, so it will act weird in another way ? silence garbled sound wrong speed ?

His server log implies it's borks long before any stream is leaving the server ?

If it is indeed the 48 crystal (i don't know) then those multiples wont work, that still leaves 44.1kHz and 88.2kHz and 176.4kHz to play with

Phil Leigh
2010-02-22, 11:31
But it still does not explain his server.log the server does not now that, so it will act weird in another way ? silence garbled sound wrong speed ?

His server log implies it's borks long before any stream is leaving the server ?

If it is indeed the 48 crystal (i don't know) then those multiples wont work, that still leaves 44.1kHz and 88.2kHz and 176.4kHz to play with

Agreed. I'd expect silence.
Can't tell enough from the server log without a full debug session - hopefully we will get one of those tonight - our friend is in Australia I believe.

Mnyb
2010-02-22, 11:57
Ok next really stupid Q sorry , is it really an SB2 ?
check in the web-UI settings >information page, and there you have your players lined up. To the right of the player name you have some info.

Example my own SB3 looks like this

Player Model: Squeezebox Classic
Firmware: 130
Player IP Address: 192.168.1.2
Player MAC Address: 00:04:20:06:42:42
Wireless Signal Strength: 88%

An SB2 should look the same SB3/2 classic is the "same" different package
Note that I'm on 7.5 it can be named SB3 or SB2 instead of classic


About "TranscodingHelper.pm"


Capabilities:

# T - can seek to a start time offset
# D - can downsample

His log snip had this

[00:43:10.4175] Slim::Player::TranscodingHelper::getConvertCommand 2 (375) Rejecting - because required capability T not supported:

[00:43:10.4095] Slim::Player::TranscodingHelper::getConvertCommand 2 (375) Rejecting - because required capability D not supported:

But lets wait for better logs, then maybe somebody with real knowledge (not me can have a peek )

Mnyb
2010-02-22, 12:11
Ok

It would be a good idea to check if the players macaddress as reported by squeezeboxserver corresponds to whats on the label under the player.

and also verify the firmware version on the player it should be 130 .
either you have set it to auto update or you been prompted to hold "brigthness" on the ir -remote to upgrade to new firmware ?

bpa
2010-02-22, 12:41
You could try using softsqueeze as a player - that would exclude the "Bolder" possibility.




[00:43:10.4175] Slim::Player::TranscodingHelper::getConvertCommand 2 (375) Rejecting - because required capability T not supported:

[00:43:10.4095] Slim::Player::TranscodingHelper::getConvertCommand 2 (375) Rejecting - because required capability D not supported:



Before commenting on log messages, I found it was best to compare against a working example on your own systems. The process of matching filetypes can throw up one or two of those "capability" messages so they don'tnecessarily point to the problem.

Mnyb
2010-02-22, 13:19
You could try using softsqueeze as a player - that would exclude the "Bolder" possibility.



Before commenting on log messages, I found it was best to compare against a working example on your own systems. The process of matching filetypes can throw up one or two of those "capability" messages so they don'tnecessarily point to the problem.

You are quite correct I see this on my working setup ! we must have the whole log, these messages are normal then.
In this case it's whats not there that counts, he has debugging on, but on my setup "things" happen in my log that is completely missing from the OP's log ! aha

Another 0.001% possibility, is there a custom-convert.conf file on the system would not that one been removed by the clean install ?


Edit: softsqueeze good idea it does not support hirez so it also needs transcoding , rigth

bpa
2010-02-22, 13:29
Edit: softsqueeze good idea it does not support hirez so it also needs transcoding , rigth

Softsqueeze is suitable because I know JavaSound only support 44.1kHz and 48kHz sampling same as SB3 whereas IIRC Squeezeplay and Squeezeslave used to have problems with 48kHz.

DSK
2010-02-22, 19:01
Mnyb/Phil/bpa,

Thanks heaps for all the suggestions. I have a nasty feeling that mnyb may be onto something with the 48kHz crystal. I do recall Wayne (Bolder) advising that the mods may impact on the ability of the SB2 to play (some) radio stations but I'm almost certain he said nothing about it impacting on the ability to play high res files. However, this was all about 4 years back and high res files weren't really even on the horizon.

I do have a stock SB3 in my headphone system. I will hook it up to SBS 7.4.2 tonight and see if it will play the 24/96 flac file. This might give us a quick answer. Unfortunately, I don't have a 24/88.2 file to try on the SB2.

If the 96/24 flac file plays fine on the SB3, perhaps I'll buy/download an 88.2/24 flac file to try on the SB2.

On the other hand, if the SB3 won't play the 24/96 either, I'll start working through your various suggestions above.

Thanks for the help guys, much appreciated.

Mnyb
2010-02-22, 22:34
You only need a 48kHz file to test that.

You don't have to buy stuff use software like foobar2000 or audacity to make a set of new files from a 24/96 file .

There is a lot of of software out there that can convert files.

It can be hard to actually find a 24/48 file I have some but when your searching for em..
Testing 24/48 will be particulary interesting this should be a native format no transcoding involved, so this should work with any server version.

DSK
2010-02-23, 04:42
Well guys, I've just hooked up the stock SB3 wirelessly, changed no settings at all in SBS, queued up the 96/24 flac album and .......... it plays!

So, it seems Mnyb was correct, the Bolder mods dramatically improve playback sound quality but remove the capability to play 96/24 files and presumably 192/24 files too.

I'll check to see if my Media Monkey enables me to convert a 96/24 to 88.2/24, otherwise I'll grab a program that does and then try 88.2/24 flac files and 176.4/24 files if possible too.

Will keep you updated. Thanks again for the help.

DSK
2010-02-23, 06:30
OK, I downloaded and installed Foobar2000. It indicated that Flac 1.2 was required so I downloaded and installed Flac 1.2 (Foobar failed on the conversions and I found that it was using an older flac.exe in my c:\windows\system32 folder so I replaced that with the new one from program files\flac and Foobar successfully converted a 96/24 flac file to 88/24 flac file.

I fudged the tag data with Monkey Media then scanned it into SBS. The stock SB3 played it no problem. I then switched to the Bolder SB2 and it played the file too. So, we seem to have confirmation of Mnyb's assessment that the Bolder modded SB2 removes the 48kHz crystal and cannot play 48/96/192kHz sampling rates.

All this testing has been done simply playing the track in the SBS Web Control window and making sure that the track counter keeps incrementing throughout the track. I haven't yet turned on the amps for fear of sending spurious noise through the speakers. I will now listen to the 96/24 flac file through the stock SB3 via my headphone amp :-)

EDIT: Just listened to the 96/24 album through SB3 on headphone system (Audio-gd C2C amp and Grado Alessandro MS Pro phones) - sounds great. Did a quick flick between the 96/24 flac and 88.2/24 flac and couldn't hear a difference. The modded SB2 currently plays through a 44.1/16 tube DAC so it is pointless trying to play the 88.2/24 flac file through that. When I get time I'll use the analog output of the SB2 (no external DAC) and compare the sound quality of the 88.2/24 flac against other 44.1/16 flacs from rips of well recorded CD's to see if there is benefit in a higher capacity DAC and chasing more high res flacs.

Thanks for your help guys!

Mnyb
2010-02-23, 08:04
Most fascinating is that server notes that the player fails as you can see it on the progress bar in the web-UI that nothing happens.

Obviously there is a lack off useful debugg info in the loggs as this can not happen normally :)

But if you play a working file you can see in the log when the file starts to stream I think , I tried yesterday and got more "things" happening than your log snippet.

Good luck enjoying the Hires files :)

Note that 44.1 and 88.2 are multiples of each other 96k and 88.2 are not. It can be some dark art involved in sample rate converting here, maybe you lose something in the process.

Maybe you should get a Touch when they arrive, you can not have to many squeezeboxes, digital out is said to be very good on it.

dminches
2010-03-12, 06:34
Softsqueeze is suitable because I know JavaSound only support 44.1kHz and 48kHz sampling same as SB3 whereas IIRC Squeezeplay and Squeezeslave used to have problems with 48kHz.

I cannot get squeezesoft to play 24/96 files. They play fine on my transporter but when I listen to them on my computer I just get static. What should I be checking to see why this isn't working?