View Full Version : Question: How to shift image?
H0PE
5th August 2006, 15:21
Hi,
I was fiddling with crop, addborders and I've trying to shift the ACTUAL MOVIE to the right -not by making just a border or change the movie size-.
I got a character in the middle of the movie I would like to shift it to the left side and make a black vertical border around it (so I will be left with a 60pixel wide movie scene like in the japanese anime movies "cutting-in" small parts of a screene... Hope I explained it correctly if not I try again).
Could you please help? /ohh boy I had to wait five days in order to make a new topic it was depressive I'm telling you. :)/
neuron2
5th August 2006, 15:26
Crop() and AddBorders() is the right way to do it. Why weren't you successful with that?
First Crop() so that you have just the portion of the frame that you want. Then AddBorders() to restore the rest of the frame with the color you want.
My ShiftWrap (http://www.geocities.com/siwalters_uk/shiftwrap.html) plugin may help you centre the part of the image you want and then BorderControl (http://www.geocities.com/siwalters_uk/bdrcntrl.html) could make the borders.
regards
Simon
stickboy
5th August 2006, 19:47
Hi,
I was fiddling with crop, addborders and I've trying to shift the ACTUAL MOVIE to the right -not by making just a border or change the movie size-.
I got a character in the middle of the movie I would like to shift it to the left side and make a black vertical border around it (so I will be left with a 60pixel wide movie scene like in the japanese anime movies "cutting-in" small parts of a screene... Hope I explained it correctly if not I try again).Huh? Exactly where do you want the black vertical border to appear? On the right side of the frame or in the middle?
If your frame is:
+--------------+
| o o |
| /|\ /|\ |
| / \ / \ |
+--------------+
do you want your result to be:
+--------------+
| o XXX o |
|/|\XXX /|\ |
|/ \XXX / \ |
+--------------+
or
+--------------+
| o o XXX|
|/|\ /|\ XXX|
|/ \ / \ XXX|
+--------------+
? Also you say you want to shift the movie right but a character left, which is even more confusing.
:stupid:
Sorry - I hadn't realised that I hadn't ported ShiftWrap to Avisynth.
But it works fine in VirtualDub :)
regards
Simon
Floatingshed
13th May 2009, 13:44
I use shiftwrap in Vdub a lot and it is excellent. Is there a version for Avisynth anywhere? I'd like to do all my filtering in Avisynth so that I can use fast recompress in Vdub and avoid colour space changes.
Thanks.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.