PDA

View Full Version : 7.4.2 and SB1 not playing flac



Rockin
2010-02-18, 18:47
I have recently upgraded to 7.4.2 on a Ubuntu 9.10 system from some version that used to be called SlimServer but don't recall the exact version. I have a SB1 and SB2. SB2 has no problems playing flac files since it has native support. The SB1 reports: "Problem: Cant open file for:" any flac or ogg. It plays MP3's fine though. I thought SB1 has native ogg support but may be mistaken. I believe the old server software used to convert flac to ogg but I don't see any settings like that under the new server software. Is there any? Could it be missing some other needed software. Lame and Vorbis-tools are installed.

aubuti
2010-02-19, 07:38
I'm pretty sure the SB1 does not have native Ogg support. Your best option is probably to transcode your FLAC to MP3 for that player.

jth
2010-02-19, 08:53
SB1 does not do native ogg vorbis. Check your player settings->audio to
make sure lame is correctly installed.

I think you can get some more detail in your log about the conversion by
going to advanced->logging and setting player.source to 'debug'

pfarrell
2010-02-19, 09:18
jth wrote:
> SB1 does not do native ogg vorbis. Check your player settings->audio to
> make sure lame is correctly installed.

It also does not have native flac.

It requires server side transcoding for a lot of formats. Which sends
full PCM data over the link. The SB1 also has a much smaller buffer, so
WiFi dropouts are frequent when sending transcoded streams.

--
Pat Farrell
http://www.pfarrell.com/

Rockin
2010-02-20, 15:34
Okay, I found the new place for where the file types but the settings for flac and ogg seemed fine. I double checked that flac and sox are installed and it reports they are. A note at Settings/Player/Bitrate limiting shows lame as appearing to be installed correctly. I disabled flac-lame conversion to see if it would be sent ok as pcm. Still no luck.

Previously I must have been transcoding ogg to wav or pcm because I am sure I didn't have it sent out as mp3.


from server.log with "debug" turned on (some repetitive lines cut out)



[10-02-20 16:25:25.3245] Slim::Player::Song::new (107) index 3 -> file:///mnt/tunes/The%20Vaughan%20Brothers/Family%20Style/[04]%20Good%20Texan.flac
[10-02-20 16:25:25.3250] Slim::Player::Song::new (149) live=4
[10-02-20 16:25:25.3253] Slim::Player::StreamingController::_setStreamingSt ate (2235) new streaming state TRACKWAIT
[10-02-20 16:25:25.3256] Slim::Player::Song::DESTROY (159) DESTROY(Slim::Player::Song=ARRAY(0x7d12c70)) live=3: index=3, url=file:///mnt/tunes/The%20Vaughan%20Brothers/Family%20Style/[04]%20Good%20Texan.flac
[10-02-20 16:25:25.3259] Slim::Player::Song::getNextSong (228) file:///mnt/tunes/The%20Vaughan%20Brothers/Family%20Style/[04]%20Good%20Texan.flac
[10-02-20 16:25:25.3263] Slim::Player::StreamingController::_nextTrackReady (733) 00:04:20:05:5a:70: nextTrack will be index 3
[10-02-20 16:25:25.3266] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: NextTrackReady in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_Stream
[10-02-20 16:25:25.3269] Slim::Player::StreamingController::_Stream (1160) Song queue is now 3
[10-02-20 16:25:25.3272] Slim::Player::StreamingController::_Stream (1163) 00:04:20:05:5a:70: preparing to stream song index 3
[10-02-20 16:25:25.3275] Slim::Player::Song::open (362) file:///mnt/tunes/The%20Vaughan%20Brothers/Family%20Style/[04]%20Good%20Texan.flac
[10-02-20 16:25:25.3285] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-aif-squeezebox-00:04:20:05:5a:70
----
[10-02-20 16:25:25.3305] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-pcm-*-*
[10-02-20 16:25:25.3307] Slim::Player::TranscodingHelper::enabledFormat
----
[10-02-20 16:25:25.3315] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ogg-mp3-*-* vs flc-pcm-*-*
[10-02-20 16:25:25.3317] Slim::Player::TranscodingHelper::checkBin (240) enabled
[10-02-20 16:25:25.3320] Slim::Player::TranscodingHelper::checkBin (242) Found command: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$
[10-02-20 16:25:25.3323] Slim::Player::TranscodingHelper::getConvertCommand 2 (433) Matched: flc->pcm via: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$
[10-02-20 16:25:25.3330] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-aif-squeezebox-00:04:20:05:5a:70
----
[10-02-20 16:25:25.3349] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-pcm-*-*
[10-02-20 16:25:25.3352] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if flc-pcm-*-* is enabled
[10-02-20 16:25:25.3355] Slim::Player::TranscodingHelper::enabledFormat (207) There are 2 disabled formats...
[10-02-20 16:25:25.3357] Slim::Player::TranscodingHelper::enabledFormat (213) Testing flc-mp3-*-* vs flc-pcm-*-*
[10-02-20 16:25:25.3360] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ogg-mp3-*-* vs flc-pcm-*-*
[10-02-20 16:25:25.3363] Slim::Player::TranscodingHelper::checkBin (240) enabled
[10-02-20 16:25:25.3366] Slim::Player::TranscodingHelper::checkBin (242) Found command: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$
[10-02-20 16:25:25.3369] Slim::Player::TranscodingHelper::getConvertCommand 2 (433) Matched: flc->pcm via: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$
[10-02-20 16:25:25.3372] Slim::Player::Song::open (382) seek=false time=0 canSeek=2
[10-02-20 16:25:25.3378] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-aif-squeezebox-00:04:20:05:5a:70
----
[10-02-20 16:25:25.3393] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-pcm-squeezebox-*
[10-02-20 16:25:25.3399] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: flc-pcm-*-*
[10-02-20 16:25:25.3402] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if flc-pcm-*-* is enabled
[10-02-20 16:25:25.3404] Slim::Player::TranscodingHelper::enabledFormat (207) There are 2 disabled formats...
[10-02-20 16:25:25.3407] Slim::Player::TranscodingHelper::enabledFormat (213) Testing flc-mp3-*-* vs flc-pcm-*-*
[10-02-20 16:25:25.3409] Slim::Player::TranscodingHelper::enabledFormat (213) Testing ogg-mp3-*-* vs flc-pcm-*-*
[10-02-20 16:25:25.3412] Slim::Player::TranscodingHelper::checkBin (240) enabled
[10-02-20 16:25:25.3414] Slim::Player::TranscodingHelper::checkBin (242) Found command: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$
[10-02-20 16:25:25.3417] Slim::Player::TranscodingHelper::getConvertCommand 2 (433) Matched: flc->pcm via: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$
[10-02-20 16:25:25.3420] Slim::Player::Song::open (403) Transcoder: streamMode=F, streamformat=pcm
[10-02-20 16:25:25.3428] Slim::Player::TranscodingHelper::tokenizeConvertCo mmand2 (536) Using command for conversion: "/usr/share/squeezeboxserver/Bin/i386-linux/flac" -dcs --force-raw-format --endian=little --sign=signed -- "/mnt/tunes/The Vaughan Brothers/Family Style/[04] Good Texan.flac" & |
[10-02-20 16:25:25.3430] Slim::Player::Song::open (548) Tokenized command "/usr/share/squeezeboxserver/Bin/i386-linux/flac" -dcs --force-raw-format --endian=little --sign=signed -- "/mnt/tunes/The Vaughan Brothers/Family Style/[04] Good Texan.flac" & |
[10-02-20 16:25:25.4599] Slim::Player::SongStreamController::new (32) live=1
[10-02-20 16:25:25.4616] Slim::Player::StreamingController::_Stream (1214) 00:04:20:05:5a:70: stream
[10-02-20 16:25:25.4642] Slim::Player::StreamingController::playingSongElap sed (1582) songtime=0.0860440731048584 from byterate=176400, duration=262.333, bytesReceived=0, fullness=0, startStream=0
[10-02-20 16:25:25.4651] Slim::Player::StreamingController::_Stream (1245) Song queue is now 3
[10-02-20 16:25:25.4656] Slim::Player::StreamingController::_setPlayingStat e (2222) new playing state BUFFERING
[10-02-20 16:25:25.4659] Slim::Player::StreamingController::_setStreamingSt ate (2235) new streaming state STREAMING
[10-02-20 16:25:25.4662] Slim::Player::StreamingController::_eventAction (303) 00:04:20:05:5a:70: NextTrackReady - new state BUFFERING-STREAMING
[10-02-20 16:25:25.4666] Slim::Player::StreamingController::_eventAction (303) 00:04:20:05:5a:70: Play - new state BUFFERING-STREAMING
[10-02-20 16:25:25.4717] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4721] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4725] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4730] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4734] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4750] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4789] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4838] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
[10-02-20 16:25:25.4844] Slim::Player::Source::_readNextChunk (307) Read to end of file or pipe
[10-02-20 16:25:25.4847] Slim::Player::Source::_readNextChunk (330) end of file or error on socket, song pos: 0
[10-02-20 16:25:25.4850] Slim::Player::Source::_readNextChunk (337) Didn't stream any bytes for this song; mark it as failed
[10-02-20 16:25:25.4853] Slim::Player::StreamingController::playerStreaming Failed (2093) 00:04:20:05:5a:70
[10-02-20 16:25:25.4857] Slim::Player::StreamingController::_playersMessage (777) Problem: Can't open file for:: file:///mnt/tunes/The%20Vaughan%20Brothers/Family%20Style/[04]%20Good%20Texan.flac
[10-02-20 16:25:25.4872] Slim::Player::StreamingController::_eventAction (271) 00:04:20:05:5a:70: StreamingFailed in BUFFERING-STREAMING -> Slim::Player::StreamingController::_StopNextIfMore
[10-02-20 16:25:25.4875] Slim::Player::StreamingController::_eventAction (284) params: errorDisconnect => undef
[10-02-20 16:25:25.4882] Slim::Player::StreamingController::_Stop (607) Song queue is now 3
[10-02-20 16:25:25.4887] Slim::Player::SongStreamController::DESTROY (45) DESTROY(Slim::Player::SongStreamController=HASH(0x 76ca7a0)) live=0
[10-02-20 16:25:25.4890] Slim::Player::StreamingController::_setPlayingStat e (2222) new playing state STOPPED
[10-02-20 16:25:25.4892] Slim::Player::StreamingController::_setStreamingSt ate (2235) new streaming state IDLE
[10-02-20 16:25:25.4898] Slim::Player::StreamingController::nextsong (845)

Rockin
2010-02-20, 15:35
btw: I use wired connections for SB1 and SB2.

bpa
2010-02-20, 15:41
Are you using a 64 bit kernel ?

If so then install the 32 bit compatibility libraries as the SBS binaries are built for a 32 bit kernel.

Rockin
2010-02-21, 09:25
Are you using a 64 bit kernel ?
Yes I actually am using this on a PC with the 64 bit version of Mythbuntu 9.10. Actually the released version of Squeezebox Server 7.4.1 did not install correctly due to a conflict with mysql (if I remember correctly, 7.4.1 wanted mysql 5.0 and Mythbuntu had mysql 5.1) so I needed to go to 7.4.2.


If so then install the 32 bit compatibility libraries as the SBS binaries are built for a 32 bit kernel.
Sorry, I have no idea what you mean by this or how to do it. Is there a package name I need to for apt-get command?

my repository for SB


# official release
# not currently working with mysql 5.1 on Karmic
#deb http://debian.slimdevices.com stable main

# testing release
deb http://debian.slimdevices.com testing main

# testing
#deb http://debian.slimdevices.com unstable main unstable

Phil Leigh
2010-02-21, 09:50
This is from your log...
[10-02-20 16:25:25.3417] Slim::Player::TranscodingHelper::getConvertCommand 2 (433) Matched: flc->pcm via: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$
It is converting the flac to stream as PCM

bpa
2010-02-21, 11:15
try

sudo aptitude install ia32-libs

Rockin
2010-02-21, 13:45
Thanks all, ia32-libs did the trick.