Log in

View Full Version : avidemux script


nomad311
25th February 2006, 00:23
hey i just started using avidemux to encode dvds (thanks to the great guide here: http://forum.videohelp.com/viewtopic.php?t=242455) ...but i am making episodic dvds and i would love to use avidemux's command line so that i can batch it

...i was able to find this script (for this one you set all the options in avidemux and save the project and this simply loads an runs it):

foreach i (`ls *.proj | cut -d'.' -f1`)
avidemux2 --load ${i}.proj --save ${i}.mpg --quit
echo $i >> donelist.txt
date >> donelist.txt
end


im fine with tihs method ...but dont really care if its purly command line (in fact id prefer it that way)

but thats for tcsh and i have bash. is there anyone out there who can port this to bash? or is there anyone with a bash script for avidemux out there? (if you have one that isnt bash plz post it too ...if i have to port myself i wouldnt mind some options :-> )

thanks a ton guys
-nomad311

evade
27th February 2006, 15:12
for i in `ls *.proj | cut -d'.' -f1`
do
avidemux2 --load ${i}.proj --save ${i}.mpg --quit
echo $i >> donelist.txt
date >> donelist.txt
done


This would have been answered quicker in the linux forum.