Stereogram plugin, for video

I’ve done a quick search but couldn’t find anything. I’ve become more interested in stereoscopic images lately.
Now, to be honest, I’m not even completely sure what they’re called.

You have two images next to each other, and when you look cross-eyed at them, you see 3d.

I wonder if there’s any plugin to do this for video? You can do it for stills manually: Render a cam nr.1 , render cam nr2, paste the images next to eachtother in a editing program.
I’d really like this to be possible for video as well. Could anyone help? :smiley:

I take it there’s no such plugin? How difficult would it be to create one?:o

i use gstreamer to combine videos
for example to combine from 2 videos with width 320 both
and use only the left half of 160pixels of each video:

gst-launch-0.10 videomixer name=mix ! ffmpegcolorspace ! \
timeoverlay ! ffmpegcolorspace ! \
theoraenc quality=63 ! queue ! oggmux ! \
filesink location=OUTPUT.ogg \
filesrc location=FIRSTAVI ! decodebin ! queue ! ffmpegcolorspace ! \
videobox border-alpha=0 left=0 right=160 top=0 bottom=0 ! \
alpha method=1 ! ffmpegcolorspace ! mix. \
filesrc location=SECAVI ! decodebin ! queue ! ffmpegcolorspace ! \
videobox border-alpha=0 left=-160right=160 top=0 bottom=0 ! \
ffmpegcolorspace ! identity single-segment=true ! mix.

if you want to use the full width of each video, it is a bit complicated because
the settings for the videobox “left” and “right” are the settings for the borders,
and those are needed to have the space for both videos.
If i remember it right it would be
left=0 right=-320 for the first and left=-320 right=0 for the second one

  • you can remove the timeoverlay if you dont want the counting seconds …

I don’t know a lot about python, but that seems relatively difficult to me. Wouldn’t there be an easy script which said:

Render camera 1
Render camera 2
Create blank image 2Xsize * Ysize
Paste camera 1 image in right half
Paste camera 2 image in left half

That sounds relatively easy, but I don’t know how easy you can implement this?