View Full Version : need croping script
Hi
I use MPC-HC to watch 640x480 shows with black bars top and bottom.
Could you give me a simple script I can put in ffdshow filter > AviSynth that will crop the black bars??
I need it to be top 104, bottom 97 left 7, right 15, those settings make it fit the screen nice.
thanks
Overdrive80
4th June 2012, 13:00
crop(104,98,8,16)
Kermit25
4th June 2012, 13:08
crop(104,98,8,16)
Not really you are right ...
Correctly, it looks like this:
crop(8,104,-16,-98)
crop(left px, top px, right px, bottom px)
sekininsha
4th June 2012, 13:13
crop(8,104,-16,-98)
Something wrong with code.
crop(104,98,8,16)
gives
script error: invalid arguments to funtion 'crop' (ffdshow_filter_avisynth_script, line 1)
crop(8,104,-16,-98)
crop(left px, top px, right px, bottom px)
gives
script error: expected a, or)(ffdshow_filter_avisynth_script, line 2, column 12)
crop(8,104,-16,-98)
gives
script error: invalid arguments to funtion 'crop' (ffdshow_filter_avisynth_script, line 1)
Ok, my bad.
I just had to check the "add ffdshow video source" box.
crop(8,104,-16,-98)
Works fine now
thanks
:thanks:
Overdrive80
4th June 2012, 19:20
Not really you are right ...
Correctly, it looks like this:
crop(8,104,-16,-98)
crop(left px, top px, right px, bottom px)
Its true, i didnt read properly. Sorry
crop(left px, top py, -right px, -bottom py)
Top and bottom, is ordenate axis.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.