This tutorial explains how to create a stereoscopic (3D) 360 video with AutopanoPro v2.
The idea is to create one video for left eye and one video for right eye. After, we just have to merge the two videos in one.
The 3D 360 video can be watched with
Kolor Eyes Desktop and Oculus Rift device.
The solutions used to create this tutorial are:
Autopano Video Pro 2.0.0
Autopano Giga 4.0.0
STITCHING
For the first steps (synchronization, stitching, stabilization and color correction), do exactly the same as you would do for non-stereoscopic videos, with all the source videos into a same project.
ASSIGNING EYES
To generate a stereoscopic video, we need to render the videos separately, one for the left eye and one for the right eye.
To do so, we need to tell Autopano Video what goes left and what goes right. Click on "Render" button, go to the "Stereo settings" tab and click on "Stereo mode" to enable stereo rendering. From here, you can assign each source video, or side of source video, to an eye.
Each source video can be assigned in 5 different ways:
Left and right: the source will be used in both left and right renderings. This option is especially useful for zenith and nadir cameras.
Left only: the source will be used only in the rendering for the left eye.
Right only: the source will be used only in the rendering for the right eye.
Vertical split: the left side of the source will be used in the rendering for the left eye, and the right side of the source will be used in the rendering for the right eye.
Horizontal split: the top side of the source will be used in the rendering for the left eye, and the bottom side of the source will be used in the rendering for the right eye.
RENDERING
At the bottom of the tab "Stereo settings" choose the eye you want to render. Then, if you click on Apply button, the settings will be used in the preview. If you click on OK, this eye will be rendered. Render the both eyes this way in two separate video files.
MERGE THE TWO VIDEOS
You can use a tool like ffmpeg (
www.ffmpeg.org/download.html) to merge the videos into one.
Video Over/Under
Here is the command line to have a video with left eye on top and right eye on bottom :
ffmpeg -i left.mp4 -vf "[in] pad=iw:2*ih [left]; movie=right.mp4 [right];[left][right] overlay=0:main_h/2 [out]" output.mp4
Video Side by Side
Here is the command line to have a video with left eye on left and right eye on right :
ffmpeg -i left.mp4 -vf "[in] pad=2*iw:ih [left]; movie=right.mp4 [right];[left][right] overlay=main_w/2:0 [out]" output.mp4