View Full Version : How to shift a video?
DJ Bobo
21st November 2002, 03:31
Please take a look at the picture below (320x240)
Is there a way to get the 4 lines at the left back to the right?
Guest
21st November 2002, 05:21
Here you go. I used Simon Walters' VirtualDub filter "ShiftWrap".
ErMaC
21st November 2002, 07:49
s=AVISource("blah.avi")
return StackHorizontal(s.Crop(4,0,0,0),s.Crop(0,0,4,0))
N_F
21st November 2002, 09:33
That was a weird picture... at first I thought it looked like a butt with something between it... :) But now I see the two faces.
Boulder
21st November 2002, 10:19
Yeah, me too. I was thinking like "butt, face - whatever!" :D
Sorry, just couldn't help myself:devil:
DJ Bobo
21st November 2002, 15:51
Oh, never realized it looked like a butt :eek:
Anyway, thanks for your help.
But now, I've got a new problem, I just realized that those 4 lines are shifted one pixel down.
How to push them one pixel to the top?
Xenoproctologist
21st November 2002, 18:11
last = whateversource()
return stackhorizontal(
\ last.crop(4,0,0,0) ,
\ stackvertical(
\ last.crop(0,0,4,-1) ,
\ last.crop(0,last.height-2,4,1)
\ )
\ )
DJ Bobo
22nd November 2002, 01:55
Well, the AviSynth solutions didn't work (got a 4x0 window in VirtualDub), but thanks for pointing stackhorizontal out.
I managed to find a solution to this using it.
Thanks to all for your precious help!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.