PDA

View Full Version : Playing .m4a files?



2004-07-31, 12:55
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> Torgeir Veimo
> Sent: 31 July 2004 19:47
> To: Slim Devices Discussion
> Subject: [slim] Playing .m4a files?
>
> On Sat, 2004-07-31 at 20:20 +0100, robin-lists (AT) robinbowes (DOT) com wrote:
> > Can someone tell me if/how I can play .m4a files? I'm running
> > slimserver on linux (Fedora Core 2).
>
> Read the FAQ which you find going to localhost:9000. In there
> you'll see you have to change the file
> /usr/local/slimserver/convert.conf, and install faad2.

After posting my question I did have a pang of guilt and went and read the
FAQ.

I installed faad2 from faad2-2.0-0.lvn.1.2.rpm. It is available as
/usr/bin/faad

I've modified convert.conf as follows:

## you can comment this out if you want to use LAME to transcode AAC/MOV
files to MP3.
#mov aif * *
# [mov123] $FILE$

# Added by RB to playback m4a using faad2
mov wav squeezebox *
[faad] -w -f 2 $FILE$

I restarted slimserver.

..m4a files still don't play.

Any ideas before I switch debugging on and get my hands dirty?

R.

--
http://robinbowes.com

Torgeir Veimo
2004-07-31, 13:50
On Sat, 2004-07-31 at 20:55 +0100, robin-lists (AT) robinbowes (DOT) com wrote:
>
>
> Any ideas before I switch debugging on and get my hands dirty?

See if you have the same problems as I have in a previous thread called
"prob w aac playback under linux..." In my case it seems that slimserver
thinks my m4a files are zero length.

--
-torgeir

steve ulrich
2004-07-31, 14:14
On Sat, 31 Jul 2004 20:55:58 +0100, robin-lists (AT) robinbowes (DOT) com
<robin-lists (AT) robinbowes (DOT) com> wrote:
> > -----Original Message-----
> > From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> > Torgeir Veimo
> > Sent: 31 July 2004 19:47
> > To: Slim Devices Discussion
> > Subject: [slim] Playing .m4a files?
> >
> > On Sat, 2004-07-31 at 20:20 +0100, robin-lists (AT) robinbowes (DOT) com wrote:
> > > Can someone tell me if/how I can play .m4a files? I'm running
> > > slimserver on linux (Fedora Core 2).
> >
> > Read the FAQ which you find going to localhost:9000. In there
> > you'll see you have to change the file
> > /usr/local/slimserver/convert.conf, and install faad2.
>
> After posting my question I did have a pang of guilt and went and read the
> FAQ.
>
> I installed faad2 from faad2-2.0-0.lvn.1.2.rpm. It is available as
> /usr/bin/faad
>
> I've modified convert.conf as follows:
>
> ## you can comment this out if you want to use LAME to transcode AAC/MOV
> files to MP3.
> #mov aif * *
> # [mov123] $FILE$
>
> # Added by RB to playback m4a using faad2
> mov wav squeezebox *
> [faad] -w -f 2 $FILE$
>
> I restarted slimserver.
>
> ..m4a files still don't play.
>
> Any ideas before I switch debugging on and get my hands dirty?

those wouldn't happen to be itune music store songs which have apple's
fairplay DRM encoding, would they?


--
steve ulrich

Robin Bowes
2004-08-01, 04:55
On Sat, July 31, 2004 21:50, Torgeir Veimo said:
> On Sat, 2004-07-31 at 20:55 +0100, robin-lists (AT) robinbowes (DOT) com wrote:
>
>>
>>
>> Any ideas before I switch debugging on and get my hands dirty?
>>
>
> See if you have the same problems as I have in a previous thread called
> "prob w aac playback under linux..." In my case it seems that slimserver
> thinks my m4a files are zero length.

Torgeir,

I do have the same problems as you:

2004-08-01 12:49:03.8830 00:04:20:05:37:50: Switching to mode play from stop
2004-08-01 12:49:03.8837 openSong on: file:///home/slimserver/music/Tom's%20MP3s
/F13/06%20How%20Soon%20Is%20Now_.m4a
Use of uninitialized value in concatenation (.) or string at /usr/local/slimserv
er//Slim/Player/Source.pm line 871.
2004-08-01 12:49:03.8853 openSong: getting duration , size 6571015, endian and
offset 0 for file:///home/slimserver/music/Tom's%20MP3s/F13/06%20How%20Soon%20I
s%20Now_.m4a
2004-08-01 12:49:03.8854 openSong: not bothering opening file with zero size or
duration
2004-08-01 12:49:03.8916 Couldn't open song. Stopping.

The $duration variable is not getting set.

Did you ever fix this?

R.
--
http://robinbowes.com

Torgeir Veimo
2004-08-01, 05:04
On Sun, 2004-08-01 at 12:55 +0100, Robin Bowes wrote:
>
> The $duration variable is not getting set.
>
> Did you ever fix this?

No, don't have any fix yet. Am using the latest nightly, dated July 30th
btw. which version are you using?

The perl code that checks the size of the file probably doesn't
understand aac files.

--
-Torgeir