PDA

View Full Version : Make 3D video from 2 cameras


d1g1ta7
14th February 2009, 23:47
I have a recording of an event that comes from two cameras, placed next to each other, with the intent of making a red-blue 3D version. Does anyone know how to or have experience with such a process in AviSynth?

hanfrunz
16th February 2009, 09:43
long, long time ago :-) i wrote a filter for interlaced 3d video (each field=one camera):
http://forum.doom9.org/showthread.php?t=48842

it just takes the RED-channel from one field, and GREEN+BLUE from the other. And mixes them to a new frame. This can be watched with red/cyan glasses.

You can do all the needed operations with internal fuctions as well:

left=directshowsource("cam1.avi").converttorgb32()
right=directshowsource("cam2.avi").converttorgb32()
MergeRGB (ShowRed(left), ShowGreen(right), ShowBlue(right) )