Log in

View Full Version : Need a filter to crop


Holomatrix
19th March 2002, 21:28
Hello, is there a filter I could use to crop the image while frame serving ? I have this AVI that I want to convert to mpeg but want to crop the top and bottom borders, Or is there a program I can use to crop the mpeg after converting it?
Thanks

Wilbert
20th March 2002, 12:53
How you must do it depends on the program you use of course.
To my knowledge you can't crop a mpg, so you have to do it before encoding to mpg.

There's a null-transform filter in VirtualDub, you can use that to crop. If you don't want to make a temporarily avi (because it would become to large) you have to

1) use the frameserver of Virtual Dub, see "guides" --> "virtualdub procedures" on this site.

2) Avisynth; crop(left,height,a,b) with axb the _new_ picture size.

Holomatrix
20th March 2002, 17:03
Ok, thanks, I'll check it out :) also hopefully someone answers my second post here :)

EDIT: That worked great, I frame served my DivX.avi from VirtualDUB to TMPGEnc with the cropping filter. :)