Qualitative analysis software for video and audio data  
Developed at the University of Wisconsin-Madison Center for Education Research  

Audio Extraction ::
  Linux ::

  Introduction
  Download Files
  
Compile audioextract
  
  

 
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.)

  1. Open a Terminal window. Enter the following commands, shown in bold.

  2. cd /home/davidwoods/Transana/transana_ffmpeg

  3. Install LAME:

    cd lame-3.96.1

    ./configure --prefix=/home/davidwoods/Transana/transana_libs --disable-shared --enable-static

    make

    make install

    cd ..

  4. Install zlib:

    cd zlib-1.2.3/

    ./configure --prefix=/home/davidwoods/Transana/transana_libs

    make

    make install

    cd ..

  5. 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

  6. 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.

  7. Install x264:

    cd x264-snapshot-20060822-2245

    ./configure --prefix=/home/davidwoods/Transana/transana_libs --disable-pthread

    make

    make install

    cd ..

  8. 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

  9. 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.