mp32dao documentation
Prev | Chapter 3. Installation | Next

# Compiling and installing

If you have SWIG, libpthread, libmpeg3 and libsndfile already installed you may use internal mp3 decoding module. Otherwise you must have an external mp3 decoding software available. There are no particular differences, but internal decoding gives a better feeling :-)).

## Internal Decoding

Edit the supplied `Makefile` to fit your system's configuration. Then type `make` and `make install`.

## External Decoding

You must have an external command-line mp3 decoder installed. Then edit `mp32dao.pl`, find the line `my $external_mp3decoder = 'lame --decode --mp3input';` and change the programname and options to suit your needs. Please note that the external program must take a command-line like this `programname [OPTIONS] input.mp3 output.wav` to work with mp32dao. You can leave mp32dao anywhere you like but take care that `mp3handler.pm` is in its same directory or somewhere in the perl search path.

Prev | Home | Next
Installation | Up | Usage