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
yast2 -i joe make automake g++ bzip2 python unzip patch subversion ruby ffmpeg
yast2 -i zlib-devel libgsm-devel libtheora-devel libvorbis-devel speex-devel libxvidcore-devel libfaad-devel libfaac-devel
ATTENTION: on 32-bit systems we install the codecs like this:
wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
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:
wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20071007.tar.bz2
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/ld.so.conf:
joe /etc/ld.so.conf
Check if the following lines exist. If not, add them:
/usr/lib /usr/local/lib
yast2 -i libjpeg libjpeg-devel
wget http://www.tortall.net/projects/yasm/releases/yasm-0.7.2.tar.gz
tar xvzf yasm-0.7.2.tar.gz
cd yasm-0.7.2
./configure
make && make install
cd ..
wget http://ovh.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz
tar xvzf lame-398-2.tar.gz
cd lame-398-2
./configure
make && make install
ldconfig
cd ..
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20080731-2245.tar.bz2
tar xvjf x264-snapshot-20080731-2245.tar.bz2
cd x264-snapshot-20080731-2245
./configure --enable-shared
make && make install
ldconfig
cd ..
wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.1.tar.bz2
wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.2.tar.bz2
bzip2 -d amrnb-7.0.0.1.tar.bz2
bzip2 -d amrwb-7.0.0.2.tar.bz2
tar xvf amrnb-7.0.0.1.tar
tar xvf amrwb-7.0.0.2.tar
cd amrnb-7.0.0.1
./configure
make && make install
cd ..
cd amrwb-7.0.0.2
./configure
make && make install
ldconfig
cd ..
wget http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
tar xvjf MPlayer-1.0rc2.tar.bz2
cd MPlayer-1.0rc2
./configure
make && make install
cd ..
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
_ivtv=auto
and replace it with
_ivtv=no
Save the file and enter the following command at the prompt:
./configure [&][&] make [&][&] make install
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 libx264.so.60 => /usr/local/lib/libx264.so.60 (0xb7f18000) web1:~# ldd /usr/local/bin/mencoder | grep lame libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0xb7e75000) web1:~# ldd /usr/local/bin/mencoder | grep jpeg libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7e55000)
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
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.