PDA

View Full Version : Linux x86_64 and AAC heartache....



eamon
2006-09-23, 17:20
I have been trying for weeks now to get my SlimServer (v6.5.0 now) to play aac .m4a files... Was using Gentoo, had that working no problems (until I upgraded slimserver!). Now, with new server in toe, running FC5 x86_64 I cannot for the life of me get it working!

Does anyone have the exact stpes required to get it working? I have tried a bit of this, a bit of that.... But just don't get anywhere!

Any help would be appreciated as then I may be able to finally get some sleep!

Cheers,
Eamon.

bpa
2006-09-24, 01:24
If you used a file called slimserver-convert.conf to get AAC working in 6.3.1 - then it should be renamed to custom-convert.conf for 6.5

Otherwise - describe what you did in 6.3.1 to get AAC working.

eamon
2006-09-25, 11:31
To get AAC working in 6.3.1 (on Gentoo) I had used the older version of faad2 from the CVS repo and compiled and installed it. Modified the convert.conf file (changes to slimserver-convert.conf or custom-convert.conf didn't seem to make much difference). Everything seemed to go fine.

However, new machine, different OS. The CVS trick isn't working for faad2, as now it fails to compile.

Here are the steps I have taken to get it working in the past, that fail now:

###### Begin Paste #####
1. Build/install faad2 as per:
http://robinbowes.com/article.php/2004080319394853

Here's what I did to build a version of faad2 that can sucessfully play .m4a files from slimserver on my Linux system (Fedora Core 2):
CVSROOT=:pserver:anonymous@faac.cvs.sourceforge.ne t:/cvsroot/faac
export CVSROOT
cvs login

(Hit return when prompted for a password)

cvs co -D2004-03-03 -dfaad2-CVS faad2
cd faad2-CVS
autoreconf -vif
./configure --prefix=/usr --with-mp4v2
make
sudo make install

The "make" fails with the following errors:
#### make errors ###############
mp4property.h:61: error: invalid pure specifier (only `= 0' is allowed) before ';' token
mp4property.h:77: error: invalid pure specifier (only `= 0' is allowed) before ';' token
mp4property.h:78: error: invalid pure specifier (only `= 0' is allowed) before ';' token
mp4property.h:82: error: invalid pure specifier (only `= 0' is allowed) before ';' token
mp4property.h:84: error: invalid pure specifier (only `= 0' is allowed) before ';' token
mp4property.h:87: error: invalid pure specifier (only `= 0' is allowed) before ';' token
rtphint.h:38: error: invalid pure specifier (only `= 0' is allowed) before ';' token
rtphint.h:39: error: invalid pure specifier (only `= 0' is allowed) before ';' token
make[3]: *** [atom_co64.lo] Error 1
make[3]: Leaving directory `faad2-CVS/common/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `faad2-CVS/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `faad2-CVS'
make: *** [all] Error 2

#######################################

So, what I really need is for someone to show me what they have done, step by step, to get it working. Any takers?

Cheers,
Eamon.

bpa
2006-09-25, 12:24
Alternative approach - try mplayer instead of faad.
See post #2 in this thread
http://forums.slimdevices.com/showthread.php?t=24369

eamon
2006-09-25, 15:14
Man, I don't know how I missed that thread before! Would have saved me so much grief!!!

Thanks for your help!
Eamon.

eamon
2006-11-13, 18:03
Ok, I may have been a bit hasty. Using Mplayer seems to work fine, but as you go further into the play list it starts to jump and becomes dog slow. This is really frustrating.... Will they ever include support for AAC out-of-the-box?

Cheers,
Eamon.

bpa
2006-11-14, 01:06
Can you provide "technical" info. Nobody can help unless you provide better information.

What becomes "dog slow" - the audio sounds like it is being played at half speed or slimserver web interface repsonds slowly or SB interface becomes slow or there are large gaps between tracks or something else ?

What is jumping - you jump items in the playlist or it jumps within a track ?

What are these playlists ?
How large are these playlists ?
After how many items does the problem show ?
What version of mplayer did you install ?
Are you still on 6.5.0 or have you upgraded to 6.5.1 ?
Did you check what processes are running when the system is running slow to see what using most CPU, memory , disk activity ?

Mplayer will be restarted for each track so the "dog slow" problem could be either - something in slimserver (e.g. scanner) or lots of mplayer processes not being killed when finishing a track.

If there is a jump within a track and if you using wireless - I'd advise running tests to see how good is your wireless connection.