PDA

View Full Version : prob w aac playback under linux; where's the logs?



Torgeir Veimo
2004-07-30, 16:03
Hav modified my convert.conf file as

#mov aif * *
# [mov123] $FILE$
mov wav squeezebox *
[faad] -w -f 2 $FILE$

with faad2 installed and latest nightly rpm, but am having problems
playing aac files. mp3 files works.

But where is the log file for the server? I checked /tmp/slimserver.log,
but there's no new entries written. I see a short notice flash by on the
slimbox, but it's not very informative..

--
-Torgeir

kdf
2004-07-30, 16:18
Quoting Torgeir Veimo <torgeir (AT) pobox (DOT) com>:

> Hav modified my convert.conf file as
>
> #mov aif * *
> # [mov123] $FILE$
> mov wav squeezebox *
> [faad] -w -f 2 $FILE$
>
> with faad2 installed and latest nightly rpm, but am having problems
> playing aac files. mp3 files works.
>
> But where is the log file for the server? I checked /tmp/slimserver.log,
> but there's no new entries written. I see a short notice flash by on the
> slimbox, but it's not very informative..
>
the log, by default, if you use the init.d script will be /tmp/slimserver.log.
If you want to see anything in it, you have to enable debugging for d_source.
You can do this from teh web interface, server settings->additional server
settings->debugging. check d_source, then click change. Then try to play your
aac file.

-kdf

Torgeir Veimo
2004-07-31, 03:58
On Fri, 2004-07-30 at 16:18 -0700, kdf wrote:
> Quoting Torgeir Veimo <torgeir (AT) pobox (DOT) com>:
>
> > Hav modified my convert.conf file as
> >
> > #mov aif * *
> > # [mov123] $FILE$
> > mov wav squeezebox *
> > [faad] -w -f 2 $FILE$
> >
> > with faad2 installed and latest nightly rpm, but am having problems
> > playing aac files. mp3 files works.
> >
> > But where is the log file for the server? I checked /tmp/slimserver.log,
> > but there's no new entries written. I see a short notice flash by on the
> > slimbox, but it's not very informative..
> >
> the log, by default, if you use the init.d script will be /tmp/slimserver.log.
> If you want to see anything in it, you have to enable debugging for d_source.
> You can do this from teh web interface, server settings->additional server
> settings->debugging. check d_source, then click change. Then try to play your
> aac file.

Ok, thx. This is a segment from the log. I didn't turn on all logging
though, only the ones below. Any idea of what is going wrong?

_paths

1

d_stream

1

d_parse

1

d_source

1

d_remotestream

1

d_filehandle

1

d_formats

1

d_server

1

Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Player/Source.pm line 1120.
2004-07-31 11:57:19.2294 Could not open /audio/__00_04_20_05_50_c4.m3u
for writing.
2004-07-31 11:57:19.2307 Could not open /audio/__00_04_20_05_50_c4.m3u
for writing.
2004-07-31 11:57:49.1066 Backtrace:

frame 0: Slim::Player::Source::playmode (/usr/local/slimserver//Slim/
Player/Source.pm line 559)
frame 1: Slim::Player::Source::jumpto (/usr/local/slimserver//Slim/
Control/Command.pm line 539)
frame 2: Slim::Control::Command::execute (/usr/local/slimserver//
Slim/Buttons/Playlist.pm line 146)
frame 3: Slim::Buttons::Playlist::__ANON__ (/usr/local/slimserver//
Slim/Hardware/IR.pm line 545)
frame 4: Slim::Hardware::IR::executeButton (/usr/local/slimserver//
Slim/Control/Command.pm line 209)
frame 5: Slim::Control::Command::execute (/usr/local/slimserver//
Slim/Hardware/IR.pm line 569)
frame 6: Slim::Hardware::IR::processCode (/usr/local/slimserver//
Slim/Hardware/IR.pm line 429)
frame 7: Slim::Hardware::IR::releaseCode (/usr/local/slimserver//
Slim/Hardware/IR.pm line 327)
frame 8: Slim::Hardware::IR::checkRelease (/usr/local/slimserver//
Slim/Utils/Timers.pm line 52)
frame 9: Slim::Utils::Timers::checkTimers (/usr/local/slimserver/
slimserver.pl line 396)
frame 10: main::idle (/usr/local/slimserver/slimserver.pl line 366)
frame 11: main::main (/usr/local/slimserver/slimserver.pl line 825)

2004-07-31 11:57:49.1067 00:04:20:05:50:c4: Switching to mode stop from
stop
2004-07-31 11:57:49.1068 Already in playmode stop : ignoring mode
change
2004-07-31 11:57:49.1070 Backtrace:

frame 0: Slim::Player::Source::playmode (/usr/local/slimserver//Slim/
Player/Source.pm line 584)
frame 1: Slim::Player::Source::jumpto (/usr/local/slimserver//Slim/
Control/Command.pm line 539)
frame 2: Slim::Control::Command::execute (/usr/local/slimserver//
Slim/Buttons/Playlist.pm line 146)
frame 3: Slim::Buttons::Playlist::__ANON__ (/usr/local/slimserver//
Slim/Hardware/IR.pm line 545)
frame 4: Slim::Hardware::IR::executeButton (/usr/local/slimserver//
Slim/Control/Command.pm line 209)
frame 5: Slim::Control::Command::execute (/usr/local/slimserver//
Slim/Hardware/IR.pm line 569)
frame 6: Slim::Hardware::IR::processCode (/usr/local/slimserver//
Slim/Hardware/IR.pm line 429)
frame 7: Slim::Hardware::IR::releaseCode (/usr/local/slimserver//
Slim/Hardware/IR.pm line 327)
frame 8: Slim::Hardware::IR::checkRelease (/usr/local/slimserver//
Slim/Utils/Timers.pm line 52)
frame 9: Slim::Utils::Timers::checkTimers (/usr/local/slimserver/
slimserver.pl line 396)
frame 10: main::idle (/usr/local/slimserver/slimserver.pl line 366)
frame 11: main::main (/usr/local/slimserver/slimserver.pl line 825)

2004-07-31 11:57:49.1070 00:04:20:05:50:c4: Switching to mode play from
stop
2004-07-31 11:57:49.1074 openSong on: file:///audio/iTunes/iTunes%
20Music/Sigur%20R%C3%B3s/(%20)/01%20Vaka.m4a
2004-07-31 11:57:49.1081 openSong: getting duration 398.546666666667,
size 8045755, endian and offset 0 for file:///audio/iTunes/iTunes%
20Music/Sigur%20R%C3%B3s/(%20)/01%20Vaka.m4a
2004-07-31 11:57:49.1087 Found binary /usr/bin/lame for lame
2004-07-31 11:57:49.1091 Found binary /usr/bin/lame for lame
2004-07-31 11:57:49.1092 undermax = 0, type = mov, squeezebox =
00:04:20:05:50:c4, lame = /usr/bin/lame
2004-07-31 11:57:49.1093 checking formats for: mov-aif-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1093 Checking to see if mov-aif-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1094 enabled
2004-07-31 11:57:49.1094 checking formats for: mov-aif-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1095 Checking to see if mov-aif-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1095 enabled
2004-07-31 11:57:49.1096 checking formats for: mov-aif-squeezebox-*
2004-07-31 11:57:49.1096 Checking to see if mov-aif-squeezebox-* is
enabled
2004-07-31 11:57:49.1097 enabled
2004-07-31 11:57:49.1097 checking formats for: mov-aif-*-*
2004-07-31 11:57:49.1097 Checking to see if mov-aif-*-* is enabled
2004-07-31 11:57:49.1098 enabled
2004-07-31 11:57:49.1098 checking formats for: mov-wav-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1099 Checking to see if mov-wav-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1099 enabled
2004-07-31 11:57:49.1100 checking formats for: mov-wav-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1100 Checking to see if mov-wav-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1101 enabled
2004-07-31 11:57:49.1101 checking formats for: mov-wav-squeezebox-*
2004-07-31 11:57:49.1101 Checking to see if mov-wav-squeezebox-* is
enabled
2004-07-31 11:57:49.1102 enabled
2004-07-31 11:57:49.1102 Found command: [faad] -w -f 2 $FILE$
2004-07-31 11:57:49.1105 Found binary /usr/bin/faad for faad
2004-07-31 11:57:49.1106 checking formats for: mov-mp3-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1106 Checking to see if mov-mp3-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1107 enabled
2004-07-31 11:57:49.1107 checking formats for: mov-mp3-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1108 Checking to see if mov-mp3-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1108 enabled
2004-07-31 11:57:49.1109 checking formats for: mov-mp3-squeezebox-*
2004-07-31 11:57:49.1109 Checking to see if mov-mp3-squeezebox-* is
enabled
2004-07-31 11:57:49.1110 enabled
2004-07-31 11:57:49.1110 checking formats for: mov-mp3-*-*
2004-07-31 11:57:49.1110 Checking to see if mov-mp3-*-* is enabled
2004-07-31 11:57:49.1111 enabled
2004-07-31 11:57:49.1111 Found command: [mov123] $FILE$ | [lame] --
resample 44100 --silent -q 9 -b $BITRATE$ -r - -
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Utils/Misc.pm line 93.
2004-07-31 11:57:49.1116 Found binary for mov123
2004-07-31 11:57:49.1116 drat, missing binary mov123
2004-07-31 11:57:49.1117 ******* Error: Didn't find any command matches
for type: mov format: mp3 ******
2004-07-31 11:57:49.1117 openSong: this is an mov file: file:///audio/
iTunes/iTunes%20Music/Sigur%20R%C3%B3s/(%20)/01%20Vaka.m4a
2004-07-31 11:57:49.1118 file type: mov format: mp3 inrate:
161.501890201064 maxRate: 320
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Player/Source.pm line 894.
2004-07-31 11:57:49.1118 command:
2004-07-31 11:57:49.1119 Couldn't create command line for mov playback
for file:///audio/iTunes/iTunes%20Music/Sigur%20R%C3%B3s/(%20)/01%
20Vaka.m4a
2004-07-31 11:57:49.1147 Couldn't open song. Stopping.
2004-07-31 11:57:49.1148 opening next song...
2004-07-31 11:57:49.1150 the next song is number 0, was 0
2004-07-31 11:57:49.1155 Found binary /usr/bin/lame for lame
2004-07-31 11:57:49.1159 Found binary /usr/bin/lame for lame
2004-07-31 11:57:49.1160 undermax = 0, type = mov, squeezebox =
00:04:20:05:50:c4, lame = /usr/bin/lame
2004-07-31 11:57:49.1161 checking formats for: mov-aif-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1162 Checking to see if mov-aif-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1162 enabled
2004-07-31 11:57:49.1163 checking formats for: mov-aif-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1163 Checking to see if mov-aif-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1164 enabled
2004-07-31 11:57:49.1164 checking formats for: mov-aif-squeezebox-*
2004-07-31 11:57:49.1165 Checking to see if mov-aif-squeezebox-* is
enabled
2004-07-31 11:57:49.1165 enabled
2004-07-31 11:57:49.1166 checking formats for: mov-aif-*-*
2004-07-31 11:57:49.1166 Checking to see if mov-aif-*-* is enabled
2004-07-31 11:57:49.1167 enabled
2004-07-31 11:57:49.1167 checking formats for: mov-wav-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1168 Checking to see if mov-wav-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1168 enabled
2004-07-31 11:57:49.1169 checking formats for: mov-wav-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1169 Checking to see if mov-wav-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1170 enabled
2004-07-31 11:57:49.1170 checking formats for: mov-wav-squeezebox-*
2004-07-31 11:57:49.1171 Checking to see if mov-wav-squeezebox-* is
enabled
2004-07-31 11:57:49.1171 enabled
2004-07-31 11:57:49.1171 Found command: [faad] -w -f 2 $FILE$
2004-07-31 11:57:49.1175 Found binary /usr/bin/faad for faad
2004-07-31 11:57:49.1175 checking formats for: mov-mp3-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1176 Checking to see if mov-mp3-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1176 enabled
2004-07-31 11:57:49.1177 checking formats for: mov-mp3-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1177 Checking to see if mov-mp3-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1178 enabled
2004-07-31 11:57:49.1178 checking formats for: mov-mp3-squeezebox-*
2004-07-31 11:57:49.1178 Checking to see if mov-mp3-squeezebox-* is
enabled
2004-07-31 11:57:49.1179 enabled
2004-07-31 11:57:49.1179 checking formats for: mov-mp3-*-*
2004-07-31 11:57:49.1180 Checking to see if mov-mp3-*-* is enabled
2004-07-31 11:57:49.1180 enabled
2004-07-31 11:57:49.1181 Found command: [mov123] $FILE$ | [lame] --
resample 44100 --silent -q 9 -b $BITRATE$ -r - -
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Utils/Misc.pm line 93.
2004-07-31 11:57:49.1185 Found binary for mov123
2004-07-31 11:57:49.1186 drat, missing binary mov123
2004-07-31 11:57:49.1186 ******* Error: Didn't find any command matches
for type: mov format: mp3 ******
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Player/Source.pm line 658.
2004-07-31 11:57:49.1187 opening next song (old format: , new: mp3)
current playmode: stop
2004-07-31 11:57:49.1191 openSong on: file:///audio/iTunes/iTunes%
20Music/Sigur%20R%C3%B3s/(%20)/01%20Vaka.m4a
2004-07-31 11:57:49.1198 openSong: getting duration 398.546666666667,
size 8045755, endian and offset 0 for file:///audio/iTunes/iTunes%
20Music/Sigur%20R%C3%B3s/(%20)/01%20Vaka.m4a
2004-07-31 11:57:49.1204 Found binary /usr/bin/lame for lame
2004-07-31 11:57:49.1208 Found binary /usr/bin/lame for lame
2004-07-31 11:57:49.1209 undermax = 0, type = mov, squeezebox =
00:04:20:05:50:c4, lame = /usr/bin/lame
2004-07-31 11:57:49.1210 checking formats for: mov-aif-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1210 Checking to see if mov-aif-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1211 enabled
2004-07-31 11:57:49.1211 checking formats for: mov-aif-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1212 Checking to see if mov-aif-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1213 enabled
2004-07-31 11:57:49.1213 checking formats for: mov-aif-squeezebox-*
2004-07-31 11:57:49.1214 Checking to see if mov-aif-squeezebox-* is
enabled
2004-07-31 11:57:49.1214 enabled
2004-07-31 11:57:49.1215 checking formats for: mov-aif-*-*
2004-07-31 11:57:49.1215 Checking to see if mov-aif-*-* is enabled
2004-07-31 11:57:49.1216 enabled
2004-07-31 11:57:49.1216 checking formats for: mov-wav-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1217 Checking to see if mov-wav-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1217 enabled
2004-07-31 11:57:49.1218 checking formats for: mov-wav-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1218 Checking to see if mov-wav-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1219 enabled
2004-07-31 11:57:49.1219 checking formats for: mov-wav-squeezebox-*
2004-07-31 11:57:49.1220 Checking to see if mov-wav-squeezebox-* is
enabled
2004-07-31 11:57:49.1220 enabled
2004-07-31 11:57:49.1221 Found command: [faad] -w -f 2 $FILE$
2004-07-31 11:57:49.1224 Found binary /usr/bin/faad for faad
2004-07-31 11:57:49.1225 checking formats for: mov-mp3-squeezebox-
00:04:20:05:50:c4
2004-07-31 11:57:49.1225 Checking to see if mov-mp3-squeezebox-
00:04:20:05:50:c4 is enabled
2004-07-31 11:57:49.1225 enabled
2004-07-31 11:57:49.1226 checking formats for: mov-mp3-*-00:04:20:05:50:
c4
2004-07-31 11:57:49.1226 Checking to see if mov-mp3-*-00:04:20:05:50:c4
is enabled
2004-07-31 11:57:49.1227 enabled
2004-07-31 11:57:49.1227 checking formats for: mov-mp3-squeezebox-*
2004-07-31 11:57:49.1228 Checking to see if mov-mp3-squeezebox-* is
enabled
2004-07-31 11:57:49.1228 enabled
2004-07-31 11:57:49.1229 checking formats for: mov-mp3-*-*
2004-07-31 11:57:49.1229 Checking to see if mov-mp3-*-* is enabled
2004-07-31 11:57:49.1230 enabled
2004-07-31 11:57:49.1230 Found command: [mov123] $FILE$ | [lame] --
resample 44100 --silent -q 9 -b $BITRATE$ -r - -
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Utils/Misc.pm line 93.
2004-07-31 11:57:49.1234 Found binary for mov123
2004-07-31 11:57:49.1235 drat, missing binary mov123
2004-07-31 11:57:49.1236 ******* Error: Didn't find any command matches
for type: mov format: mp3 ******
2004-07-31 11:57:49.1236 openSong: this is an mov file: file:///audio/
iTunes/iTunes%20Music/Sigur%20R%C3%B3s/(%20)/01%20Vaka.m4a
2004-07-31 11:57:49.1237 file type: mov format: mp3 inrate:
161.501890201064 maxRate: 320
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Player/Source.pm line 894.
2004-07-31 11:57:49.1237 command:
2004-07-31 11:57:49.1238 Couldn't create command line for mov playback
for file:///audio/iTunes/iTunes%20Music/Sigur%20R%C3%B3s/(%20)/01%
20Vaka.m4a
2004-07-31 11:57:49.1270 Backtrace:

frame 0: Slim::Player::Source::playmode (/usr/local/slimserver//Slim/
Player/Source.pm line 626)
frame 1: Slim::Player::Source::openNext (/usr/local/slimserver//Slim/
Player/Source.pm line 284)
frame 2: Slim::Player::Source::playmode (/usr/local/slimserver//Slim/
Player/Source.pm line 584)
frame 3: Slim::Player::Source::jumpto (/usr/local/slimserver//Slim/
Control/Command.pm line 539)
frame 4: Slim::Control::Command::execute (/usr/local/slimserver//
Slim/Buttons/Playlist.pm line 146)
frame 5: Slim::Buttons::Playlist::__ANON__ (/usr/local/slimserver//
Slim/Hardware/IR.pm line 545)
frame 6: Slim::Hardware::IR::executeButton (/usr/local/slimserver//
Slim/Control/Command.pm line 209)
frame 7: Slim::Control::Command::execute (/usr/local/slimserver//
Slim/Hardware/IR.pm line 569)
frame 8: Slim::Hardware::IR::processCode (/usr/local/slimserver//
Slim/Hardware/IR.pm line 429)
frame 9: Slim::Hardware::IR::releaseCode (/usr/local/slimserver//
Slim/Hardware/IR.pm line 327)
frame 10: Slim::Hardware::IR::checkRelease (/usr/local/slimserver//
Slim/Utils/Timers.pm line 52)
frame 11: Slim::Utils::Timers::checkTimers (/usr/local/slimserver/
slimserver.pl line 396)
frame 12: main::idle (/usr/local/slimserver/slimserver.pl line 366)
frame 13: main::main (/usr/local/slimserver/slimserver.pl line 825)

2004-07-31 11:57:49.1272 00:04:20:05:50:c4: Switching to mode stop from
stop
2004-07-31 11:57:49.1272 Already in playmode stop : ignoring mode
change
2004-07-31 11:57:49.1274 00:04:20:05:50:c4 New play mode: stop
2004-07-31 11:57:49.1276 Stopping and clearing out old chunks for client
00:04:20:05:50:c4
2004-07-31 11:57:49.1280 00:04:20:05:50:c4: Current playmode: stop
2004-07-31 11:57:49.3996 Found binary /usr/bin/lame for lame




Seems like it is unable to start faad. faad is in /usr/bin/faad.

--
-Torgeir

kdf
2004-07-31, 08:24
Quoting Torgeir Veimo <torgeir (AT) pobox (DOT) com>:

> On Fri, 2004-07-30 at 16:18 -0700, kdf wrote:
> > Quoting Torgeir Veimo <torgeir (AT) pobox (DOT) com>:
> >
> > > Hav modified my convert.conf file as
> > >
> > > #mov aif * *
> > > # [mov123] $FILE$
> > > mov wav squeezebox *
> > > [faad] -w -f 2 $FILE$
> > >
> > > with faad2 installed and latest nightly rpm, but am having problems
> > > playing aac files. mp3 files works.
> > >
> > > But where is the log file for the server? I checked /tmp/slimserver.log,
> > > but there's no new entries written. I see a short notice flash by on the
> > > slimbox, but it's not very informative..
> > >
> > the log, by default, if you use the init.d script will be
> /tmp/slimserver.log.
> > If you want to see anything in it, you have to enable debugging for
> d_source.
> > You can do this from teh web interface, server settings->additional server
> > settings->debugging. check d_source, then click change. Then try to play
> your
> > aac file.
>
> Ok, thx. This is a segment from the log. I didn't turn on all logging
> though, only the ones below. Any idea of what is going wrong?

yes, its trying to convert to mp3 and you dont have a convert line for aac to
mp3

add this:
mov mp3 * *
[faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q 9 -b $BITRATE$
- -

OR you need to change your bitrate limit. If you have a squeezebox connected
wireless, it will limit to 320kbps mp3 by default because some setups can't
deal with full PCM bandwidth over wireless. If you go into player settings,
find bitrate limiting and set it to No Limit, you will convert to WAV and it
should work. If you have a slimp3 you need to use the mp3 line above because
slimp3 hardware can only handle mp3.

cheers,
kdf

Torgeir Veimo
2004-07-31, 09:06
On Sat, 2004-07-31 at 08:24 -0700, kdf wrote:
> Quoting Torgeir Veimo <torgeir (AT) pobox (DOT) com>:
>
> > On Fri, 2004-07-30 at 16:18 -0700, kdf wrote:
> > > Quoting Torgeir Veimo <torgeir (AT) pobox (DOT) com>:
> > >
> > > > Hav modified my convert.conf file as
> > > >
> > > > #mov aif * *
> > > > # [mov123] $FILE$
> > > > mov wav squeezebox *
> > > > [faad] -w -f 2 $FILE$
> > > >
> > > > with faad2 installed and latest nightly rpm, but am having problems
> > > > playing aac files. mp3 files works.
> > > >
> > > > But where is the log file for the server? I checked /tmp/slimserver.log,
> > > > but there's no new entries written. I see a short notice flash by on the
> > > > slimbox, but it's not very informative..
> > > >
> > > the log, by default, if you use the init.d script will be
> > /tmp/slimserver.log.
> > > If you want to see anything in it, you have to enable debugging for
> > d_source.
> > > You can do this from teh web interface, server settings->additional server
> > > settings->debugging. check d_source, then click change. Then try to play
> > your
> > > aac file.
> >
> > Ok, thx. This is a segment from the log. I didn't turn on all logging
> > though, only the ones below. Any idea of what is going wrong?
>
> yes, its trying to convert to mp3 and you dont have a convert line for aac to
> mp3
>
> add this:
> mov mp3 * *
> [faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q 9 -b $BITRATE$
> - -
>
> OR you need to change your bitrate limit. If you have a squeezebox connected
> wireless, it will limit to 320kbps mp3 by default because some setups can't
> deal with full PCM bandwidth over wireless. If you go into player settings,
> find bitrate limiting and set it to No Limit, you will convert to WAV and it
> should work. If you have a slimp3 you need to use the mp3 line above because
> slimp3 hardware can only handle mp3.

Ok, trying both, and none work, but I think I'm a bit closer. Now I get
the following in the logs;

2004-07-31 17:05:57.1818 Found command: [faad] -w -f 2 $FILE$
2004-07-31 17:05:57.1822 Matched Format: wav Type: mov Command: [faad] -
w -f 2 $FILE$
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Player/Source.pm line 658.
2004-07-31 17:05:57.1825 opening next song (old format: , new: wav)
current playmode: stop
2004-07-31 17:05:57.1830 openSong on: file:///audio/iTunes/iTunes%
20Music/Compilations/18/18%20I'm%20Not%20Worried%20At%20All.m4a
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Player/Source.pm line 871.
Use of uninitialized value in concatenation (.) or string at /usr/local/
slimserver//Slim/Player/Source.pm line 871.
2004-07-31 17:05:57.1838 openSong: getting duration , size , endian
and offset 0 for file:///audio/iTunes/iTunes%20Music/Compilations/18/18%
20I'm%20Not%20Worried%20At%20All.m4a
2004-07-31 17:05:57.1840 openSong: not bothering opening file with zero
size or duration
2004-07-31 17:05:57.1873 Backtrace:

Which log settin can I enable to see why it think the length is zero?


--
-Torgeir

Torgeir Veimo
2004-07-31, 09:11
test running faad on one of my m4a files:

[root@Vigor10 root]# faad -w -f 2 /audio/iTunes/Music/Moby/Play/12\ Down
\ Slow.m4a > /tmp/test
*********** Ahead Software MPEG-4 AAC Decoder V2.0
******************

Build: May 18 2004
Copyright 2002-2004: Ahead Software AG
http://www.audiocoding.com
Floating point version

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.


************************************************** ************************

/audio/iTunes/Music/Moby/Play/12 Down Slow.m4a file info:

LC AAC 94.830 secs, 2 ch, 44100 Hz

title: Down Slow
artist: Moby
writer: Moby
album: Play
genre: Electronica/Dance
track: 12
totaltracks: 18
date: 1999
compilation:
tempo: 00000 BPM
tool: iTunes v4.1.1.54, QuickTime 6.4
iTunNORM: 00000270 0000023B 00004F1E 00004551 00007653 00007653
00007FFF 00007FFF 0000023F 0000023F
iTunes_CDDB_IDs: 18+7663A04952F86CD5AE82D0EEC41ADED2+667175
---------------------
| Config: 2 Ch |
---------------------
| Ch | Position |
---------------------
| 00 | Left front |
| 01 | Right front |
---------------------

Decoding /audio/iTunes/Music/Moby/Play/12 Down Slow.m4a took: 1.24 sec.
76.48x real-time.
[root@Vigor10 root]#
[root@Vigor10 root]# faad -w -f 2 /audio/iTunes/Music/Moby/Play/12\ Down
\ Slow.m4a > /tmp/test
*********** Ahead Software MPEG-4 AAC Decoder V2.0
******************

Build: May 18 2004
Copyright 2002-2004: Ahead Software AG
http://www.audiocoding.com
Floating point version

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.


************************************************** ************************

/audio/iTunes/Music/Moby/Play/12 Down Slow.m4a file info:

LC AAC 94.830 secs, 2 ch, 44100 Hz

title: Down Slow
artist: Moby
writer: Moby
album: Play
genre: Electronica/Dance
track: 12
totaltracks: 18
date: 1999
compilation:
tempo: 00000 BPM
tool: iTunes v4.1.1.54, QuickTime 6.4
iTunNORM: 00000270 0000023B 00004F1E 00004551 00007653 00007653
00007FFF 00007FFF 0000023F 0000023F
iTunes_CDDB_IDs: 18+7663A04952F86CD5AE82D0EEC41ADED2+667175
---------------------
| Config: 2 Ch |
---------------------
| Ch | Position |
---------------------
| 00 | Left front |
| 01 | Right front |
---------------------

Decoding /audio/iTunes/Music/Moby/Play/12 Down Slow.m4a took: 1.24 sec.
76.48x real-time.
[root@Vigor10 root]#


--
-Torgeir

Andrew W. Donoho
2004-07-31, 09:46
Torgeir,

Here are my two working settings in slimserveer-convert.conf:

mov wav * *
[faad] -f 2 -w $FILE$

mov mp3 * *
[faad] -f 2 -w $FILE$ | [lame] -s 44.1 --resample 44100
--silent -q 9 -b $BITRATE$ -r -x - -

Andrew

____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)