LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-28-2007, 05:33 PM   #1
J_angel2000
Member
 
Registered: Dec 2003
Location: Madrid, Espaņa/Spain
Distribution: Ubuntu Linux
Posts: 69

Rep: Reputation: 15
AAC unsupported in my ffmpeg


Hi,

I'm a little bit desperate I need to convert a video to a mp4 format with aac but my ffmpeg does not support AAC, how can I solve it? Thanks

I use a Ubuntu Feisty.
 
Old 04-29-2007, 02:59 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Did you try installing faac and faad like I mentioned in your previous thread? "apt-get install faac faad". ffmpeg doesn't do AAC directly, it uses the faac/faad libraries to do the conversions.

If you watch the output whenever you run ffmpeg, it first gives you a long list of "--enable-libxxx" entries. Each of those is a separate external library that the program can call up to process different formats and codecs. You should see "--enable-libfaac" and "--enable-libfaad" somewhere in there. If not (highly unlikely), then your version of ffmpeg can't handle the AAC format and you'll have to get one that does.

Last edited by David the H.; 04-29-2007 at 03:03 AM.
 
Old 04-29-2007, 05:43 PM   #3
J_angel2000
Member
 
Registered: Dec 2003
Location: Madrid, Espaņa/Spain
Distribution: Ubuntu Linux
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by David the H.
Did you try installing faac and faad like I mentioned in your previous thread? "apt-get install faac faad". ffmpeg doesn't do AAC directly, it uses the faac/faad libraries to do the conversions.

If you watch the output whenever you run ffmpeg, it first gives you a long list of "--enable-libxxx" entries. Each of those is a separate external library that the program can call up to process different formats and codecs. You should see "--enable-libfaac" and "--enable-libfaad" somewhere in there. If not (highly unlikely), then your version of ffmpeg can't handle the AAC format and you'll have to get one that does.
Thanks a lot!!

I'm gonna try doing all you've recommended me
 
Old 04-29-2007, 06:21 PM   #4
J_angel2000
Member
 
Registered: Dec 2003
Location: Madrid, Espaņa/Spain
Distribution: Ubuntu Linux
Posts: 69

Original Poster
Rep: Reputation: 15
David, I have downloaded a version of ffmpeg that supports aac. Ok, I configure it. But when I run "make" I get this error message:

"make -C libavcodec all
make[1]: se ingresa al directorio `/home/joseangel/libavcodec'
gcc -O3 -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o /home/joseangel/Desktop/ffmpeg-0.4.9-pre1/libavcodec/common.c
In file included from /home/joseangel/Desktop/ffmpeg-0.4.9-pre1/libavcodec/avcodec.h:14,
from /home/joseangel/Desktop/ffmpeg-0.4.9-pre1/libavcodec/common.c:28:
/home/joseangel/Desktop/ffmpeg-0.4.9-pre1/libavcodec/common.h:67: error: el tipo matriz tiene tipo de elemento incompleto
/home/joseangel/Desktop/ffmpeg-0.4.9-pre1/libavcodec/common.h:71: error: el tipo matriz tiene tipo de elemento incompleto
make[1]: *** [common.o] Error 1
make[1]: se sale del directorio `/home/joseangel/libavcodec'
make: *** [lib] Error 2"

Do you have any idea of what's wrong?
 
Old 04-30-2007, 09:04 AM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
I'm not exactly sure. Compiling from source can be tricky. Also, the Spanish error messages are a little difficult to interpret.

One thing that's necessary is to make sure you also have the development packages for all the libraries you use installed; it won't warn you during the configure stage. The development files, or headers, aren't necessary when running a program, but they are needed when compiling. In this case, you need to have both libavcodec and libavcodec-dev installed on your system before you start. Be sure to do the same for all the other libraries it asks for.

If you still have problems after trying that, I don't know how to help you.

There are probably more convenient options than compiling from source though. I don't know exactly where to direct you for Ubuntu, but I'm sure there are some apt sources out there with precompiled packages you can download. Try searching this forum or asking in the Ubuntu section for more info.

And if you find one, please let me know. I've been considering trying out Kubuntu myself soon and I may be needing it myself.
 
Old 04-30-2007, 12:19 PM   #6
J_angel2000
Member
 
Registered: Dec 2003
Location: Madrid, Espaņa/Spain
Distribution: Ubuntu Linux
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by David the H.
I'm not exactly sure. Compiling from source can be tricky. Also, the Spanish error messages are a little difficult to interpret.

One thing that's necessary is to make sure you also have the development packages for all the libraries you use installed; it won't warn you during the configure stage. The development files, or headers, aren't necessary when running a program, but they are needed when compiling. In this case, you need to have both libavcodec and libavcodec-dev installed on your system before you start. Be sure to do the same for all the other libraries it asks for.

If you still have problems after trying that, I don't know how to help you.

There are probably more convenient options than compiling from source though. I don't know exactly where to direct you for Ubuntu, but I'm sure there are some apt sources out there with precompiled packages you can download. Try searching this forum or asking in the Ubuntu section for more info.

And if you find one, please let me know. I've been considering trying out Kubuntu myself soon and I may be needing it myself.
Ok, thanks David, I think it's gonna be hard lol
 
  


Reply



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
AAC for xmms hosler Slackware 1 02-21-2006 02:07 PM
aac/m4a support for JUK / decent aac music players reformedgeek Linux - Newbie 1 04-23-2005 02:52 PM
.aac? NoBSOD2292 Linux - Software 1 02-25-2005 08:50 PM
XMMS and AAC Livewire_T Linux - Software 3 11-20-2004 10:50 PM
aac encoder. demmylls Linux - General 1 09-02-2004 02:02 AM

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

All times are GMT -5. The time now is 10:46 AM.

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