!/usr/bin/env bash
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
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