There was a problem loading the comments.

How to install the transcoding tools on SUSE (openSUSE, SLES)?

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

Editions: Light, Community, Professional, Enterprise, Ultimate, Corporate
Versions: all



SUSE uses the package manager yast2. If the needed software packages cannot be found, take a look at the following link to get a list of existing repositories for SuSE Linux and how to embed them: Package repositories

Start with the installation in folder usr/src:

cd /usr/src


Let's install some basic packages. Existing packages will be updated or ignored:

yast2 -i joe make automake g++ bzip2 python unzip patch subversion ruby ffmpeg


Installation of the codecs:

yast2 -i zlib-devel libgsm-devel libtheora-devel libvorbis-devel speex-devel libxvidcore-devel libfaad-devel libfaac-devel


Installation of the MPlayer codecs:

ATTENTION: on 32-bit systems we install the codecs like this:

tar xvjf essential-20071007.tar.bz2
mkdir /usr/local/lib/codecs
cp -Rvp essential-20071007/* /usr/local/lib/codecs/

ATTENTION: on 64-bit systems we install the codecs like that:

tar xvjf essential-amd64-20071007.tar.bz2
mkdir /usr/local/lib/codecs
cp -Rvp essential-amd64-20071007/* /usr/local/lib/codecs/

On both systems the search path has to be extended in /etc/

joe /etc/

Check if the following lines exist. If not, add them:



Installation of the libjpeg libraries for jpeg output:

yast2 -i libjpeg libjpeg-devel


Next, let's install yasm to be able to compile x264:

tar xvzf yasm-0.7.2.tar.gz
cd yasm-0.7.2
make && make install
cd ..


And lame for mp3 encoding:

tar xvzf lame-398-2.tar.gz
cd lame-398-2
make && make install
cd ..


Now it's time to install the x264 codec:

tar xvjf x264-snapshot-20080731-2245.tar.bz2
cd x264-snapshot-20080731-2245
./configure --enable-shared
make && make install
cd ..


3gp support for mobile phone videos:

bzip2 -d amrnb-
bzip2 -d amrwb-
tar xvf amrnb-
tar xvf amrwb-
cd amrnb-
make && make install
cd ..
cd amrwb-
make && make install
cd ..


After this preparation we install MPlayer with mencoder:

tar xvjf MPlayer-1.0rc2.tar.bz2
cd MPlayer-1.0rc2
make && make install
cd ..


Attention: If the following output appears after the make command

vo_ivtv.c: In function âivtv_resetâ:
vo_ivtv.c:79: error: storage size of âsdâ isnât known
vo_ivtv.c:80: error: storage size of âsd1â isnât known
vo_ivtv.c:84: error: âIVTV_STOP_FL_HIDE_FRAMEâ undeclared (first use in this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: âIVTV_IOC_STOP_DECODEâ undeclared (first use in this function)
vo_ivtv.c:97: error: âIVTV_IOC_START_DECODEâ undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable âsd1â
vo_ivtv.c:79: warning: unused variable âsdâ
make[1]: *** [vo_ivtv.o] Fehler 1
make[1]: Leaving directory `/usr/src/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] Fehler 2

...then do the following modification in file "configure" in the MPlayer folder:

joe configure

Search for line


and replace it with


Save the file and enter the following command at the prompt:

./configure [&][&] make [&][&] make install


... and check, if everything works. Therefore check if mencoder is linked correctly:

ldd /usr/local/bin/mencoder | grep x264
ldd /usr/local/bin/mencoder | grep lame
ldd /usr/local/bin/mencoder | grep jpeg

The command line output should look like this:

web1:~# ldd /usr/local/bin/mencoder | grep x264 => /usr/local/lib/ (0xb7f18000)
web1:~# ldd /usr/local/bin/mencoder | grep lame => /usr/local/lib/ (0xb7e75000)
web1:~# ldd /usr/local/bin/mencoder | grep jpeg => /usr/lib/ (0xb7e55000)


At last we install flvtool2 in order to be able to extract the meta data of the .flv files:

tar xzf flvtool2-1.0.6.tgz
cd flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd ..



Now it's time to install the hosting for VIMP.

Share via

Related Articles