Log in

View Full Version : crop


kassandro
27th January 2005, 11:11
When I use crop the output width and height is always a multiple of 8 and I never had problems with it. But to test a new version of RemoveGrain I used the following script

avisource("G:\avi\test.avi")
crop(0,0,-4,0)

to output like the following
C:\usr\RemoveGrain\test.png
The luma is correct except the very last lines. The problems is mainly with the chroma, which is shifted quite a bit. It happens only with YV12 and I'm using AVS version 2.5.5.

sh0dan
27th January 2005, 14:51
It's related to buggy YV12->RGB conversion in the VFW YV12 decoder for previews. Convert to RGB for previews.

kassandro
27th January 2005, 17:06
Many thanks!
I thought that this was a bug in my filter and it really drove me nuts.