They are based on two great libraries that enabled me to complete the first version of mpeg2divx in one long night and avi2divx within an hour or so.
avifile allows you to use Windows AVI codecs under Linux/i386 and is just as powerful as undocumented.
libmpeg3 enables you to decode just about every kind of MPEG
stream with a minimum of effort.
2000/12/15:
new release 0.7
OK, here's the release that works with (and only with) avifile 0.51.
There's also a new patch that solves a problem 0.51 is having with the
Morgan MJPEG codec. Apply it if avifile keeps saying that the codec doesn't
support 16 bit output (which you don't need for avi2divx).
2000/12/13:
about avifile 0.51
x2divx currently does not work with the new version 0.51 as it's missing
some important methods (namely SetDirection() and SetBitDepth()). I'll
look into it as soon as I find some free time.
2000/12/09:
bugfix release 0.6a
another fix for encoding single audio channel MPEGs with mpeg2divx
(sound plays too fast). Thanks to Marcel Ritter for pointing out that issue.
2000/11/28:
new release 0.6
includes fix for bug reported by Morten Berg and others that breaks
audio on input MPEGs with more than two channels
new feature allows to specify an offset for black border clipping
2000/11/12:
bugfix release 0.5a
mpeg2divx should be able to handle input files with more than two audio
channels now. Also, encoding of video-only streams is now possible. No
changes to avi2divx.
2000/11/04:
new version 0.5
Added basic picture scaling, fixed default MP3 bitrate as the old,
fixed setting caused problems with aviplay and xtheater.
2000/11/01:
Morgan MJPEG codec has expired today
The shareware version of the MJPEG codec contained in binaries.zip
has expired today. Since Morgan
Multimedia does not offer a new version for download yet, I have made
a little patch for avifile that makes all codecs think it's 1999. Get it
from the download section, apply it, rebuild and reinstall avifile and
everything should work again.
bugfix release 0.4a
avi2divx should now be able to encode single-channel audio properly.
Thanks to Marc Lavallée for reporting this.
2000/10/28:
release 0.4
This version adds two new features:
2000/10/27:
bugfix release 0.3a
There's a stupid bug in 0.3 that makes avi2divx occasionally abort
with "pure virtual method called" when encoding more than one input file.
This release should fix that. mpeg2divx is not affected.
2000/10/26:
new version 0.3
So here's another new version. This one features the possibility to
give several input files which will be encoded sequentially into the output
DivX ;-) AVI.
2000/10/25:
new version 0.2
This one adds a few commandline options for choosing the codec, setting
bitrates etc. Download below.
bug in avifile library
avifile 0.50 (and older versions, too, I guess) has a bug that prevents
setting the bitrate for the DivX ;-) fast-motion encoder. I've made a fix
you can download below. Apply the patch before building the library. It
may also be a good idea to delete the .registry file in your home
directory if you have used avifile before.
You should also know that the version of m3jpeg32.dll contained in binaries.zip has expired on 2000/11/01. If you want to use it you need the shareware workaround patch for avifile 0.50 and up from the download section.
For avifile 0.51 and up you also need the 16 bit patch.
Patch for bitrate problem in avifile 0.50 and 0.51; not necessary for current versions
Shareware workaround patch for avifile 0.50 to 0.53.1. This should make the Morgan MJPEG shareware codec run 'til judgement day.
Patch removing 16 bit output check in avifile 0.51 to 0.53.1 that makes the MJPEG codec (and maybe others) fail even if you don't need 16 bit.
libmpeg3 is statically linked to the binaries and included in the source
distribution, so you don't need to download it separately. Anyway, here's
the libmpeg3 homepage.
Another good player is Xtheater
which has a nice GUI, DND and all that stuff. I prefer lamp, but that's
probably a matter of taste.
Contact me if you have any suggestions
or patches or want to give general feedback.