#2018: Should we add faac and faad2 to the book?
---------------------------------------+------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  [EMAIL PROTECTED]
     Type:  task                       |      Status:  new                      
 Priority:  normal                     |   Milestone:  6.2                      
Component:  BOOK                       |     Version:  SVN                      
 Severity:  normal                     |    Keywords:                           
---------------------------------------+------------------------------------
 faac and faad2 are an mp4 encoder and decoder, they are useful for
 creating mp4/m4a files from .wav files. They are listed as optional
 dependencies of a couple of packages in the book. Perhaps they should be
 added to BLFS?

 Some links:

 http://www.audiocoding.com

 http://sourceforge.net/project/showfiles.php?group_id=704

 http://en.wikipedia.org/wiki/Advanced_Audio_Coding

 faac depends on faad2 being installed first. In order for faac to be able
 to encode mp4, faad2 has to be compiled with mp4 support. faad2 needs a
 couple of seds to be able to compile it with gcc4. The full set of
 instructions that works for me is
 {{{
 cd faad2 &&
 sed -i 's/       /\t/' Makefile.am &&
 sed -i 's/NULL/0/' common/mp4v2/{mp4property.h,rtphint.h} &&
 sed -i '/dd(m/ s/^v/static v/' common/mp4ff/mp4ffint.h &&
 autoreconf -vif &&
 ./configure --prefix=/usr --with-mp4v2 &&
 make &&
 make install
 }}}
 For faac it's a bit simpler
 {{{
 cd faac &&
 chmod 755 bootstrap &&
 ./bootstrap &&
 ./configure --prefix=/usr &&
 make &&
 make install
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2018>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to