LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2005, 08:09 PM   #1
WindowsVeteran
LQ Newbie
 
Registered: Mar 2004
Location: The Noth suburbs of Chicago
Distribution: Ubuntu
Posts: 17

Rep: Reputation: 0
Xmms AAC Plugin


I've been trying to install this stupid AAC plugin for Xmms for about 3 days. After tearing apart forums I have come to one conclusion: Linux developers are not human.

I am able to play AAC files with Mplayer, but nothing else.

I'm running Ubuntu and I used the Synaptic package manger to install anything I could find that had the word Xmms, AAC, or plug-in in it (with discretion).

gstreamer, faac, faad, and a few others

Then I stumbled across this website:
http://aacplugin.sourceforge.net/

I was able to apt-get faad-0.6 but I could not do the same with aacplugin-1.1.4 (it was not in my synaptic either).

So I think, what the heck? I'll compile the source code. ./configure was file but I got this when I tried to make:

Code:
cmlewis@ubuntu:~/Desktop/aacplugin$ make
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"aacplugin\" -DVERSION=\"1.1.4\" -DHAVE_LIBFAAD=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1  -I. -I.      -g -O2 -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c libaac.c
gcc -DPACKAGE=\"aacplugin\" -DVERSION=\"1.1.4\" -DHAVE_LIBFAAD=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -I. -I. -g -O2 -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wp,-MD,.deps/libaac.pp -c  -fPIC -DPIC libaac.c -o libaac.lo
libaac.c:51: error: syntax error before "fInfo"
libaac.c:51: warning: data definition has no type or storage class
libaac.c: In function `get_song_length':
libaac.c:99: error: `faadAACInfo' undeclared (first use in this function)
libaac.c:99: error: (Each undeclared identifier is reported only once
libaac.c:99: error: for each function it appears in.)
libaac.c:99: error: syntax error before "fInfo"
libaac.c:111: error: request for member `bit_rate' in something not a structure or union
libaac.c: In function `play_loop':
libaac.c:241: error: request for member `channels' in something not a structure or union
libaac.c:249: error: request for member `sampling_rate' in something not a structure or union
libaac.c:249: error: request for member `channels' in something not a structure or union
libaac.c:254: error: request for member `bit_rate' in something not a structure or union
libaac.c:255: error: request for member `sampling_rate' in something not a structure or union
libaac.c:255: error: request for member `channels' in something not a structure or union
libaac.c: In function `play_file':
libaac.c:269: warning: passing arg 3 of `pthread_create' from incompatible pointer type
make: *** [libaac.lo] Error 1
cmlewis@ubuntu:~/Desktop/aacplugin$
Help would be greatly appreciated.
__________________
Light travels faster than sound. That's why people appear smart until you hear them speak.
 
Old 05-05-2005, 08:21 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Check and see if you can get the xmms-mp4 plugin it is in Debian so it should be in Ubuntu.

Code:
>$ apt-cache show xmms-mp4
Package: xmms-mp4
Priority: optional
Section: sound
Installed-Size: 64
Maintainer: Christian Marillat <marillat@debian.org>
Architecture: i386
Source: faad2
Version: 2.0.0-0.5
Depends: libc6 (>= 2.3.2.ds1-4), libfaad2-0 (>= 2.0.0-0.5), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libmp4-0 (>= 2.0.0-0.2), libstdc++5 (>= 1:3.3.4-1), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxi6 | xlibs (>> 4.1.0), xmms
Filename: dists/unstable/main/binary-i386/xmms-mp4_2.0.0-0.5_i386.deb
Size: 9640
MD5sum: 6ef451bef5377e1830505fa50a8ec404
Description: a mp4/aac audio player for xmms
 This plugin is a merge between aac and mp4 plugin. so now you could read
 all new and old files encoded with different encoder and different format
 (for the aac part). This is possible since the libfaad2 allow to read old
 aac ADTS format.
 
Old 05-05-2005, 09:53 PM   #3
WindowsVeteran
LQ Newbie
 
Registered: Mar 2004
Location: The Noth suburbs of Chicago
Distribution: Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
This is the output it gave me. I think I've got it installed.

Code:
cmlewis@ubuntu:~$ apt-cache show xmms-mp4
Package: xmms-mp4
Priority: optional
Section: sound
Installed-Size: 64
Maintainer: Christian Marillat <marillat@debian.org>
Architecture: i386
Source: faad2
Version: 2.0.0-0.5
Depends: libc6 (>= 2.3.2.ds1-4), libfaad2-0 (>= 2.0.0-0.5), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libmp4-0 (>= 2.0.0-0.2), libstdc++5 (>= 1:3.3.4-1), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxi6 | xlibs (>> 4.1.0), xmms
Filename: dists/unstable/main/binary-i386/xmms-mp4_2.0.0-0.5_i386.deb
Size: 9640
MD5sum: 6ef451bef5377e1830505fa50a8ec404
Description: a mp4/aac audio player for xmms
 This plugin is a merge between aac and mp4 plugin. so now you could read
 all new and old files encoded with different encoder and different format
 (for the aac part). This is possible since the libfaad2 allow to read old
 aac ADTS format.

Package: xmms-mp4
Priority: optional
Section: universe/sound
Installed-Size: 64
Maintainer: Christian Marillat <marillat@debian.org>
Architecture: i386
Source: faad2
Version: 2.0.0-0.3
Depends: libc6 (>= 2.3.2.ds1-4), libfaad2-0 (>= 2.0.0-0.3), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libstdc++5 (>= 1:3.3.4-1), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxi6 | xlibs (>> 4.1.0), xmms
Filename: pool/multiverse/f/faad2/xmms-mp4_2.0.0-0.3_i386.deb
Size: 9382
MD5sum: 6d2e4b6914d056fb67080a48c3080bd2
Description: a mp4/aac audio player for xmms
 This plugin is a merge between aac and mp4 plugin. so now you could read
 all new and old files encoded with different encoder and different format
 (for the aac part). This is possible since the libfaad2 allow to read old
 aac ADTS format.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu

Package: xmms-mp4
Priority: optional
Section: sound
Installed-Size: 72
Maintainer: Christian Marillat <marillat@debian.org>
Architecture: i386
Source: faad2
Version: 2.0.0-0woody0.5
Depends: libc6 (>= 2.2.4-4), libfaad2-0 (>= 2.0.0-0woody0.5), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libmp4-0 (>= 2.0.0-0woody0.2), libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810), xlibs (>> 4.1.0), xmms
Filename: dists/stable/main/binary-i386/xmms-mp4_2.0.0-0woody0.5_i386.deb
Size: 9564
MD5sum: 2af6b305b032889c3907ffb60f8ecdde
Description: a mp4/aac audio player for xmms
 This plugin is a merge between aac and mp4 plugin. so now you could read
 all new and old files encoded with different encoder and different format
 (for the aac part). This is possible since the libfaad2 allow to read old
 aac ADTS format.

Package: xmms-mp4
Priority: optional
Section: sound
Installed-Size: 64
Maintainer: Christian Marillat <marillat@debian.org>
Architecture: i386
Source: faad2
Version: 2.0.0-0sarge0.5
Depends: libc6 (>= 2.3.2.ds1-4), libfaad2-0 (>= 2.0.0-0sarge0.5), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libmp4-0 (>= 2.0.0-sarge0.0), libstdc++5 (>= 1:3.3.4-1), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxi6 | xlibs (>> 4.1.0), xmms
Filename: dists/testing/main/binary-i386/xmms-mp4_2.0.0-0sarge0.5_i386.deb
Size: 9650
MD5sum: 7dc1cc4469f302a1714fe02de80b900a
Description: a mp4/aac audio player for xmms
 This plugin is a merge between aac and mp4 plugin. so now you could read
 all new and old files encoded with different encoder and different format
 (for the aac part). This is possible since the libfaad2 allow to read old
 aac ADTS format.
_____________________
"America's Newest Pastime: Meeting RPM Dependencies.
Use Debian."
 
Old 05-05-2005, 10:09 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
That would be just showing you it is available this would show you whether you have it installed if not the install it with apt-get install xmms-mp4.

Code:
>$ apt-cache policy xmms-mp4
xmms-mp4:
  Installed: 2.0.0-0.5
  Candidate: 2.0.0-0.5
  Version Table:
 *** 2.0.0-0.5 0
        600 ftp://ftp.nerim.net unstable/main Packages
        100 /var/lib/dpkg/status
 
Old 05-05-2005, 11:09 PM   #5
WindowsVeteran
LQ Newbie
 
Registered: Mar 2004
Location: The Noth suburbs of Chicago
Distribution: Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Got this out:
Code:
cmlewis@ubuntu:~$ sudo apt-get install xmms-mp4
Reading package lists... Done
Building dependency tree... Done
xmms-mp4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
cmlewis@ubuntu:~$ apt-cache policy xmms-mp4
xmms-mp4:
  Installed: 2.0.0-0.5
  Candidate: 2.0.0-0.5
  Version table:
 *** 2.0.0-0.5 0
        500 ftp://ftp.nerim.net unstable/main Packages
        100 /var/lib/dpkg/status
     2.0.0-0.3 0
        500 http://archive.ubuntu.com hoary/multiverse Packages
     2.0.0-0woody0.5 0
        500 ftp://ftp.nerim.net stable/main Packages
     2.0.0-0sarge0.5 0
        500 ftp://ftp.nerim.net testing/main Packages
cmlewis@ubuntu:~$
___________
I'm out of sarcastic and witty comments. Would you settle for a knock knock joke?
 
Old 05-06-2005, 12:29 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Have you went into the configuration for the plugins in XMMS and made sure that the mp4 pluginn is enabled then??
 
Old 05-06-2005, 07:36 PM   #7
WindowsVeteran
LQ Newbie
 
Registered: Mar 2004
Location: The Noth suburbs of Chicago
Distribution: Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
I did not see the mp4 plugin in the list.

...meaning

I can't enable it unless it's there.
 
Old 05-06-2005, 07:52 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Quote:
Originally posted by WindowsVeteran
I did not see the mp4 plugin in the list.

...meaning

I can't enable it unless it's there.
Well you have something strange going on there then, it shows up fine here.

Code:
>$ dpkg -L xmms-mp4
/.
/usr
/usr/lib
/usr/lib/xmms
/usr/lib/xmms/Input
/usr/lib/xmms/Input/libmp4.so
/usr/share
/usr/share/doc
/usr/share/doc/xmms-mp4
/usr/share/doc/xmms-mp4/copyright
/usr/share/doc/xmms-mp4/changelog.gz
/usr/share/doc/xmms-mp4/changelog.Debian.gz
So do you get the same when you do the above command and just to be sure you are looking in the Audio I/O Plugins in the Preferences right?
 
Old 05-06-2005, 10:17 PM   #9
WindowsVeteran
LQ Newbie
 
Registered: Mar 2004
Location: The Noth suburbs of Chicago
Distribution: Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Yes, that code shows up, and all the plugins that are avilable in XMMS are enabled (mp4 is not one of them)

I tried to upload a screenshot...didn't work.

Last edited by WindowsVeteran; 05-06-2005 at 10:20 PM.
 
Old 05-29-2005, 05:47 AM   #10
Robin Shannon
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
same thing

Hey,

i'm having the exact same prob (also using ubuntu). I have the mp4 plugin, but it isnt showing up in xmms' preferences thingo. I dont particualy mind since i dont use xmms as my main music player, i was just trying it out since gtkpod uses it to play songs. But since i still haven't managed to get gtkpod to accept importing AAC/MP4s, fixing xmms isnt very high on my list of things to do.

paz y amor,
-rjs.
 
Old 05-29-2005, 06:39 AM   #11
EliasAlucard
Member
 
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82

Rep: Reputation: 15
Why isn't the xmms-aac/mp4 plugin installed with the OS? I've used Xandros 3, and there were no aac plugin from the get-go.
 
Old 05-29-2005, 08:23 AM   #12
Robin Shannon
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
because ubuntu is debian-based and share's debian's philosophy that free (libre) is good, so only ogg and the like come standard. Unfortunatley i was stupid enough to waste $200 on an iPod which cant play oggs (its a shuffle so i cant put linux on it to get around that).

paz y amor,
-rjs.
 
Old 05-29-2005, 08:35 AM   #13
EliasAlucard
Member
 
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82

Rep: Reputation: 15
Quote:
Originally posted by Robin Shannon
because ubuntu is debian-based and share's debian's philosophy that free (libre) is good, so only ogg and the like come standard. Unfortunatley i was stupid enough to waste $200 on an iPod which cant play oggs (its a shuffle so i cant put linux on it to get around that).
Decoding of MPEG-4 Video/Audio (AAC) is free. Hell, even encoding is free if it's open source (XviD/faad2)

Last edited by EliasAlucard; 05-29-2005 at 08:36 AM.
 
Old 05-29-2005, 08:52 AM   #14
Robin Shannon
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
The codec is not free as in libre/freedom. Ubuntu demands that the codecs that come in a base install be free as in freedom. That doesnt mean they are not still easily avaliable as .debs, just that they dont come pre-installed.

paz y amor,
-rjs.
 
Old 05-29-2005, 08:54 AM   #15
EliasAlucard
Member
 
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82

Rep: Reputation: 15
Quote:
Why isn't the xmms-aac/mp4 plugin installed with the OS? I've used Xandros 3, and there were no aac plugin from the get-go.
Xandros uses proprietary software.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XMMS AAC plugin - can't compile MPEG4IP, missing lid3tag Dag Linux - Software 2 03-02-2007 08:27 PM
Play AAC files with XMMS? Kenji Miyamoto Linux - Software 3 01-02-2005 10:40 PM
XMMS-AAC Not Installing (Fedora Core 3) Kenji Miyamoto Linux - Software 0 01-02-2005 04:42 PM
XMMS and AAC Livewire_T Linux - Software 3 11-20-2004 10:50 PM
xmms + aac (m4a,etc) mrgreenfur Linux - Software 12 09-30-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration