Here's the notes I made when doing this with a bunch of AVI files.
It assumes that AviSynth and the XviDcodec are installed.
All the source files are in one folder and an empty target folder is created for the output.
A vcf file is created in VirtualDub to ensure that the output files are encoded using XviD.
The avisource.avs file reverses the video (back is now front) and clips 10 seconds (based on 25fps) off.
The video is reversed again and 10 seconds removed from the front.
Scriptwriter uses the avisource.avs file to create a new .avs file for each video in the source folder.
When finished, the new .jobs file is used by VirtualDub to process the files to the target folder.
Quote:Cropping a fixed range (time or frames) from front and end of multiple files that have different running times.
Place the source files together in a new 'Source' folder.
Create a new 'Target' folder.
Run VirtualDub (assumes the target files will use the XviD codec which is installed in the system).
Click Video > Compression > XviD > OK
Click File > Save Processing Settings...save the VCF file XviD.vcf in the Source folder.
Exit VDub.
Create an AVS file using NotePad (The five lines without the #) and save as clip.avs in the Source folder, thus:
avisource("%f")
reverse()
trim(250,0)
reverse()
trim(250,0)
# if the source files are a mix of mpeg2 and AVI, change the first line to: DirectShowSource("%f")
#assumes file is 25fps, ten seconds at 25fps=250 frames removed from front and rear of video.
Run ScriptWriter.
'Source' - browse to 'Source' folder.
'Destination' - browse to 'Target' folder.
Note that under 'Filters' > 'Extensions', you can 'Exclude' avs,vcf files, else they will show up in the Target folder.
Top Menu, Tools > Options
'Template' is \Source\clip.avs
'VCF File' is \Source\XviD.vcf
'OK'
When ready, click 'Go'.
If success, in the Target folder find a file named 'vdub - avisynth files.jobs'
Run VirtualDub.
File > Job Control
<optional> Edit > Clear list (if it existed).
File > Load Job List (\Target\Vdub-AviSynth Files.jobs)
The list of files to be processed will include the vcf and avs files (if you didn?t elect to filter them in ScriptWriter) they can be removed from the list before processing.
When ready, press 'Start' to process the files to the Target folder.
Note, you may be able to run VirtualDub and select File > Load processing settings?, select Vdub-AviSynth Files.jobs and the processing will start immediately.
Or you you may be able to run VirtualDub and select File > Run script.., select Vdub-AviSynth Files.jobs and the processing will start immediately.