***********************************************************************

NOTE: 

The functionality provided by this package has been integraged into the
mp4mcdec as available via softsync.

If ever possible, please use mp4mcdec instead of this package. It is
most likely that this packeage will not be maintained in the future.

RS 2000-10-12
***********************************************************************




README for
adif2mp4	Converts MPEG-2 AAC ADIF files to MPEG-4 MP4 files
playmp4		AAC decoder that reads MP4 files

Schuyler Quackenbush                    Phone:  (973) 360-8551
Principal Technical Staff Member        FAX:    (973) 360-7111
AT&T Laboratories, Room E133            Email:  srq@research.att.com
180 Park Avenue                         http://www.research.att.com/info/srq
Florham Park, NJ 07932, USA
03/28/2000

To build this program:

1) Get the MPEG-2 AAC decoder from the tecnical report software.
aac/decyymmdd.tar.gz

* If you use MPEG4 tools, get the MPEG-4 multi channel AAC decoder 
aac/mp4mcdecyymmdd_xxxxx.tar.gz instead of decyymmdd.tar.gz  
or use the decoder source in the mp4mcDec directory of the MPEG-4 audio
reference software.

2) Edit as follows:

change line in all.h 
from
extern	int		lpflag[Chans][100];
to
extern  int             *lpflag[Chans];

* If you use MPEG4 tools, add line in interface.h
  "LTP_Profile = 3," 
at right after "SSR_PROFILE = 2,"

3) Get the mp4 library software. The latest software is 
available at
	<ftp://sc29wg11@ftp.fzi.de/systems/mp4/mp4-yyymmdd.tgz>
	(MPEG password)

4) Unpack aacmp4.tgz in a separate directory
5) Copy makefile.lib to the location of the MPEG-2 AAC decoder source
and type "make -f makefile.lib" to build libisoaac.a and then
copy that library to this directory. Edit makefile to set the
variables MP4LIB and AACSRC

* If you use MPEG4 tools, type "make -f makefile_mp4aac.lib". 

6) Type "make" (or gmake) to build adif2mp4 and playmp4

* Only if you deal with AAC LTP bitstream, define "USE_LTP" in makefile.

Contents of aacmp4.tgz:
makefile.lib	makefile for libisoaac.a
makefile_mp4aac.lib makefile for libisoaac.a if MPEG4 decoder is used.
makefile	makefile for adif2mp4 and playmp4

aac.c		part of adif2mp4, interface between main and decoder lib 
adif.h		part of adif2mp4, include file
adif2mp4.c	part of adif2mp4, main routine
adifdec.c	part of adif2mp4, instead of MPEG-2 AAC decoder.c

mp4dec.c	part of playmp4, main routine
playmp4.c	part of playmp4, instead of MPEG-2 AAC decoder.c

