View Full Version : unblank part of a trim
trolltuning
9th March 2004, 14:40
I'm building a VCD file from some DV footage. I'm using aviscript to build trim commands to join together about 30 clips. I will set a mask on it (which AviScript places before the ttrim commands) The last clip I need no mask. What is the simplest way to modify the script?
sh0dan
9th March 2004, 15:12
:script:
trolltuning
9th March 2004, 16:48
I'm working from memory as Avisynth is at my home computer and I'm at work but I believe the script is like this.
Avisource("instrvid1.avi")
Mask(44,44,0,0)
#I don't remember the resize command but its standard VCD size
Trim(200,1000),Trim(1200,2000),Trim(3200,10000),etc, Trim(64000,67000)
Assuming I want to remove the mask on the 64000 to 67000 clip what is the simplest thing to do?
Wilbert
9th March 2004, 17:29
Something like
clip = Avisource("instrvid1.avi")
clip2 = Trim(clip,200,1000)+Trim(clip,1200,2000)+Trim(clip,3200,10000)+...+
clip3 = Mask(clip2,44,44,0,0)
clip4 = Trim(clip,64000,67000)
clip3 + clip4
trolltuning
9th March 2004, 18:58
:) Thanks Wilbert. Now I see the advantage of using variables. So nice to be able to get this done in one shot and not have a bunch of avis eating up all my harddrive space.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.