Log in

View Full Version : How to crop?


ihgl
6th June 2002, 16:20
Made a perfect SVCD from a DVD-source. Just one irritating matter when played on my PC: a too wide a black border on the right. For experimental purpose I made a short AVI from the same DVD to see what figures were put into the avs-file using Gordian knot for cropping. Tried to put various figures in the avisynth editor when remaking the film in DVD2SVCD. But nothing worked. Have read the guides and numerous threads but cannot find anything on this as I presume common problem. The avisynth file when doing the SVCD from my AVI looks like this:

LoadPlugin("C:\Program\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\Program\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("C:\Bart\Filmjobb\LJUDHO~1.AVI")
ConvertToYUY2()
SimpleResize(480,353)
AddBorders(0,111,0,112

(Since this is a PAL the figures have to be corrected to give the right height, but that is another task)


crop(..??

Yes what can you put into this script to get away the right black border? In Gordian Knot a figure of 8 gave a perfect AVI. Could anyone give a lead on this matter, I would be very thankful.

pacohaas
6th June 2002, 16:25
http://math.berkeley.edu/~benrg/avisynth-reference.html#Crop

make sure to check out the thread about simple resize and the green verticle line in the GKnot forum to make sure and avoide doing this.

ihgl
6th June 2002, 17:22
Originally posted by pacohaas
http://math.berkeley.edu/~benrg/avisynth-reference.html#Crop

make sure to check out the thread about simple resize and the green verticle line in the GKnot forum to make sure and avoide doing this.

I am afraid I made that thread out - that is I could not make it out anyway. Ended up with distorted picture. Sorry.

markrb
6th June 2002, 18:45
A search on crop in the DVD2SVCD forums will bring up about 20 threads on the subject. If you don't find what you need in the search hit the Avisynth forum as well since this is an avisynth edit.

Mark

ihgl
6th June 2002, 22:12
Originally posted by markrb
A search on crop in the DVD2SVCD forums will bring up about 20 threads on the subject. If you don't find what you need in the search hit the Avisynth forum as well since this is an avisynth edit.

Mark

Thank you. I think I have found out on my own at last. (Try and error etc)It is a wish for the future though to include a "plugin" so you can check out the picture within the program and if needed do cropping. Another wish would be the possibility to make a very short test before you start the real go - for many hours. As far as I understand this is not possible today. Anyway, great program.

markrb
6th June 2002, 23:22
It's very easy to do a short test just rip a single chapter.
There is also a preview window in DVD2SVCD and you can play the avs file in windows media player as well.

Mark

CrazyPortuguese
7th June 2002, 02:48
It would be great having some kind of way to preview the results, has flashmpeg has.