Re: DiVX in SuSE

René Matthäi <[email protected]>
Newsgroups gmane.linux.suse.multimedia
Message-ID <[email protected]>
Hi,

webmaster schrieb:
> Why is so complicated play DiVX en SuSE, I already have a Mplayer
> playing DiVX but had to compile again with DiVX codecs and win32
> video libs...   even like that, don't support my subtitles, why is
> that hard?... bsplayer in windows do it same and better with
> subtitles and it's free....     anyone had another solution than
> mplayer and subtitles support?

without maybe being comprehensive nor even complete... The following is
more or less what to to do get a mplayer version vor SuSE 8.1 that is
capable of the most things the standard SUSE version can do and - more
important - play divx etc. videos.

BEFORE I did things like that I always only downloaded the tar-ball,
default skin, default fonts and win32codec from the mplayer homepage and
it worked fine. However, with the SuSE 8.1 I saw that some other things
can be done with mplayer as well, so I made some attempts on it.

Maybe with the following you can get everything from SuSE plus divx and
so on (the really important thins :-) to work. Altough I never tested
"LIVE" streaming (rtps:// or so).

Ré

/local/build> cd MPlayer-0.90pre8/
/local/build> tar xjf
/partitions/software/MPlayer/MPlayer-0.90pre8.tar.bz2
/local/build> tar xjf
/partitions/software/MPlayer/w32codec.tar.bz2
/local/build> unzip
/partitions/software/MPlayer/mp-arial-iso-8859-1.zip
/local/build> tar xjf /partitions/software/MPlayer/default.tar.bz2
/local/build/live> tar xzf
/partitions/software/MPlayer/live.2002.10.11.tar.gz

/local/build> rpm --rebuild
/partitions/software/MPlayer/divx4linux-20020418-1_suse80.src.rpm
--target athlon
/local/build> mv
/usr/src/packages/RPMS/athlon/divx4linux-20020418-1.athlon.rpm
/partitions/software/MPlayer/
orineo:/local/MPlayer_suserpm # rpm -Uhv
/partitions/software/MPlayer/divx4linux-20020418-1.athlon.rpm -vv
--ignorearch

orineo:/local/MPlayer_suserpm # rpm -Uhv
/media/dvd/suse/i586/libdvdread-devel-0.9.3-35.i586.rpm
/local/build> rpm --rebuild --target athlon
/partitions/software/MPlayer/libdvdnav-0.1.3-0.src.rpm
/local/build> mv
/usr/src/packages/RPMS/athlon/libdvdnav-0.1.3-0.athlon.rpm
/partitions/software/MPlayer/
orineo:/local/MPlayer_suserpm # rpm -Uhv --ignorearch
/partitions/software/MPlayer/libdvdnav-0.1.3-0.athlon.rpm --force

/local/build> cd live/
/local/build/live> ./genMakefiles linux
/local/build/live> make

orineo:/local/MPlayer_suserpm # rpm -Uhv
/media/dvd/suse/i586/libdvdread-devel-0.9.3-35.i586.rpm
orineo:/local/MPlayer_suserpm # rpm -Uhv
/media/dvd/suse/i586/gtk-devel-1.2.10-437.i586.rpm
/media/dvd/suse/i586/glib-devel-1.2.10-305.i586.rpm
/local/build/MPlayer-0.90pre8> cd ..
/local/build/MPlayer-0.90pre8> ./configure \
	--enable-gui \
	--prefix=/usr \
	--confdir=/etc \
	--enable-largefiles \
	--with-libdvdnav=/usr/include/dvdnav \
\
	--enable-live \
\
	--enable-freetype \
	--language=de \
\
	--libdir=%_libdir \
	--enable-joystick \
	--with-livelibdir=`pwd`/../live \


# make MANDIR=$RPM_BUILD_ROOT/usr/share/man DESTDIR=$RPM_BUILD_ROOT install
# cp -a iso-8859-1/arial-18/* $RPM_BUILD_ROOT/usr/share/mplayer/font
# cp -a default $RPM_BUILD_ROOT/usr/share/mplayer/Skin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.