3D Stereo
AVPro Video supports stereoscopic videos in the top-bottom and left-right packed formats. You can set the stereo packing format of your video in the Media Properties panel:
Now when using the InsideSphere shader on a mesh it will automatically map the right part of the video to each eye. See the “Demo_360SphereVideo” scene for an example of how this works.
Optionally you can manually set the material properties. The included shader “InsideSphere.shader” allows you to easily set what format your video is in via a drop-down in the material:
Select “Stereo Debug Tinting” to colour the left and right eyes different colours so you can be sure the stereo is working (green = left, red = right).
An example of how to pack 2 videos together into a left-right stereo packed layout using FFMPEG:
ffmpeg -i left.mp4 -vf "[in] pad=2*iw:ih [left]; movie=right.mp4 [right];[left][right] overlay=main_w/2:0 [out]" stereo.mp4