Code: Select all
@echo off
del template.avs
echo v=DGSource("__vid__",deinterlace=1,crop_t=76,crop_b=72,crop_l=8,crop_r=8,resize_w = 720,resize_h = 400)>> template.avs
echo a=NicMPASource("__aud__",1)>> template.avs
echo AudioDub(v,a)>> template.avs
echo DelayAudio(__del__)>> template.avs
SET DGINDEX="E:\WinApp\VideoTools\DGIndexNV\DGIndexNV.exe"
for %%f in (*.mpg) do %DGINDEX% -i %%f -o %%~nf.dgi -at template.avs -e -a
del template.avs
I don't want to place template into DGIndexNV directory and use dynamically created one. How can I setup new build properly?