How to get Easytag with MP4/AAC support
This didn't work for me on Breezy AMD64, but it might work in a 32-bit environment, although I couldn't get it to work in my chroot. Hopefully someone will find this useful.
Okay, so we're going to compile Easytag from source. But Easytag requires mpeg4ip, which requires x264, which requires yasm. To compile anything, you need:
sudo apt-get install automake build-essential fakeroot libtool wget
Usually, when compiling, things go wrong during the ./configure and make steps. ./configure will usually terminate with a message explaining what you have to do before you can compile. make will usually terminate with pretty opaque error messages. If you get any errors, post them here!
Now, starting from the top:
- Get yasm (http://www.tortall.net/projects/yasm/)). Check for newer versions of yasm at http://www.tortall.net/projects/yasm/wiki/Download
To get the latest yasm version as of 30 Dec 2005:
wget http://www.tortall.net/projects/yasm/releases/yasm-0.4.0.tar.gz
tar -xvvf yasm-0.4.0.tar.gz
cd yasm-0.4.0
Compile it:
./configure
make
sudo make install
- Get x264 (http://developers.videolan.org/x264.html)). Check for newer versions of x264 at ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
If you have subversion installed (sudo apt-get install subversion), this is very easy:
svn co svn://svn.videolan.org/x264/trunk x264
cd x264
Otherwise, to get the latest yasm version as of 30 Dec 2005:
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20051230-2245.tar.bz2
tar -xjvf x264-snapshot-20051230-2245.tar.bz2
cd x264-snapshot-20051230-2245
Compile it:
./configure
make
sudo make install
- Get mpeg4ip (http://www.mpeg4ip.net/)). Check for newer versions of mpeg4ip at http://mpeg4ip.sourceforge.net/downloads/index.php
To get the latest yasm version as of 30 Dec 2005:
wget http://prdownloads.sourceforge.net/mpeg4ip/mpeg4ip-1.4.1.tar.gz
tar -xvvf mpeg4ip-1.4.1.tar.gz
cd mpeg4ip-1.4.1
Before you can compile it and Easytag, you need a lot of development headers. Get those now:
sudo apt-get install libavcodec-dev libfaac-dev libflac-dev libid3-3.8.3-dev
liblame-dev libmp4v2-dev libogg-dev libsdl1.2-dev libvorbis-dev libxvidcore4-dev
You probably don't want all of mpeg4ip, especially mp4live. To learn more about mp4live and to decide whether you want it or not, visit http://mpeg4ip.sourceforge.net/documentation/index.php?readme=mp4live. To get rid of it, just add the following parameter to the first line below:
./bootstrap --disable-mp4live
Compile it:
./bootstrap
make
sudo make install
I get the following error after ./bootstrap:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(utils.o): relocation R_X86_64_32 against `first_avcodec' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [ffmpeg_audio_plugin.la] Error 1
make[5]: Leaving directory `/home/james/mpeg4ip-1.4.1/player/plugin/audio/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/james/mpeg4ip-1.4.1/player/plugin/audio'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/james/mpeg4ip-1.4.1/player/plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/james/mpeg4ip-1.4.1/player'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/james/mpeg4ip-1.4.1'
make: *** [all] Error 2
- Get Easytag (http://easytag.sourceforge.net)). Check for newer versions of Easytag at http://sourceforge.net/project/showfiles.php?group_id=5216
Download the source .bz2. As of 30 Dec 2005, that's easytag-1.99.11.tar.bz2
(Open a terminal)
(Browse to the directory to which you saved the source .bz2)
tar -xjvf easytag-1.99.11.tar.bz2
cd easytag-1.99.11
Compile it:
./configure
make
sudo make install
Done! Now you can remove all the downloaded files and the extracted directories.