PDA

View Full Version : Victory for AAC Rendering on SqueezeBox from Linux...



Andrew W. Donoho
2004-03-02, 22:00
Folks,

I want to report success getting AAC files to play on SqueezeBox at
high fidelity. (My previous posts on this area exposed a bug in the
codec that induced a hiss into the PCM stream and required a LAME work
around.) It now sounds as good from Linux into my Edirol Powered
Digital Monitors as either the Mac or Windows based QuickTime code
(mov123). Cudos to the team at AudioCoding.com, who host the FAAD2
decoder (Congrats Menno and Ivan!), who tracked down the bugs in the
decoder and fixed them. You PC folks may wish to consider their PC
encoder/CD/decoder products at Nero.com.

Now for the details to install on Linux (they are substantially similar
for Mac OS X but unnecessary there):

Using BASH to get the code while it is still in CVS before the next
interim release:

CVSROOT=:pserver:anonymous (AT) cvs (DOT) audiocoding.com:/cvsroot/faac
export CVSROOT
cvs login

(Hit return when asked for a password)

cvs co faad2
cd faad2
autoreconf -vif
../configure --with-mp4v2
make
sudo make install


Now edit convert.conf. Find the comment listed below and comment out
the mov -> aif commands (by prepending them with a #). Then add the
last two lines below. (As a retired Mac OS 7 programmer, I wouldn't
know how to make a patch. Perhaps, someone could help me here?):

## you can comment this out if you want to use LAME to transcode
AAC/MOV files to MP3.
#mov aif squeezebox *
# $mov123$ $FILE$

mov wav squeezebox *
$faad$ -w -f 2 $FILE$


Enjoy,
Andrew

____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)

kdf
2004-03-03, 02:21
cool! Just as a side note, you can put those new lines in
slimserver-convert.conf and it will be loaded by slimserver, without being
overwritten if you upgrade.

-kdf


Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:

> Folks,
>
> I want to report success getting AAC files to play on SqueezeBox at
> high fidelity. (My previous posts on this area exposed a bug in the
> codec that induced a hiss into the PCM stream and required a LAME work
> around.) It now sounds as good from Linux into my Edirol Powered
> Digital Monitors as either the Mac or Windows based QuickTime code
> (mov123). Cudos to the team at AudioCoding.com, who host the FAAD2
> decoder (Congrats Menno and Ivan!), who tracked down the bugs in the
> decoder and fixed them. You PC folks may wish to consider their PC
> encoder/CD/decoder products at Nero.com.
>
> Now for the details to install on Linux (they are substantially similar
> for Mac OS X but unnecessary there):
>
> Using BASH to get the code while it is still in CVS before the next
> interim release:
>
> CVSROOT=:pserver:anonymous (AT) cvs (DOT) audiocoding.com:/cvsroot/faac
> export CVSROOT
> cvs login
>
> (Hit return when asked for a password)
>
> cvs co faad2
> cd faad2
> autoreconf -vif
> ./configure --with-mp4v2
> make
> sudo make install
>
>
> Now edit convert.conf. Find the comment listed below and comment out
> the mov -> aif commands (by prepending them with a #). Then add the
> last two lines below. (As a retired Mac OS 7 programmer, I wouldn't
> know how to make a patch. Perhaps, someone could help me here?):
>
> ## you can comment this out if you want to use LAME to transcode
> AAC/MOV files to MP3.
> #mov aif squeezebox *
> # $mov123$ $FILE$
>
> mov wav squeezebox *
> $faad$ -w -f 2 $FILE$
>
>
> Enjoy,
> Andrew
>
> ____________________________________
> Andrew W. Donoho
> awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
> +1 (512) 453-6652 (o), +1 (512) 750-7596 (m)
>
>

Andrew W. Donoho
2004-03-03, 07:29
On Mar 3, 2004, at 03:21, kdf wrote:

> cool! Just as a side note, you can put those new lines in
> slimserver-convert.conf and it will be loaded by slimserver, without
> being
> overwritten if you upgrade.

kdf,

Thanks for the tip.

Is there a way to override the mov -> aif lines in the new file? Also,
do I need to have the complete contents of convert.conf in the
slimserver-convert.conf or just the new lines?

Andrew

____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)

kdf
2004-03-03, 10:29
Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:

>
> On Mar 3, 2004, at 03:21, kdf wrote:
>
> > cool! Just as a side note, you can put those new lines in
> > slimserver-convert.conf and it will be loaded by slimserver, without
> > being
> > overwritten if you upgrade.
>
> kdf,
>
> Thanks for the tip.
>
> Is there a way to override the mov -> aif lines in the new file? Also,
> do I need to have the complete contents of convert.conf in the
> slimserver-convert.conf or just the new lines?

no, just your custom lines, and I believe it should override what there is in
convert.conf so you couldn't need to delete a line that you have changed.
You'll have to try that to make sure, tho. I could be wrong, but that is the
way it 'should' work.

-kdf

kdf
2004-03-06, 01:36
Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:

> Folks,
>
> I want to report success getting AAC files to play on SqueezeBox at
> high fidelity. (My previous posts on this area exposed a bug in the
> codec that induced a hiss into the PCM stream and required a LAME work
> around.) It now sounds as good from Linux into my Edirol Powered
> Digital Monitors as either the Mac or Windows based QuickTime code
> (mov123). Cudos to the team at AudioCoding.com, who host the FAAD2
> decoder (Congrats Menno and Ivan!), who tracked down the bugs in the
> decoder and fixed them. You PC folks may wish to consider their PC
> encoder/CD/decoder products at Nero.com.
>
> Now for the details to install on Linux (they are substantially similar
> for Mac OS X but unnecessary there):
>
> Using BASH to get the code while it is still in CVS before the next
> interim release:
>
> CVSROOT=:pserver:anonymous (AT) cvs (DOT) audiocoding.com:/cvsroot/faac
> export CVSROOT
> cvs login
>
> (Hit return when asked for a password)
>
> cvs co faad2
> cd faad2
> autoreconf -vif
> ./configure --with-mp4v2
> make
> sudo make install
>

I'm not sure what might have changed in the last few days, but doing this
procedure fails. autoconf fails, reporting a number of missing files, configure
fails with 'invalid token faad2'

did your checkout include an INSTALL file? or any config.* files?

-kdf

Andrew W. Donoho
2004-03-06, 23:54
On Mar 6, 2004, at 02:36, kdf wrote:
> Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:
>> Now for the details to install on Linux (they are substantially
>> similar
>> for Mac OS X but unnecessary there):
>>
>> Using BASH to get the code while it is still in CVS before the next
>> interim release:
>>
>> CVSROOT=:pserver:anonymous (AT) cvs (DOT) audiocoding.com:/cvsroot/faac
>> export CVSROOT
>> cvs login
>>
>> (Hit return when asked for a password)
>>
>> cvs co faad2
>> cd faad2
>> autoreconf -vif
>> ./configure --with-mp4v2
>> make
>> sudo make install
>>
>
> I'm not sure what might have changed in the last few days, but doing
> this
> procedure fails. autoconf fails, reporting a number of missing files,
> configure
> fails with 'invalid token faad2'
>
> did your checkout include an INSTALL file? or any config.* files?

It is probably unnecessary to state but you need your developer tools
for your Linux/Unix platform - autoconf, automake and libtools. I am
running on a Redhat 9 system.

Here is my resulting directory after "cvs co faad2"

[awd@B5 faad2]$ ls -l
total 100
drwxrwsr-x 5 awd awd 4096 Mar 7 00:43 aacDECdrop
-rw-rw-r-- 1 awd awd 240 Feb 6 06:47 AUTHORS
-rw-rw-r-- 1 awd awd 224 Oct 5 10:22 bootstrap
-rw-rw-r-- 1 awd awd 98 Feb 26 03:29 ChangeLog
-rw-rw-r-- 1 awd awd 1166 Oct 30 2002 cnv_FAAD.nsi
drwxrwsr-x 9 awd awd 4096 Mar 7 00:44 common
-rw-rw-r-- 1 awd awd 3611 Feb 6 10:04 configure.in
-rw-rw-r-- 1 awd awd 18272 Jul 29 2003 COPYING
drwxrwsr-x 4 awd awd 4096 Mar 7 00:43 CoreAAC
drwxrwsr-x 2 awd awd 4096 Mar 7 00:43 CVS
-rw-rw-r-- 1 awd awd 3476 Feb 6 10:14 faad2.spec.in
drwxrwsr-x 3 awd awd 4096 Mar 7 00:44 frontend
drwxrwsr-x 3 awd awd 4096 Mar 7 00:44 include
-rw-rw-r-- 1 awd awd 714 Feb 8 04:20 in_mpeg4aac.nsi
drwxrwsr-x 5 awd awd 4096 Mar 7 00:44 libfaad
-rw-rw-r-- 1 awd awd 172 Feb 18 03:18 Makefile.am
-rw-rw-r-- 1 awd awd 99 Feb 6 06:47 NEWS
drwxrwsr-x 12 awd awd 4096 Mar 7 00:44 plugins
-rw-rw-r-- 1 awd awd 3602 Feb 6 04:23 README
-rw-rw-r-- 1 awd awd 451 Mar 5 10:03 README.linux
-rw-rw-r-- 1 awd awd 15 Feb 6 04:23 TODO

Here is the output from "autoreconf -vif"

[awd@B5 faad2]$ autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
autoreconf: `aclocal.m4' is created
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: aclocal --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
Makefile.am: installing `./INSTALL'
common/mp4ff/Makefile.am: installing `./depcomp'
plugins/xmms/src/Makefile.am: installing `./compile'
autoreconf: Leaving directory `.'

and the resulting directory listing:

[awd@B5 faad2]$ ls -l
total 928
drwxrwsr-x 5 awd awd 4096 Mar 7 00:43 aacDECdrop
-rw-rw-r-- 1 awd awd 151160 Mar 7 00:46 aclocal.m4
-rw-rw-r-- 1 awd awd 240 Feb 6 06:47 AUTHORS
drwxr-sr-x 2 awd awd 4096 Mar 7 00:46 autom4te.cache
-rw-rw-r-- 1 awd awd 224 Oct 5 10:22 bootstrap
-rw-rw-r-- 1 awd awd 98 Feb 26 03:29 ChangeLog
-rw-rw-r-- 1 awd awd 1166 Oct 30 2002 cnv_FAAD.nsi
drwxrwsr-x 9 awd awd 4096 Mar 7 00:47 common
-rwxr-xr-x 1 awd awd 2774 Mar 7 00:47 compile
-rwxr-xr-x 1 awd awd 38504 Mar 7 00:47 config.guess
-rw-rw-r-- 1 awd awd 2731 Mar 7 00:46 config.h.in
-rwxr-xr-x 1 awd awd 28224 Mar 7 00:47 config.sub
-rwxrwxr-x 1 awd awd 389105 Mar 7 00:46 configure
-rw-rw-r-- 1 awd awd 3611 Feb 6 10:04 configure.in
-rw-r--r-- 1 awd awd 17992 Mar 7 00:47 COPYING
drwxrwsr-x 4 awd awd 4096 Mar 7 00:43 CoreAAC
drwxrwsr-x 2 awd awd 4096 Mar 7 00:43 CVS
-rwxr-xr-x 1 awd awd 12123 Mar 7 00:47 depcomp
-rw-rw-r-- 1 awd awd 3476 Feb 6 10:14 faad2.spec.in
drwxrwsr-x 3 awd awd 4096 Mar 7 00:47 frontend
drwxrwsr-x 3 awd awd 4096 Mar 7 00:44 include
-rw-rw-r-- 1 awd awd 714 Feb 8 04:20 in_mpeg4aac.nsi
-rw-r--r-- 1 awd awd 9236 Mar 7 00:47 INSTALL
-rwxr-xr-x 1 awd awd 5569 Mar 7 00:47 install-sh
drwxrwsr-x 5 awd awd 4096 Mar 7 00:47 libfaad
-rw-r--r-- 1 awd awd 143988 Mar 7 00:46 ltmain.sh
-rw-rw-r-- 1 awd awd 172 Feb 18 03:18 Makefile.am
-rw-rw-r-- 1 awd awd 13977 Mar 7 00:47 Makefile.in
-rwxr-xr-x 1 awd awd 10270 Mar 7 00:47 missing
-rwxr-xr-x 1 awd awd 1801 Mar 7 00:47 mkinstalldirs
-rw-rw-r-- 1 awd awd 99 Feb 6 06:47 NEWS
drwxrwsr-x 12 awd awd 4096 Mar 7 00:47 plugins
-rw-rw-r-- 1 awd awd 3602 Feb 6 04:23 README
-rw-rw-r-- 1 awd awd 451 Mar 5 10:03 README.linux
-rw-rw-r-- 1 awd awd 15 Feb 6 04:23 TODO

Here is the result of "./configure --with-mp4v2"

[awd@B5 faad2]$ ./configure --with-mp4v2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for rpmbuild... rpmbuild
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking mathf.h usability... no
checking mathf.h presence... no
checking for mathf.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for strchr... yes
checking for memcpy... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for off_t... yes
checking for float32_t temp... no
checking for strsep... yes
checking for in_port_t temp... yes
checking for socklen_t temp... yes
checking for fpos_t foo; foo.__pos = 0;... yes
checking for MP4Create in -lmp4v2... yes
checking for MP4MetadataDelete in -lmp4v2... yes
checking mp4.h usability... no
checking mp4.h presence... no
checking for mp4.h... no
configure: *** Building with internal mp4v2 ***
configure: no xmms build configured
configure: creating ./config.status
config.status: creating libfaad/Makefile
config.status: creating frontend/Makefile
config.status: creating common/Makefile
config.status: creating plugins/Makefile
config.status: creating Makefile
config.status: creating plugins/mpeg4ip/Makefile
config.status: creating common/mp4ff/Makefile
config.status: creating common/mp4v2/Makefile
config.status: creating faad2.spec
config.status: creating config.h
config.status: executing depfiles commands

and here if the listing:

[awd@B5 faad2]$ ls -l
total 1188
drwxrwsr-x 5 awd awd 4096 Mar 7 00:43 aacDECdrop
-rw-rw-r-- 1 awd awd 151160 Mar 7 00:46 aclocal.m4
-rw-rw-r-- 1 awd awd 240 Feb 6 06:47 AUTHORS
drwxr-sr-x 2 awd awd 4096 Mar 7 00:46 autom4te.cache
-rw-rw-r-- 1 awd awd 224 Oct 5 10:22 bootstrap
-rw-rw-r-- 1 awd awd 98 Feb 26 03:29 ChangeLog
-rw-rw-r-- 1 awd awd 1166 Oct 30 2002 cnv_FAAD.nsi
drwxrwsr-x 9 awd awd 4096 Mar 7 00:49 common
-rwxr-xr-x 1 awd awd 2774 Mar 7 00:47 compile
-rwxr-xr-x 1 awd awd 38504 Mar 7 00:47 config.guess
-rw-rw-r-- 1 awd awd 2908 Mar 7 00:49 config.h
-rw-rw-r-- 1 awd awd 2731 Mar 7 00:46 config.h.in
-rw-rw-r-- 1 awd awd 36099 Mar 7 00:49 config.log
-rwxrwxr-x 1 awd awd 36960 Mar 7 00:49 config.status
-rwxr-xr-x 1 awd awd 28224 Mar 7 00:47 config.sub
-rwxrwxr-x 1 awd awd 389105 Mar 7 00:46 configure
-rw-rw-r-- 1 awd awd 3611 Feb 6 10:04 configure.in
-rw-r--r-- 1 awd awd 17992 Mar 7 00:47 COPYING
drwxrwsr-x 4 awd awd 4096 Mar 7 00:43 CoreAAC
drwxrwsr-x 2 awd awd 4096 Mar 7 00:43 CVS
-rwxr-xr-x 1 awd awd 12123 Mar 7 00:47 depcomp
-rw-rw-r-- 1 awd awd 3470 Mar 7 00:49 faad2.spec
-rw-rw-r-- 1 awd awd 3476 Feb 6 10:14 faad2.spec.in
drwxrwsr-x 4 awd awd 4096 Mar 7 00:49 frontend
drwxrwsr-x 3 awd awd 4096 Mar 7 00:44 include
-rw-rw-r-- 1 awd awd 714 Feb 8 04:20 in_mpeg4aac.nsi
-rw-r--r-- 1 awd awd 9236 Mar 7 00:47 INSTALL
-rwxr-xr-x 1 awd awd 5569 Mar 7 00:47 install-sh
drwxrwsr-x 6 awd awd 4096 Mar 7 00:49 libfaad
-rwxrwxr-x 1 awd awd 152854 Mar 7 00:49 libtool
-rw-r--r-- 1 awd awd 143988 Mar 7 00:46 ltmain.sh
-rw-rw-r-- 1 awd awd 14097 Mar 7 00:49 Makefile
-rw-rw-r-- 1 awd awd 172 Feb 18 03:18 Makefile.am
-rw-rw-r-- 1 awd awd 13977 Mar 7 00:47 Makefile.in
-rwxr-xr-x 1 awd awd 10270 Mar 7 00:47 missing
-rwxr-xr-x 1 awd awd 1801 Mar 7 00:47 mkinstalldirs
-rw-rw-r-- 1 awd awd 99 Feb 6 06:47 NEWS
drwxrwsr-x 12 awd awd 4096 Mar 7 00:49 plugins
-rw-rw-r-- 1 awd awd 3602 Feb 6 04:23 README
-rw-rw-r-- 1 awd awd 451 Mar 5 10:03 README.linux
-rw-rw-r-- 1 awd awd 23 Mar 7 00:49 stamp-h1
-rw-rw-r-- 1 awd awd 15 Feb 6 04:23 TODO


I hope the above helps.

Andrew

____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)

kdf
2004-03-07, 00:27
Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:

>
> On Mar 6, 2004, at 02:36, kdf wrote:
> > Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:
> >> Now for the details to install on Linux (they are substantially
> >> similar
> >> for Mac OS X but unnecessary there):
> >>
> >> Using BASH to get the code while it is still in CVS before the next
> >> interim release:
> >>
> >> CVSROOT=:pserver:anonymous (AT) cvs (DOT) audiocoding.com:/cvsroot/faac
> >> export CVSROOT
> >> cvs login
> >>
> >> (Hit return when asked for a password)
> >>
> >> cvs co faad2
> >> cd faad2
> >> autoreconf -vif
> >> ./configure --with-mp4v2
> >> make
> >> sudo make install
> >>
> >
> > I'm not sure what might have changed in the last few days, but doing
> > this
> > procedure fails. autoconf fails, reporting a number of missing files,
> > configure
> > fails with 'invalid token faad2'
> >
> > did your checkout include an INSTALL file? or any config.* files?
>
> It is probably unnecessary to state but you need your developer tools
> for your Linux/Unix platform - autoconf, automake and libtools. I am
> running on a Redhat 9 system.
>
I have the dev tools, and I'm running Mandrake 9.2. Its not that I cannot find
autoreconf, its that it wont accept -vif, even after downloading and compiling
the latest version of autoreconf.

> Here is the output from "autoreconf -vif"
>
the rest of what you show makes perfect sense when autoreconf works. what I get
is this:
[fishbone@callisto ~/faad2]# autoreconf -vif
Usage: autoreconf [-f] [-h] [--help] [-m dir] [--macrodir=dir]
[-l dir] [--localdir=dir] [--force] [--verbose] [--version]
[--cygnus] [--foreign] [--gnits] [--gnu] [-i] [--include-deps]
[fishbone@callisto ~/faad2]#

and the version output:
fishbone@callisto ~/faad2]# /usr/local/bin/autoreconf --version
autoreconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[fishbone@callisto ~/faad2]#

thanks for the help. I guess its just the usual pitfalls of library difference.

cheers,
kdf

Andrew W. Donoho
2004-03-07, 09:48
On Mar 7, 2004, at 01:27, kdf wrote:
> Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:
>> On Mar 6, 2004, at 02:36, kdf wrote:
>>> Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:
>>>> Now for the details to install on Linux (they are substantially
>>>> similar
>>>> for Mac OS X but unnecessary there):
>>>>
>>>> Using BASH to get the code while it is still in CVS before the next
>>>> interim release:
>>>>
>>>> CVSROOT=:pserver:anonymous (AT) cvs (DOT) audiocoding.com:/cvsroot/faac
>>>> export CVSROOT
>>>> cvs login
>>>>
>>>> (Hit return when asked for a password)
>>>>
>>>> cvs co faad2
>>>> cd faad2
>>>> autoreconf -vif
>>>> ./configure --with-mp4v2
>>>> make
>>>> sudo make install
>>>>
>>>
>>> I'm not sure what might have changed in the last few days, but doing
>>> this
>>> procedure fails. autoconf fails, reporting a number of missing
>>> files,
>>> configure
>>> fails with 'invalid token faad2'
>>>
>>> did your checkout include an INSTALL file? or any config.* files?
>>
>> It is probably unnecessary to state but you need your developer tools
>> for your Linux/Unix platform - autoconf, automake and libtools. I am
>> running on a Redhat 9 system.
>>
> I have the dev tools, and I'm running Mandrake 9.2. Its not that I
> cannot find
> autoreconf, its that it wont accept -vif, even after downloading and
> compiling
> the latest version of autoreconf.
>
>> Here is the output from "autoreconf -vif"
>>
> the rest of what you show makes perfect sense when autoreconf works.
> what I get
> is this:
> [fishbone@callisto ~/faad2]# autoreconf -vif
> Usage: autoreconf [-f] [-h] [--help] [-m dir] [--macrodir=dir]
> [-l dir] [--localdir=dir] [--force] [--verbose] [--version]
> [--cygnus] [--foreign] [--gnits] [--gnu] [-i] [--include-deps]
> [fishbone@callisto ~/faad2]#


You can dump the -vif and replace it with "--verbose --force -i"


> and the version output:
> fishbone@callisto ~/faad2]# /usr/local/bin/autoreconf --version
> autoreconf (GNU Autoconf) 2.59


[awd@B5 awd]$ autoreconf --version
autoreconf (GNU Autoconf) 2.57

is what I am running.


> thanks for the help. I guess its just the usual pitfalls of library
> difference.

Try changing the options to the above.

Andrew

____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)

kdf
2004-03-07, 13:11
Quoting "Andrew W. Donoho" <awd (AT) ddg (DOT) com>:


> You can dump the -vif and replace it with "--verbose --force -i"

Thanks, tried that out, but its giving me the same response:
[fishbone@callisto ~/faad2]# autoreconf --verbose --force -i
running automake in .
automake: configure.in: required file `./install-sh' not found
automake: configure.in: required file `./mkinstalldirs' not found
automake: configure.in: required file `./missing' not found
automake: libfaad/Makefile.am: not supported: source file `codebook/hcb.h' is in
subdirectory
automake: libfaad/Makefile.am: not supported: source file `codebook/hcb_1.h' is
in subdirectory
automake: libfaad/Makefile.am: not supported: source file `codebook/hcb_2.h' is
in subdirectory
automake: libfaad/Makefile.am: not supported: source file `codebook/hcb_3.h' is
in subdirectory
etc etc...

seems Mandrake has gone and set something up wrong again.
-kdf

Jack Coates
2004-03-07, 15:54
On Sun, 2004-03-07 at 12:11, kdf wrote:


> seems Mandrake has gone and set something up wrong again.
> -kdf

Hm, sorry I wasn't following the conversation as I don't have an AAC
files. I do have a Mandrake 10/Cooker system though -- what's the
package? I might could help figure out how to get a 9.2 or 10 build.
--
Jack at Monkeynoodle Dot Org: It's A Scientific Venture...
************************************************** ********************
* "Home is the place where, when you have to go there, They have to *
* take you in." -- Robert Frost *
************************************************** ********************

kdf
2004-03-07, 22:53
Quoting Jack Coates <jack (AT) monkeynoodle (DOT) org>:

> On Sun, 2004-03-07 at 12:11, kdf wrote:
>
>
> > seems Mandrake has gone and set something up wrong again.
> > -kdf
>
> Hm, sorry I wasn't following the conversation as I don't have an AAC
> files. I do have a Mandrake 10/Cooker system though -- what's the
> package? I might could help figure out how to get a 9.2 or 10 build.

Mandrake 9.2 turns out to be out of date on autoconf and automake, so the
compile fails. You need at automake > 1.6, apparently to get the tarball to
create a makefile for faad2. I ended up borrowing the archive after automake in
order to compile it.

-kdf

Roy M. Silvernail
2004-03-11, 04:43
On Mon, 2004-03-08 at 00:53, kdf wrote:
> Quoting Jack Coates <jack (AT) monkeynoodle (DOT) org>:
>
> > On Sun, 2004-03-07 at 12:11, kdf wrote:
> >
> >
> > > seems Mandrake has gone and set something up wrong again.
> > > -kdf
> >
> > Hm, sorry I wasn't following the conversation as I don't have an AAC
> > files. I do have a Mandrake 10/Cooker system though -- what's the
> > package? I might could help figure out how to get a 9.2 or 10 build.
>
> Mandrake 9.2 turns out to be out of date on autoconf and automake, so the
> compile fails. You need at automake > 1.6, apparently to get the tarball to
> create a makefile for faad2. I ended up borrowing the archive after automake in
> order to compile it.

Did this ever get sorted? I can't get a good autoconf either. Gentoo
recently updated.

roy@mesmer faad2 $ autoconf --version
Autoconf version 2.13
roy@mesmer faad2 $ automake --version
automake (GNU automake) 1.4-p6

Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Written by Tom Tromey <tromey (AT) redhat (DOT) com>

--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

Roy M. Silvernail
2004-03-11, 05:01
On Thu, 2004-03-11 at 06:43, Roy M. Silvernail wrote:
> On Mon, 2004-03-08 at 00:53, kdf wrote:
> > Quoting Jack Coates <jack (AT) monkeynoodle (DOT) org>:
> >
> > > On Sun, 2004-03-07 at 12:11, kdf wrote:
> > >
> > >
> > > > seems Mandrake has gone and set something up wrong again.
> > > > -kdf
> > >
> > > Hm, sorry I wasn't following the conversation as I don't have an AAC
> > > files. I do have a Mandrake 10/Cooker system though -- what's the
> > > package? I might could help figure out how to get a 9.2 or 10 build.
> >
> > Mandrake 9.2 turns out to be out of date on autoconf and automake, so the
> > compile fails. You need at automake > 1.6, apparently to get the tarball to
> > create a makefile for faad2. I ended up borrowing the archive after automake in
> > order to compile it.
>
> Did this ever get sorted? I can't get a good autoconf either. Gentoo
> recently updated.
>
> roy@mesmer faad2 $ autoconf --version
> Autoconf version 2.13
> roy@mesmer faad2 $ automake --version
> automake (GNU automake) 1.4-p6

D'oh! That's not >= 1.6, now is it? Sorry...

--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

kdf
2004-03-11, 07:36
Quoting "Roy M. Silvernail" <roy (AT) rant-central (DOT) com>:

> On Thu, 2004-03-11 at 06:43, Roy M. Silvernail wrote:
> > On Mon, 2004-03-08 at 00:53, kdf wrote:
> > > Quoting Jack Coates <jack (AT) monkeynoodle (DOT) org>:
> > >
> > > > On Sun, 2004-03-07 at 12:11, kdf wrote:
> > > >
> > > >
> > > > > seems Mandrake has gone and set something up wrong again.
> > > > > -kdf
> > > >
> > > > Hm, sorry I wasn't following the conversation as I don't have an AAC
> > > > files. I do have a Mandrake 10/Cooker system though -- what's the
> > > > package? I might could help figure out how to get a 9.2 or 10 build.
> > >
> > > Mandrake 9.2 turns out to be out of date on autoconf and automake, so
> the
> > > compile fails. You need at automake > 1.6, apparently to get the tarball
> to
> > > create a makefile for faad2. I ended up borrowing the archive after
> automake in
> > > order to compile it.
> >
> > Did this ever get sorted? I can't get a good autoconf either. Gentoo
> > recently updated.
> >
> > roy@mesmer faad2 $ autoconf --version
> > Autoconf version 2.13
> > roy@mesmer faad2 $ automake --version
> > automake (GNU automake) 1.4-p6
>
> D'oh! That's not >= 1.6, now is it? Sorry...

I tried this, but mandrake's setup was so messed up, I was never able get past
it. You may have better luck than I. Eventually I had to rely on a copy from
Andrew that was after automake. Let me know if you still have trouble and I can
pass that on to you offlist.

-kdf

Dan Sully
2004-03-11, 09:09
* kdf <slim-mail (AT) deane-freeman (DOT) com> shaped the electrons to say...

>I tried this, but mandrake's setup was so messed up, I was never able get past
>it. You may have better luck than I. Eventually I had to rely on a copy from
>Andrew that was after automake. Let me know if you still have trouble and I can
>pass that on to you offlist.

As an interim solution before packages are available, perhaps someone could
create statically linked binaries that are linux dist independant?

-D
--
dd if=/dev/sarcasm of=/dev/clue

Andrew W. Donoho
2004-03-11, 10:07
On Mar 11, 2004, at 08:09, Dan Sully wrote:

> * kdf <slim-mail (AT) deane-freeman (DOT) com> shaped the electrons to say...
>
>> I tried this, but mandrake's setup was so messed up, I was never able
>> get past
>> it. You may have better luck than I. Eventually I had to rely on a
>> copy from
>> Andrew that was after automake. Let me know if you still have
>> trouble and I can
>> pass that on to you offlist.
>
> As an interim solution before packages are available, perhaps someone
> could
> create statically linked binaries that are linux dist independant?


Dan,

Just as with LAME, because AAC is covered by patents, people prefer to
just supply source code and let the person compiling the code deal with
IP license issues.

Andrew


____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)