mencoder INPUT.ts -vf scale=640:480 -ovc xvid -xvidencopts bitrate=800 -oac mp3lame -lameopts cbr:br=96 -o OUTPUT.avi
mencoder INPUT.ts -lavcopts aspect=16/9 -lameopts cbr:br=96 -o OUTPUT.avi
for filename in ls *.ts
; do
mencoder $filename -vf scale=640:480 -ovc xvid -xvidencopts bitrate=800 -oac mp3lame -lameopts cbr:br=96 -o ${filename%ts}avi
; done