I've got some avi files in a directory I want to downsize a lil bit (they may remain avis)
I go into the directory (cd ............)
then I want to use this:
for FILE in `ls *avi` ; do mencoder -of avi -ovc lavc -lavcoptodec=mpeg4:vbitrate=400:keyint=250:mbd=2:vm ax_b_frames=2:umv
reme=2:vpass=1 -oac mp3lame -lameopts abr:br=64 -vf pp=hb/vb/dr/al/tn,scale=352:288,denoise3d=9:9:9 -ssf lgb=0.7 -ssf cgb=0.7 -ssf ls=0.9 -ssf cs=0.9 $FILE -o New-$FILE && mencoder -of avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400:keyint=250:mbd=2:vmax_b_ frames=2:umv
reme=2:vpass=2 -oac mp3lame -lameopts abr:br=64 -vf pp=hb/vb/dr/al/tn,scale=352:288,denoise3d=9:9:9 -ssf lgb=0.7 -ssf cgb=0.7 -ssf ls=0.9 -ssf cs=0.9 $FILE -o New-$FILE; done
---> this gives me:
File not found: 'Family'
..
File not found: 'Guy'
...
The files are named like this one:
Family Guy - Episode 307 - Lethal Weapons.avi
How can I tell him to convert all of them (without having to rename every singel one
)