This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:batch_processing [2011/01/09 15:54] agent_007 remove unneeded number |
tutorial:batch_processing [2011/01/09 16:07] agent_007 small tip |
||
---|---|---|---|
Line 192: | Line 192: | ||
<code javascript> | <code javascript> | ||
//AD <- Needed to identify// | //AD <- Needed to identify// | ||
+ | var app = new Avidemux(); | ||
//** Postproc ** | //** Postproc ** | ||
app.video.setPostProc(3,3,0); | app.video.setPostProc(3,3,0); | ||
- | |||
- | app.video.fps1000 = 29970; | ||
//** Filters ** | //** Filters ** | ||
Line 219: | Line 218: | ||
<code> | <code> | ||
set avidemux="C:\Program Files\Avidemux 2.5\avidemux2.exe" | set avidemux="C:\Program Files\Avidemux 2.5\avidemux2.exe" | ||
- | set videocodec=Xvid | ||
- | set audiocodec=MP3 | ||
for %%f in (*.mp4) do %avidemux% --force-alt-h264 --load "%%f" --run something.js --save "%%f.avi" --quit | for %%f in (*.mp4) do %avidemux% --force-alt-h264 --load "%%f" --run something.js --save "%%f.avi" --quit | ||
</code> | </code> | ||
+ | |||
+ | If you create your own combine batch settings, make sure order of command-line parameters is always --load something, --run something and --save something (AVIdemux will run these options in give order). | ||
+ | |||
+ |