PDA

View Full Version : Problem Playing m4a Files



Frank L
2005-01-05, 15:46
Hi,

I read the archives and I must be missing something. I'm trying to play m4a
files and nothing happens. These files play fine in iTunes. I have my
Squeezebox connected to my server with a wired LAN connection, so bandwidth
shouldn't be a problem. Do I have to install LAME even if bandwidth is not
an issue?

Thanks.

-- Frank

kdf
2005-01-05, 16:06
Quoting Frank L <frank6459 (AT) yahoo (DOT) com>:

> Hi,
>
> I read the archives and I must be missing something. I'm trying to play m4a
> files and nothing happens. These files play fine in iTunes. I have my
> Squeezebox connected to my server with a wired LAN connection, so bandwidth
> shouldn't be a problem. Do I have to install LAME even if bandwidth is not
> an issue?

What OS are you currently using, with which version of Slimserver?

A wired squeezebox should convert m4a to wav. You can verify that the setting
is correct from player settings->audio. Bitrate limiting should be set to "No
Limit", otherwise you will need LAME.

Are these iTunes music store files?

To see more of what is going on when you try to play the tracks:
server settings->debugging
check d_source
click "change"
try to play a track
open your browser to http://serverIP:9000/log.txt

that output shoud show the conversion process, or any errors from either the
decoder application or file read problems.

-kdf

Frank L
2005-01-05, 16:51
Windows XP Pro and SlimServer 5.4.0.

My bitrate limiting is set to "No Limit"

I am 99% sure these are not iTunes music store files, but I will confirm. I
can play them on Quick Time -- I don't know if that means they aren't music
store files.

When I open the log.txt file I get a bunch of lines that say "No filehandle
to read from, returning no chunk" at the end.

Thanks.

-- Frank


"kdf" <slim-mail (AT) deane-freeman (DOT) com> wrote in
message news:1104966402.41dc73028dcb3 (AT) callisto (DOT) deane-freeman.com...
Quoting Frank L <frank6459 (AT) yahoo (DOT) com>:

> Hi,
>
> I read the archives and I must be missing something. I'm trying to play
> m4a
> files and nothing happens. These files play fine in iTunes. I have my
> Squeezebox connected to my server with a wired LAN connection, so
> bandwidth
> shouldn't be a problem. Do I have to install LAME even if bandwidth is
> not
> an issue?

What OS are you currently using, with which version of Slimserver?

A wired squeezebox should convert m4a to wav. You can verify that the
setting
is correct from player settings->audio. Bitrate limiting should be set to
"No
Limit", otherwise you will need LAME.

Are these iTunes music store files?

To see more of what is going on when you try to play the tracks:
server settings->debugging
check d_source
click "change"
try to play a track
open your browser to http://serverIP:9000/log.txt

that output shoud show the conversion process, or any errors from either the
decoder application or file read problems.

-kdf

kdf
2005-01-05, 17:23
Quoting Frank L <frank6459 (AT) yahoo (DOT) com>:

> Windows XP Pro and SlimServer 5.4.0.
>
> My bitrate limiting is set to "No Limit"

good. one problem down :)

> I am 99% sure these are not iTunes music store files, but I will confirm. I
> can play them on Quick Time -- I don't know if that means they aren't music
> store files.

well, mainly, if you bought them from iTunes, then they are music store files.
If not, the protection should be preventing you from playing them under any
circumstances.

> When I open the log.txt file I get a bunch of lines that say "No filehandle
> to read from, returning no chunk" at the end.

right, this would seem to indicate a file access problem. The windows install
should have all you need for playing m4a files, but I do recall that mov123
(the actual program that handles the m4a decoding to wav for slimserver
playback) sometimes has problems with Quicktime installs. Try getting the
latest Quicktime download, and install that.

If its still failing, there is a way to get even more info:
stop the slimserver service
start->run
type in the box:
"c:\program files\slimserver\server\slim.exe" --d_source
click ok

now you should have a "dos window" running slimserver.
if you play a file now, you'll get the output from mov123 as well as the debug
logs.

hope that gets you somewhere.

-kdf

Frank L
2005-01-05, 19:46
Ok, I downloaded and installed a fresh copy of Quick Time and I get the same
results. I ran the DOS command then tried to play a m4a song and here is
the output (I deleted some of the "No filehandle to read..." error
messages).

Hope this helps.

Thanks.

-- Frank

2005-01-05 19:36:39.4290 Checking to see if mov-aif-squeezebox-* is enabled
2005-01-05 19:36:39.4293 enabled
2005-01-05 19:36:39.4296 checking formats for: mov-aif-*-*
2005-01-05 19:36:39.4299 Checking to see if mov-aif-*-* is enabled
2005-01-05 19:36:39.4301 enabled
2005-01-05 19:36:39.4304 Found command: [mov123] $FILE$
2005-01-05 19:36:39.4325 Matched Format: aif Type: mov Command: [mov123]
$FILE$

2005-01-05 19:36:39.4332 openSong: this is an mov file:
file:///C:/harrrison%20m
usic/Barry%20White/The%20Collection/01%20You_re%20The%20First_%20The%20La.m4a
2005-01-05 19:36:39.4336 file type: mov format: aif inrate:
129.994474653854 m
axRate: 0
2005-01-05 19:36:39.4339 command: [mov123] $FILE$
2005-01-05 19:36:39.4355 Using command for conversion: "C:\program
files\slimser
ver\server\Bin\MSWin32-x86-multi-thread\mov123.exe" "C:\harrrison
music\Barry Wh
ite\The Collection\01 You_re The First_ The La.m4a" |
2005-01-05 19:36:39.5243 Streaming with format: aif
2005-01-05 19:36:40.3927 00:04:20:05:36:f4 New play mode: play
2005-01-05 19:36:40.3975 00:04:20:05:36:f4: Current playmode: play
Failed at line: 316
Conversion failed with error: -3000
2005-01-05 19:36:45.1946 Read to end of file or pipe
2005-01-05 19:36:45.1962 end of file or error on socket, opening next song,
(son
g pos: 0(tell says: . 0 but true), totalbytes: 0)
2005-01-05 19:36:45.1967 opening next song...
2005-01-05 19:36:45.1988 Backtrace:

frame 0: Slim::Player::Source::playmode (/PerlApp/Slim/Player/Source.pm
line
691)
frame 1: Slim::Player::Source::openNext (/PerlApp/Slim/Player/Source.pm
line
1495)
frame 2: Slim::Player::Source::readNextChunk
(/PerlApp/Slim/Player/Source.pm
line 501)
frame 3: Slim::Player::Source::nextChunk (/PerlApp/Slim/Web/HTTP.pm line
1108
)
frame 4: Slim::Web::HTTP::sendStreamingResponse
(/PerlApp/Slim/Networking/Sel
ect.pm line 124)
frame 5: Slim::Networking::Select::select (slimserver.pl line 455)
frame 6: main::idle (slimserver.pl line 398)
frame 7: main::main (slimserver.pl line 61)
frame 8: PerlSvc::Interactive (perlsvc line 1203)
frame 9: PerlSvc::_interactive (slimserver.pl line 0)
frame 10: (eval) (slimserver.pl line 0)

2005-01-05 19:36:45.2321 00:04:20:05:36:f4: Switching to mode playout-stop
from
play
2005-01-05 19:36:45.2369 00:04:20:05:36:f4 New play mode: playout-stop
2005-01-05 19:36:45.2447 00:04:20:05:36:f4: Current playmode: playout-stop
2005-01-05 19:36:45.2549 00:04:20:05:36:f4: Can't opennext, returning no
chunk.
2005-01-05 19:36:45.3138 00:04:20:05:36:f4: No filehandle to read from,
returnin
g no chunk.
2005-01-05 19:36:45.3780 00:04:20:05:36:f4: No filehandle to read from,
returnin
g no chunk.
2005-01-05 19:36:45.4441 00:04:20:05:36:f4: No filehandle to read from,
returnin
g no chunk.
2005-01-05 19:36:45.5042 00:04:20:05:36:f4: No filehandle to read from,
returnin
g no chunk.
2005-01-05 19:36:52.1935 00:04:20:05:36:f4: No filehandle to read from,
returnin
g no chunk.
2005-01-05 19:36:52.2227 Backtrace:

frame 0: Slim::Player::Source::playmode (/PerlApp/Slim/Control/Command.pm
lin
e 209)
frame 1: Slim::Control::Command::execute (/PerlApp/Slim/Web/HTTP.pm line
580)

frame 2: Slim::Web::HTTP::processURL (/PerlApp/Slim/Web/HTTP.pm line 460)
frame 3: Slim::Web::HTTP::processHTTP (/PerlApp/Slim/Networking/Select.pm
lin
e 116)
frame 4: Slim::Networking::Select::select (slimserver.pl line 455)
frame 5: main::idle (slimserver.pl line 398)
frame 6: main::main (slimserver.pl line 61)
frame 7: PerlSvc::Interactive (perlsvc line 1203)
frame 8: PerlSvc::_interactive (slimserver.pl line 0)
frame 9: (eval) (slimserver.pl line 0)

2005-01-05 19:36:52.2242 00:04:20:05:36:f4: Switching to mode stop from
playout-
stop
2005-01-05 19:36:52.2247 00:04:20:05:36:f4 New play mode: stop
2005-01-05 19:36:52.2253 Stopping and clearing out old chunks for client
00:04:2
0:05:36:f4
2005-01-05 19:36:52.2274 00:04:20:05:36:f4: Current playmode: stop


"kdf" <slim-mail (AT) deane-freeman (DOT) com> wrote in
message news:1104970980.41dc84e40cf78 (AT) callisto (DOT) deane-freeman.com...
Quoting Frank L <frank6459 (AT) yahoo (DOT) com>:

> Windows XP Pro and SlimServer 5.4.0.
>
> My bitrate limiting is set to "No Limit"

good. one problem down :)

> I am 99% sure these are not iTunes music store files, but I will confirm.
> I
> can play them on Quick Time -- I don't know if that means they aren't
> music
> store files.

well, mainly, if you bought them from iTunes, then they are music store
files.
If not, the protection should be preventing you from playing them under any
circumstances.

> When I open the log.txt file I get a bunch of lines that say "No
> filehandle
> to read from, returning no chunk" at the end.

right, this would seem to indicate a file access problem. The windows
install
should have all you need for playing m4a files, but I do recall that mov123
(the actual program that handles the m4a decoding to wav for slimserver
playback) sometimes has problems with Quicktime installs. Try getting the
latest Quicktime download, and install that.

If its still failing, there is a way to get even more info:
stop the slimserver service
start->run
type in the box:
"c:\program files\slimserver\server\slim.exe" --d_source
click ok

now you should have a "dos window" running slimserver.
if you play a file now, you'll get the output from mov123 as well as the
debug
logs.

hope that gets you somewhere.

-kdf

Frank L
2005-01-05, 20:09
One more thing...

I'm not sure this is important, but I transferred the files from an Apple
computer.

-- Frank


"kdf" <slim-mail (AT) deane-freeman (DOT) com> wrote in
message news:1104970980.41dc84e40cf78 (AT) callisto (DOT) deane-freeman.com...
Quoting Frank L <frank6459 (AT) yahoo (DOT) com>:

> Windows XP Pro and SlimServer 5.4.0.
>
> My bitrate limiting is set to "No Limit"

good. one problem down :)

> I am 99% sure these are not iTunes music store files, but I will confirm.
> I
> can play them on Quick Time -- I don't know if that means they aren't
> music
> store files.

well, mainly, if you bought them from iTunes, then they are music store
files.
If not, the protection should be preventing you from playing them under any
circumstances.

> When I open the log.txt file I get a bunch of lines that say "No
> filehandle
> to read from, returning no chunk" at the end.

right, this would seem to indicate a file access problem. The windows
install
should have all you need for playing m4a files, but I do recall that mov123
(the actual program that handles the m4a decoding to wav for slimserver
playback) sometimes has problems with Quicktime installs. Try getting the
latest Quicktime download, and install that.

If its still failing, there is a way to get even more info:
stop the slimserver service
start->run
type in the box:
"c:\program files\slimserver\server\slim.exe" --d_source
click ok

now you should have a "dos window" running slimserver.
if you play a file now, you'll get the output from mov123 as well as the
debug
logs.

hope that gets you somewhere.

-kdf

kdf
2005-01-05, 21:18
Quoting Frank L <frank6459 (AT) yahoo (DOT) com>:


> 2005-01-05 19:36:40.3975 00:04:20:05:36:f4: Current playmode: play
> Failed at line: 316
> Conversion failed with error: -3000
> 2005-01-05 19:36:45.1946 Read to end of file or pipe

This is the problem. mov123 is failing when dealing with the song. I seem to
recall seeing this error mentioned before, but I cannot recal what it means.
It might mean that the file is protected, but it might also be something else
that could be dealt with. Maybe someone else on this list knows what the error
means, or you could contact support (AT) slimdevices (DOT) com with that information.

-kdf