View Full Version : Problem with cropping numbers...
OBcecado
30th January 2003, 22:04
Hi, can someone please explain-me what can I do so I don't get this error message ?
Avisynth open failure :
Crop YV12 images can only be cropped by even numbers (top).
I'm using newest avisynth version with the plugin pack...
The script is the following:
mpeg2source ("c:\stuff\stuff.d2v")
crop(0,3,720,569)
BicubicResize(576,320,0,0.75)
Convolution3d (preset="movieHQ")
dup(copy=true, maxcopies=20, blend=true)
Asmodian
30th January 2003, 23:04
Umm, you can't use odd numbers for your crop.
crop(0,3,720,569)
lamer_de
30th January 2003, 23:05
Because you are cropping 3 pixels from the right and 3 is no even number ;-)
Edit: I have to learn how to type faster and error free :P
Change that to an even number or use croping directly in BicubicRezise (please read the docu or search the forum, i'm not sure how to do this exactly)
CU,
lamer_de
OBcecado
30th January 2003, 23:15
Thanks, gotta check numbers better next time, I got those numbers from gknot, which were wrong, but if i choose a higher resolution, then a lower it gives me numbers, that are multiples of 8.
Best regards.
sh0dan
30th January 2003, 23:23
Well, 569 isn't even multiple of 2, so multiple of 8 will still be better ;)
IanB
31st January 2003, 00:01
See this thread :- http://forum.doom9.org/showthread.php?s=&threadid=44400
Short Answer :-
mpeg2source ("c:\stuff\stuff.d2v")
BicubicResize(576,320,0,0.75, 0.0, 3.0, 720.0, 569.0)
Convolution3d (preset="movieHQ")
dup(copy=true, maxcopies=20, blend=true)
IanB
OBcecado
31st January 2003, 13:37
@IanB thanks for the info, will read it right away.
Thanks for the quick help guys :)
Best regards.
sh0dan
31st January 2003, 16:22
Seems like we finally found a use for the crop settings in resize. Since UV is already being interpolated (or filtered if you like) it seems safe to use - even quality-wise.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.