|
|
| Denizen |
| Posted: Aug 24 2012, 01:03 AM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 35350
Joined: 24-August 12

|
I need a plugin for VDub that mirrors the video along a set line. For example, the right side of this video has a person, the left side doesn't. I set this line to mirror down the middle, now the left side also has a person except that person is a mirror image of the person on the right. Get what I'm saying?
Help would be appreciated VERY much so since these forums are kind of inactive. |
 |
| dloneranger |
| Posted: Aug 24 2012, 05:10 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
I don't think I've seen one of those
AviSynth can do it though Install that and then make a new file - lets call it mirrored.txt edit that and paste these lines into it
| CODE | # put correct video name here orig = avisource("H:\Video Output\lags\All American Girls.avi")
# keep 320 pixels wide and 480 high # change these numbers to match the 'left' bit of your video vidleft = orig.crop( 0,0,322,480 ) vidright = vidleft.fliphorizontal()
finished = stackhorizontal(vidleft, vidright) return(finished)
|
(replace the video name with your own file)
Then rename mirrored.txt to mirrored.avs and load it with virtualdub
That should give you something like

-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| Denizen |
| Posted: Aug 24 2012, 03:42 PM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 35350
Joined: 24-August 12

|
| QUOTE (dloneranger @ Aug 24 2012, 05:10 AM) | I don't think I've seen one of those
AviSynth can do it though Install that and then make a new file - lets call it mirrored.txt edit that and paste these lines into it
| CODE | # put correct video name here orig = avisource("H:\Video Output\lags\All American Girls.avi")
# keep 320 pixels wide and 480 high # change these numbers to match the 'left' bit of your video vidleft = orig.crop( 0,0,322,480 ) vidright = vidleft.fliphorizontal()
finished = stackhorizontal(vidleft, vidright) return(finished)
|
(replace the video name with your own file)
Then rename mirrored.txt to mirrored.avs and load it with virtualdub
That should give you something like
| That's exactly what I wanted, thanks. I was just looking for a plugin as I'm actually using VideoPad and it supports most VirtualDub plugins, but I'll just use a combo of both, thanks |
 |
| dloneranger |
| Posted: Aug 24 2012, 05:26 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Yeah, it'd be a really limited use plugin though, so I can't see anyone going to the effort to be honest Avisynth is brilliant at that kind of thing though, just doing a mirror effect barely scrapes the surface of it
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |