Log in

View Full Version : Simple question on AviDemux


peterhuh
3rd March 2008, 02:55
Hi~
Izzit possible to save a custom script that resize any video with any aspect ratio to "best fit" a certian resolution like 320x240. Can save me alot of time when encoding for my Nokia N73~ Thanks.

LoRd_MuldeR
3rd March 2008, 03:05
Did you already see the "Scripting Tutorial" in the ADM wiki?
http://www.avidemux.org/admWiki/index.php?title=Scripting_tutorial

Might be helpful to get a start. Sorry I cannot give more specific help...


[EDIT]

Should work like this somehow:
x := some_calculation();
y := some_calculation();

app.video.addFilter("mpresize","w="+x,"h="+y,"algo=1");