Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
6th October 2021, 18:03 | #21 | Link | ||
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Integer values (without decimal point) will be converted to float on entry to the animated function, but the interpolation itself will be done on an integer basis (hence potentially truncated). Quote:
So the wiki example is wrong at present (although correct if a different resizer is used in place of BicibicResize). |
||
6th October 2021, 20:31 | #22 | Link |
Guest
Posts: n/a
|
Ah, so it's just that pretty much any resizer other than BicubicResize would have done, and hello_hello just happened to choose BilinearResize. I thought that the question was why the latter, in particular, is fine in terms of artifacts. (Does the weighted average smooth them out somehow?) It's a soft resizer, so I figured that helps, but anyway I misunderstood. Thanks!
|
10th October 2021, 17:10 | #23 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Well... if nothing else, CropResize makes the Ken Burns effect easy. No need to do the math in advance because the script won't distort the picture.
And it's fun watching the cropping preview animated. At least the first few times...... (This is a test version, the current CropResize doesn't accept float for cropping) Code:
CropResize(1280,720) v = Last.Trim(18900,18900).Loop(190) Animate(v, 10, 179, "iCropResize", \ 960,720, 0.0, 40.0, -400.0, -40.0, \ 960,720, 745.0, 120.0, -250.0, -310.0) Animate Cropping Preview.mkv (996kB) Last edited by hello_hello; 11th October 2021 at 14:13. |
|
|