Cropping Certain Areas

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
-MajinLink-
Joined: Sun May 30, 2004 6:32 pm
Org Profile

Post by -MajinLink- » Tue Jul 15, 2008 4:33 pm

dokidoki wrote:
-MajinLink- wrote:Sorry for the delayed reply, Eva-Fan. Yeah, I just can't get this to work... Would you mind helping? :oops:
- Crop(4,2,-4,-0) for frames 1 to 32965.
- Crop an additional (2,0,-2,-0) off of frames 32966 to 33686.
I know I could just go Crop(6,2,-6,-0), but I really don't want to be croppin' off anymore from frames 1 to 32965. Frames 32966 to 33686 still show black bars that I would like to get rid of.
Note that the framecount starts at 0, but anyway...

a=[source]
b=a.Trim(1,32965).Crop(4,2,-4,-0).BilinearResize(640,480)
c=a.Trim(32966,33686).Crop(6,2,-6,-0).BilinearResize(640,480)
b+c
Tried it, and unfortuantly, when I open my script in to VirtualDubMod the only thing that shows is frame 32965.

User avatar
dokidoki
c0d3 m0nk3y
Joined: Tue Dec 19, 2000 7:42 pm
Status: BLEEP BLOOP!
Location: doki doki space
Contact:
Org Profile

Post by dokidoki » Tue Jul 15, 2008 5:39 pm

I don't know what to say except that it worked for me. (with different frame numbers, given my test source)
Image Image Image
"Comedy is a dying breed." -- kisanzi // "Comedy. Serious business." -- dokidoki

Locked

Return to “AviSynth Help”