
=================================================
| divxenc - the interactive shell script ripper |
=================================================

1) Why a script?

- Because GUI programs take a lot of time to write and debug/optimize
- Because GUI programs eat more memory
- Because GUI programs do nothing for 90% of the encoding process
- Because scripts are a lot easier to read/write/debug
- Because I love shell scripting :)

2) Introduction

divxenc is a shell script which can be used to encode DVDs or video files
to the DivX format using the encoding utility 'MEncoder' from 'MPlayer'.

The script supports all useful options an end-user would need to make
a successful encode. Things like software scaling, deblocking/deringing of
video files, DVD deinterlacing, DVD cropping, DVD denoising, DVD subtitle
inclusion, interlaced DVD encodings, and various audio codecs like
MP3, AC3, AAC, AAC+, Vorbis, FLAC and PCM are supported as well.

There's a man page for further information on the divxenc script. To access
it after installation, open a console and type "man divxenc" without the quotes

Note: instead of typing 'n' every time you don't want to use a specific
option, you can just hit enter.

To obtain best performance, I suggest to download MPlayer and compile it yourself.
You should use the appropriate CFLAGS at compilation time to optimize the code for
your hardware architecture (example: CFLAGS="-O3 march=athlon-xp mtune=athlon-xp
-finline-functions -freorder-blocks -fexpensive-optimizations")

For more info on the MPEG compression, read the 'README.encoding' file

3) Requirements

- MPlayer/MEncoder >= 1.0rc2 (http://www.mplayerhq.hu)
- lsdvd (http://sourceforge.net/projects/lsdvd)
- mkvtoolnix (http://bunkus.org/videotools/mkvtoolnix/)
- gpac (http://gpac.sourceforge.net/)
- ogmtools (http://www.bunkus.org/videotools/ogmtools/)
- LAME (http://www.mp3dev.org)
- FAAC (http://www.audiocoding.com/)
- neroAacEnc (http://www.nero.com/eng/down-ndaudio.php)
- aacplusenc (http://teknoraver.net/software/mp4tools)
- Vorbis (http://www.vorbis.com/setup_linux/)
- pipeviewer (http://sourceforge.net/projects/pipeviewer)

4) Installation

Just run the 'install' script as root, or copy the
divxenc script to a valid path (eg, /home/your_username/bin)

Note: this only applies if you have downloaded the
compressed 'divxenc.tar.gz' package, not the RPM or
tgz one

