transcode is a text-console utility for video stream processing.
Decoding and encoding is done by loading modules that are responsible for
feeding transcode with raw video/audio streams (import modules) and encoding
the frames (export modules). It supports elementary video and audio frame
transformations, including de-interlacing or fast resizing of video frames
and loading of external filters.

This can optionally use lame.

You can enable some optional (not-autodetected) features by
passing variables to the script:
A52DEC=yes|no (default: no), requires a52dec
FAAC=yes|no (default: no), requires faac
LIBDV=yes|no (default: no), requires libdv
LIBMPEG2=yes|no (default: no), requires libmpeg2
MJPEGTOOLS=yes|no (default: no), requires mjpegtools
QUICKTIME=yes|no (default: no), requires libquicktime
X264=yes|no (default: no), requires x264
XVID=yes|no (default: no), requires xvidcore
