This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorial:batch_processing [2011/01/09 16:07] agent_007 small tip |
tutorial:batch_processing [2011/01/09 16:22] agent_007 some tips |
||
---|---|---|---|
Line 34: | Line 34: | ||
for %%f in (*.mp4) do %avidemux% --video-codec %videocodec% --video-conf %videobitrate% --audio-codec %audiocodec% --audio-bitrate %audiobitrate% --force-alt-h264 --load "%%f" --save "%%f.avi" --quit | for %%f in (*.mp4) do %avidemux% --video-codec %videocodec% --video-conf %videobitrate% --audio-codec %audiocodec% --audio-bitrate %audiobitrate% --force-alt-h264 --load "%%f" --save "%%f.avi" --quit | ||
</code> | </code> | ||
+ | |||
+ | |||
==== JS scripting (ECMAScript) only batch processing ==== | ==== JS scripting (ECMAScript) only batch processing ==== | ||
Line 185: | Line 187: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | |||
==== Combination of command-line and JS scripting ==== | ==== Combination of command-line and JS scripting ==== | ||
Line 224: | Line 228: | ||
+ | ==== Tips ==== | ||
+ | * You can replace **avidemux2** with **avidemux2_cli** if you want to process files via GUI | ||
+ | * You can use **--nogui** option in case you want to suppress all dialogs (it must be first option!) |