View Full Version : Optional Change to Crop default behavior?
ErMaC
3rd December 2002, 11:10
Hey, like many other AVISynth users, I'm sure, I use the newer crop syntax of x,y,-x,-y in order to set offsets instead of offset then resolution. But despite my efforts to train myself, the number of times I forget to make those last numbers negative is staggering and causes me much grief (spent 10 minutes debugging what I thought was a Conv3d problem causing access violations when it turns out I'd forgotten the gosh-darned :) negative sign).
Would it be that hard to add a registry key or something that would change the default behavior of Crop? I understand your motivations in trying to maintain script backwards compatability, but for those of us who don't use any old scripts, is there a way to alleviate this annoyance?
Thanks.
To all the devels, great work on the AVISynth 2.5 stuff, BTW.
scmccarthy
3rd December 2002, 15:49
I like to focus on what size each frame will be after the crop. I never use the newer syntax and I don't think it was added because it is better (who cares how much is cropped off?), either way the size of the target frame has to be calculated in order to decide how much needs to be cropped off.
Stephen
Wilbert
3rd December 2002, 16:04
I like to focus on what size each frame will be after the crop. I never use the newer syntax and I don't think it was added because it is better (who cares how much is cropped off?), either way the size of the target frame has to be calculated in order to decide how much needs to be cropped off.
??? You don't care if you crop away parts of your picture? It's the other way around, for DivX/XviD you need to know how much can be cropped off before determining the final output size.
scmccarthy
3rd December 2002, 16:47
OK, it is much easier to check the pixel aspect ratio after the fact if the frame size after the crop and the frame size after the subsequent resize is documented in the script. So if you know the expected frame size after the crop before you write the crop filter line in the script, use the old style. If you really don't have to calculate the frame size before doing the crop, then the new style is much easier. But that is a big if, isn't it?
Stephen
sh0dan
3rd December 2002, 16:49
Don't worry - I wont change it - I'm not interested in breaking all the nice GUI's around, just for this minor inconvinience. Sorry!
ErMaC
4th December 2002, 02:38
I wasn't asking you to change it permanently! I was just asking for an option, such as a registry key, which would allow this to be changed by users who WANT to change it. I'm not trying to impose my preference on others, but it would be nice if one could change the default behavior for one's own personal use.
I never suggested changing it for everyone - thus the thread title "optional change to crop default behavior".
I understand not wanting to break GUIs, but would it be that hard to allow those of us who don't use them to have another option? That's all I'm asking.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.