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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-05-2005, 08:09 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: United States
Distribution: Debian
Posts: 19
Rep:
|
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. 
|
|
|
05-05-2005, 08:21 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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.
|
|
|
05-05-2005, 09:53 PM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: United States
Distribution: Debian
Posts: 19
Original Poster
Rep:
|
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."
|
|
|
05-05-2005, 10:09 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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
|
|
|
05-05-2005, 11:09 PM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: United States
Distribution: Debian
Posts: 19
Original Poster
Rep:
|
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?
|
|
|
05-06-2005, 12:29 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Have you went into the configuration for the plugins in XMMS and made sure that the mp4 pluginn is enabled then??
|
|
|
05-06-2005, 07:36 PM
|
#7
|
LQ Newbie
Registered: Mar 2004
Location: United States
Distribution: Debian
Posts: 19
Original Poster
Rep:
|
I did not see the mp4 plugin in the list.
...meaning
I can't enable it unless it's there. 
|
|
|
05-06-2005, 07:52 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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?
|
|
|
05-06-2005, 10:17 PM
|
#9
|
LQ Newbie
Registered: Mar 2004
Location: United States
Distribution: Debian
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
05-29-2005, 05:47 AM
|
#10
|
LQ Newbie
Registered: May 2005
Distribution: Ubuntu
Posts: 6
Rep:
|
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.
|
|
|
05-29-2005, 06:39 AM
|
#11
|
Member
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82
Rep:
|
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.
|
|
|
05-29-2005, 08:23 AM
|
#12
|
LQ Newbie
Registered: May 2005
Distribution: Ubuntu
Posts: 6
Rep:
|
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.
|
|
|
05-29-2005, 08:35 AM
|
#13
|
Member
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82
Rep:
|
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.
|
|
|
05-29-2005, 08:52 AM
|
#14
|
LQ Newbie
Registered: May 2005
Distribution: Ubuntu
Posts: 6
Rep:
|
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.
|
|
|
05-29-2005, 08:54 AM
|
#15
|
Member
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|