|
|
|
Audio Extraction ::
Mac ::
|
|
| |
Compile and Install Libraries - Mac
The next step is to compile and install the necessary libraries.
- Open a Terminal window. Enter the following commands, shown in bold.
- cd /Applications/Transana_2/transana_ffmpeg
- Install LAME:
cd
lame-3.96.1
./configure --prefix=/Applications/Transana_2/transana_libs --disable-shared --enable-static
make
make install
cd ..
- Install zlib:
cd zlib-1.2.3/
./configure --prefix=/Applications/Transana_2/transana_libs
make
make install
cd ..
- Install faad:
cd faad2-20050513
./configure --prefix=/Applications/Transana_2/transana_libs
cd libfaad
If you are on an Intel-based Mac, you need to open the file "common.h" and edit the file. When you run Make, you will get an error message giving you the line number (for me it was 361) telling you where to edit. Comment out the second definition for lrintf, in the #elif clause.
make
make install
cd ../..
- Install x264:
cd x264-snapshot-20060822-2245
./configure --prefix=/Applications/Transana_2/transana_libs
make
make install
cd ..
- Install ffmpeg:
cd ffmpeg
./configure --prefix=/Applications/Transana_2/transana_libs --enable-faad --enable-mp3lame --enable-x264 --enable-gpl --extra-cflags=-I/Applications/Transana_2/transana_libs/include --extra-ldflags=-L/Applications/Transana_2/transana_libs/lib
make
./makeaudioextract
If you are on an Intel-based Mac, you may get an error message saying that makeaudioextract can't find LAME. If so, edit makeaudioextract, adding "-L/Applications/Transana_2/transana_libs/lib" in front of the "-lmp3lame" parameter.
cd ..
There should now be an executable file named "audioextract" in the /Applications/Transana_2/ffmpeg directory.
Copy that file to your Transana source directory. If you plan to build an application bundle, you will also need to make a copy of it named "audioextract PPC" or "audioextract Intel", depending on your processor type.
|
|
|