Tutorial: Convert VR180 to volumetric video and play in Unity

Getting started in Unity

  • Download the Lifecast Volumetric Video Player Unity Package
  • To import the Lifecast player into your project, right click "Assets", then choose "Import Package", then "Custom Package", and select the file LifecastVolumetricVideoPlayerUnity.UnityPackage.
  • If you imported the SampleScene, you can just press play to run the demo, using a video hosted on Lifecast's servers.
  • To change the video to a different URL or local file, select LifecastVideoPlayer in the Hierarchy, then find its Video Player component in the Inspector. From here, you can change the Source or URL of the video.

Processing VR180 and encoding volumetric video for Unity

  • To make your own volumetric video files compatible with this player, you will need to download Lifecast's software for Mac or Windows, and use it to process your VR180 input video. Download Lifecast VR180 to 6DOF Converter.
  • Lifecast's software outputs a directory of images (1 per frame of video), or an uncompressed video file. For proper distribution, you will need to encode your video using h264 or h265. We recomend h264 and 4096x4096 resolution for Unity, although you can potentially go higher depending on where it is deployed. Follow this tutorial on how to use Lifecast's software, and encode the output video to h264 using ffmpeg.

Customize the player for your application

The source code for Lifecast's volumetric video player is included in the Unity package, and available under an MIT license, so you can freely modify it and customize it for your application. This video explains how to build the player in Unity from its separate components. Understanding how these pieces fit together is a good starting point for custom modifications.

© Lifecast Incorporated 2022