PDA

View Full Version : Playing unprotected .m4a files on Linux



Dave Owen
2005-02-01, 15:02
1. Set up Linux server for streaming AAC files:

- Installed nightly build of 5.4.1 from last night.
- Used VLC to obtain iTunes key from my wife's Windows box, installed on
Linux box.
- Used instructions at
http://wiki.slimdevices.com/tiki-view_faq.php?faqId=5#q44 to install
faad and change convert.conf.

2. Converted a test .m4p from my wife's Windows box to .m4a using latest
version of Hymn for RedHat.

3. Converted resulting .m4a file to .wav using faad at the command line,
to verify that it works. It does.

4. Rescanned my music library.

5. Attempted to listen to .m4a file.

Sadly, after a few seconds of attempting to play the file, SlimServer
returned 'PROBLEM: CAN'T OPEN FILE FOR [TITLE]'. There is no error in my
server log.

Advice appreciated, except for "you shouldn't use music from iTunes" --
this I know, and now that my wife has seen what I'm going through to get
this working for her, she knows too. ;) Hate to lose the albums she's
already purchased, though.

Robin Bowes
2005-02-01, 16:20
Dave Owen wrote:
> Advice appreciated, except for "you shouldn't use music from iTunes" --
> this I know, and now that my wife has seen what I'm going through to get
> this working for her, she knows too. ;) Hate to lose the albums she's
> already purchased, though.

Dave,

I had some success in getting .m4a files to play on Linux, although I
*think* mine are unprotected (I'm not clear whether you're trying to
play protected or unprotected files).

There's a write-up of what I did here [1] but the summary is that some
versions of faad don't work. I'm currently using faad from the FreshRPMs
repository (I run Fedora Core 3) and they playback fine.

[1] http://robinbowes.com/article.php/2004080319394853

FWIW, my slimserver-convert.conf lines are as follows:

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

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

R.
--
http://robinbowes.com