[Mp4-tech] [MPEG-4] compiling of AAC encoder and AAC decoder

Andrzej Kaczor andrzejkaczor wp.pl
Tue Jul 6 19:14:46 EDT 2004


Hi all,
I have downloaded the file w6248.zip, w5821.zip, systems.zip and AFsp-v8r0.tar.gz from web-sites. I want to compile
AAC encoder with SBR and AAC decoder with SBR -- all under linux AUROX. First I have compiled AFsp library:
make
Second, I have compiled libisomedia:
make -C /andrzej/systems/mp4_file_format/libisomediafile/linux/libisomediafile
Third, I have compiled all from w6248.zip:
./make-all AFSP_INCLUDE_PATH=/andrzej/AFsp-v8r0/include AFSP_LIBRARY_PATH=/andrzej/AFsp-v8r0/lib ISOMP4_PATH=/andrzej/systems/mp4_file_format/libisomediafile ISOMP4_NAME=isomediafile
It was properly compilated except three points: 
First error:
gmake[1]: Opuszczam katalog `/andrzej/audio_w6248/natural/conf_sbr'
gmake[1]: Wchodzę katalog `/andrzej/audio_w6248/natural/conf_sbr'
***** compiling src/portioConfTool.c ...
src/portioConfTool.c: In function `initio':
src/portioConfTool.c:296: `MP4OpenMovieInPlace' undeclared (first use in this function)
src/portioConfTool.c:296: (Each undeclared identifier is reported only once
src/portioConfTool.c:296: for each function it appears in.)
Second error:
***** force linking
***** linking ../bin/mp4AudVm_Tbt_VmMp4AuDecRewrite/Linux_v2_c1_eptool_sbr_gcc_O0d/mp4audec ...
../obj/mp4AudVm_Tbt_VmMp4AuDecRewrite/Linux_v2_c1_eptool_sbr_gcc_O0d/obj/streamfile_mp4.o(.text+0xb7a): In function `MP4getAccessUnit':
src_mp4/streamfile_mp4.c:389: undefined reference to `MP4TrackReaderGetNextAccessUnitWithPad'
../obj/mp4AudVm_Tbt_VmMp4AuDecRewrite/Linux_v2_c1_eptool_sbr_gcc_O0d/obj/streamfile_mp4.o(.text+0x1225): In function `MP4putAccessUnit':
src_mp4/streamfile_mp4.c:536: undefined reference to `MP4AddMediaSamplesPad'
collect2: ld returned 1 exit status
Third error:
gmake[1]: Opuszczam katalog `/andrzej/audio_w6248/natural/mp4mcDec'
gmake[1]: Wchodzę katalog `/andrzej/audio_w6248/natural/mp4mcDec'
***** compiling src/portio.c ...
src/portio.c: In function `initio':
src/portio.c:383: `MP4OpenMovieInPlace' undeclared (first use in this function)
src/portio.c:383: (Each undeclared identifier is reported only once
src/portio.c:383: for each function it appears in.)
Later, I have encoded WAV-file using multichannel encoder (AAC Main):
/andrzej/audio_w6248/natural/bin/mp4mcEnc/Linux_sbr_gcc_O0d/enc 48000_original.wav      -r 64000        -c "-main"     -o 48000_main.raw      -d 1
At the end, I have decoded RAW-file using multichannel decoder:
aacdec_mc    -s 48000     -Dn      -p Main     48000_main.raw    48000_main.wav
debug option n enabled
block 817  AFfWriteData - Output data clipped
block 3693  AFclose - 381 data values clipped
getbyte: End of Bitstream
The original WAV-file is:
http://helios.et.put.poznan.pl/~akaczor/wav/48000_original.wav
The decoded WAV-file (after encoding-decoding process) is:
http://helios.et.put.poznan.pl/~akaczor/wav/48000_main.wav
*************************************************************
Anybody knows why 48000_main.wav sounds unproperly?
Why was clipped? How can I avoid errors during compiling?
Where is "#define MP4OpenMovieInPlace xxxxxxxxx"?
In the Conclusion to this mail, I couldn't properly compile:
/andrzej/audio_w6248/natural/conf_sbr
/andrzej/audio_w6248/natural/mp4AudVm_Rewrite
/andrzej/audio_w6248/natural/mp4mcDec
Best Regards,
Andrzej Kaczor (Poland)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20040706/f78357c1/attachment.html


More information about the Mp4-tech mailing list