Here's is how i got DIVX working with mjpegtools-1.6 (lav2divx).

You can get mjpegtools here http://mjpeg.sourceforge.net/ or just goto
that site to read the amazing "MJPEG Howto".  Only 1.6-beta2 is in the
Mandrake /contrib tree.


I pretty much compiled all teh SRPM's (easier to resolve deps).  You can
get these from Mandrake's mandrake-devel/contribs/ tree and from
http://plf.zarb.org/rpm/src/

The PLF website is basically a collection of RPM Packages that cannot be
included into the main Mandrake tree due to licensing issues.

Where you see an "*", usually will mean multiple packages and may
involve a different naming scheme (ie: a package foo*.rpm may provide
either libfoo.ix86.rpm or even mimi.ix86.rpm!).  So grab the SRPM and
rebuild them to save yourself from any headaches.

I compiled all of the following on a freshly compiled gcc-3.1.


libqt3/libqt3-devel installed
rpm -Uvh /usr/src/RPM/RPMS/i686/libqt3*

libdv/libdv-compat
rpm -Uvh /usr/src/RPM/RPMS/i686/libdv1-*
(libdv-compat conflicts with libdv?)

divx4linux
rpm --rebuild --clean /mandrake/plf/src/divx4linux-20020418-2plf.src.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/*-20020418-2plf.i686.rpm

libmpeg3
rpm -Uvh /usr/src/RPM/RPMS/i686/libmpeg3*

openquicktime
rpm -Uvh /usr/src/RPM/RPMS/i686/libopenquicktime1-*

notlame
rpm -Uvh /usr/src/RPM/RPMS/i686/*3.93-0.20020422.3plf.i686.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/out_lame-0.2.1-2plf.i686.rpm

ffmpeg
rpm -Uvh /usr/src/RPM/RPMS/i686/*ffmpeg*0.4.6-0.20020417.4mdk.i686.rpm

xvid
rpm -Uvh --force /usr/src/RPM/RPMS/i686/xvid-*
(it conflicted with divx4linux package. use --force. xvid-divx-devel has
/usr/include/divx4.h while divx4linux package doesn't.)

avifile/avifile-plugins
rpm -Uvh /usr/src/RPM/RPMS/i686/*avifile*0.7.6-0.20020508.1mdk.i686.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/avifile-plugins-*
(*once i had the /usr/src/RPM/SOURCES/avifile-0.7.6*tar.bz2, i edited
teh spec file of avifile-plugins to point to that instead of the old -
and incompatabile - avifile-plugins-0.7.5.tar.bz2!!!)

win32-codecs
rpm -Uvh /usr/src/RPM/RPMS/i686/win32-codecs-1.0-1plf.i686.rpm 

AVIFILE-PLUGINS (has to hack to include 0.7.6!)
(MAD, vorbis, Xft -- are these needed/wanted at all?)
Compiler C++:     g++ -O3 -ffast-math -mcpu=pentium3 -march=pentium3
-mfpmath=sse -mmmx -fomit-frame-pointer -pipe -fno-strength-reduce -pipe
Install path:     /usr
Qt:               yes
Sdl:              yes
Xft:              no
Oss audio:        yes
Sun audio:        no
Mga_vid:          no
Plugins:
  ac3passthrough  yes  (with SBLive only)
  divx4           yes  (DivX ;-), OpenDivX, DivX4)
  xvid            yes  (DivX4, XviD)
  ffmpeg          no  (DivX ;-), OpenDivX, MJPEG, AC3)
  os motion jpeg  yes  (MJPEG)
  win32           yes  (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...)
  MAD             no  (MPEG Layer I/II/III)
  vorbis          no
  lame runtime    yes


Since I have a Canopus ADVC-100, I'm also using the following:

libraw1394
rpm -Uvh /usr/src/RPM/RPMS/i686/libraw1394*

libdvgrab
rpm -Uvh /usr/src/RPM/RPMS/i686/dvgrab-1.1-0.1b1mdk.i686.rpm


*Notes:  Xine, for some reason, will not be able to sync the audio &
video of the divx files.  This is highly unusual as Xine usually works
very well for me. I'm now using aviplay to playback divx files.  I'm not
sure if Xine's problem is either with the video card I just installed or
if it's a bug in a recent release of Xine (or other).


-- 
Roger
-----
Verify my pgp/gnupg signature on my HomePage:
http://www.alltel.net/~rogerx/about/index.html

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to