Convert DV to DivX

Here's a bash script for converting DV to DivX:

time mencoder $src -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=262144 \
	-vf scale=320:240 -sws 0 -oac mp3lame -lameopts vbr=3:br=64 \
	-o $target

Tips from http://www.jukie.net/~bart/blog/?v=20041113082651 - not tested yet:

time mencoder file.avi -o video.avi -vf hqdn3d,kerndeint -ovc lavc \
 -lavcopts vcodec=mpeg4:vqscale=1:vhq:v4mv:vbitrate=8000:threads=2:acodec=ac3 \
 -oac lavc

Convert DVD to DivX

This one works in the Philips DVD player:
mencoder dvd://1 -ovc lavc \
	-lavcopts vcodec=msmpeg4v2:vpass=1:vhq:vbitrate=1240:autoaspect \
	 -oac mp3lame -lameopts vbr=3 -o /tmp/movie.avi

mencoder dvd://1 -ovc lavc \
	-lavcopts vcodec=msmpeg4v2:vpass=2:vhq:vbitrate=1240:autoaspect \
	 -oac mp3lame -lameopts vbr=3 -o /tmp/movie.avi

Or try any of these:
time mencoder dvd://1 -v -o $target \
	-vf scale -zoom -xy 512 -oac copy \
	-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=804:autoaspect
time mencoder dvd://1 -v -o $target \
	-vf scale -zoom -xy 512 \
	-oac mp3lame -lameopts vbr=3:br=128 \
	-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1600:autoaspect
mencoder comes from http://www.mplayerhq.hu/
Last modified: Thu Jun 9 23:03:22 PDT 2005