Transcoding a MPEG video into Divx, whilst shrinking it to 320×240 (on linux)

Easy!

transcode -i /cdrom/backyard.mpg -Z 320x240 -o small.avi -V -y xvid4 -b 32,0,4,2