Embedding Video

Learn how to embed videos into panoramas which allows for a seamless integration of video in a still panorama.

Adding an image mask

Showing the Mask

Sometimes the edges of the video are visible in the panorama. This is usually caused by the differences in the color spaces that images and videos use. Adjusting Gamma can help, but on high contrast scenes it might not be enough. Adding an image mask to the patched area will help eliminate the video’s edges. You can see an example here.

The following steps mimic the steps in the video tutorial above, but add a few extra steps that are needed for masking.

In Pano2VR:

  1. Extract the patch.

  2. Copy that patch in List View.

  3. In Photoshop (or your editor of choice), add the video and the original patch image to the video timeline.

  4. Add a mask to the video layer. Paint out the the unneccesary parts, as in the video above.

  5. Export the video with the mask.

  6. Then drag the mask from the video layer to the image patch layer.

  7. Invert the mask using Control-I or Command-I.

  8. Hide the video layer.

  9. Export the image patch out as PNG.

  10. In Pano2VR, select the top patch and convert it to a pinned video. Then in the Patch properties, choose the masked video as the patch.

  11. Select the second patch and covert it to a pinned image. Change its file to the inverted patch (the image with the inverted mask).

See also