View Single Post
Old 2nd March 2008, 15:02   #3  |  Link
mikeytown2
Resize Abuser
 
mikeytown2's Avatar
 
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
Thanks for pointing this out! After looking at your functions and reading the headers, i think i will use Trim3.
http://avisynth.org/stickboy/jdl-util.avsi

You really like Assert, i had to go look it up.
http://avisynth.org/mediawiki/Intern...trol_functions


So reworking my first example it should be something like this
Code:
function CutFrames(clip c, int start, int end)
{
	return c.trim3(0, start) + c.trim3(end, c.Framecount())
}
mikeytown2 is offline   Reply With Quote