|
|
|
Audio Extraction ::
Linux ::
|
|
| |
Compile and Install Libraries - Linux
The next step is to compile and install the necessary libraries. (NOTE: These instructions may not be perfect. I couldn't get everything to work, so I had Jon come in to fix things. This is my best recollection of what he did to get things to work.)
- Open a Terminal window. Enter the following commands, shown in bold.
- cd /home/davidwoods/Transana/transana_ffmpeg
- Install LAME:
cd
lame-3.96.1
./configure --prefix=/home/davidwoods/Transana/transana_libs --disable-shared --enable-static
make
make install
cd ..
- Install zlib:
cd zlib-1.2.3/
./configure --prefix=/home/davidwoods/Transana/transana_libs
make
make install
cd ..
- Install nasm:
cd nasm-0.98.39/
./configure --prefix=/home/davidwoods/Transana/transana_libs
make
make install
cd ..
On my computer, there was a problem finding nasm later when it was needed. The following command took care of that:
export PATH=$PATH:/home/davidwoods/Transana/transana_libs/bin
- Install faad:
cd faad2-20050513
./configure --prefix=/home/davidwoods/Transana/transana_libs
cd libfaad
make
make install
cd ../..
If you run into problems compiling faad due to problems with the version of the automake file. If this problem arises, try running:
aclocal
followed by:
automake
before the "configure" step above. If you ran a make that failed, it is a good idea to run make clean before running make again.
- Install x264:
cd x264-snapshot-20060822-2245
./configure --prefix=/home/davidwoods/Transana/transana_libs --disable-pthread
make
make install
cd ..
- I needed to update a system variable to get ffmpeg to compile:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: home/davidwoods/Transana/transana_libs/lib
- Install ffmpeg:
cd ffmpeg
./configure --prefix=/home/davidwoods/Transana/transana_libs --enable-faad --enable-mp3lame --enable-x264 --enable-gpl --extra-cflags=-I/home/davidwoods/Transana/transana_libs/include --extra-ldflags=-L/home/davidwoods/Transana/transana_libs/lib --extra-libs=/home/davidwoods/Transana/transana_libs/lib/libfaad.so.0
make
Edit makeaudioextract, adding "-L/home/davidwoods/Transana/transana_libs/lib" in front of the "-lmp3lame" parameter. (This might not be necessary because of the LD_LIBRARY_PATH set above. I don't know.)
./makeaudioextract
cd ..
There should now be an executable file named "audioextract" in the /home/davidwoods/Transana/ffmpeg directory.
Copy that file to your Transana source directory.
|
|
|