Installing Avidemux
1.Mandatory packages
You will need a unix based machine, preferably x86. It also works to some extend on Sparc and MacOsX and Windows (mingw needed)
| Package |
Comment |
| Gtk+ and glib 2.x |
and pkg-config (correctly configured pkg-config !) |
| libmad |
it is optional but believe me, you want it! |
| libxml2 |
Used for filter descriptions and ~/.avidemuxrc |
| nasm (for x86) |
If you do VCD/SVCD/... on x86 you want it ! (5 x faster) |
You will also need automake, autoconf and autotools with recent versions. Of course if you are using a rpm/deb based distro you need the -dev packages also.
2.Optional Packages
Audio packages
Video packages
Warning: Avidemux2 will be statically linked to 0.9 OR 1.x |
Misc packages
3.Installation
It is rather straightforward.
Make -f Makefile.dist
./configure
Take extra care at the end where a recap of what has been detected appears
.For me it looks like this:
Code listing 3.1 |
nasm found : /usr/bin/nasm
MMX is ON
cpu done
GTK+ version : 2.2.4
Divx5.0.5 ? : yes
*** DISABLED ***
Xvid Codec : yes
Mad decoder : yes
OSS : yes
ALSA : yes
Xvideo : yes
Lame : yes
Ogg Vorbis : yes
A52/AC3 : yes
FFMPEG : yes
ARTS : yes
FreeType : yes
XML2 : yes
Toolame : /usr/local/bin/toolame
Lame : /usr/bin/lame
locale : ${prefix}/share/locale
Little endian cpu : yes
|
If you think something is missing, check that you have also installed the -dev package.
Configure will also build lavcodec library.
When configure is done, make then make install .
There is a pack of translations (a beginning of start of internationalisation) also installed.
4.Common install problems
Compilation fails
It fails saying cannot open gtkxxx. Usually it means pkg-config/gtk+/glib is not installed or configured
It fails at link, with jpeg mmx
Look at /usr/lib/liblavjpeg.la (or in /usr/local/lib)
if you find this :
Code listing 4.1 |
dependency_libs=' -L/usr/src/redhat/BUILD/mjpegtools-1.6.0/jpeg-mmx -ljpeg-mmx'
|
change it to
Code listing 4.2 |
dependency_libs=''
|
Thanks Jens for that one that hits a lot RedHat and Suse users.
automake complain or AM_GNU_AS or AM_GNU_GETTEXT error
You need a recent version of automake and autoconf.
For the AM_GNU_GETTEXT, install gettext-dev.
|