Laying Back Audio

If you have recorded audio from an external device, you can now sync it to your Depthkit export before taking your clip into the game engine. Since Depthkit exports a standard video file, this can easily be done by laying the audio file back in any video editing program. Note: In the past, we have mentioned applying the audio file as a component in Unity. We do not recommend this, as it will often fall out of sync with the Depthkit clip.

Let's talk about the video editing workflow in an example using Adobe Premiere.

  1. Create a new project in Premiere and import both your combined-per-pixelcombined-per-pixel - A video or image sequence export format, optimized for Unity playback that consists of the color video (top) and depth data (bottom) in a single export. This format provides a performance friendly playback of your volumetric data in the game engine. video and the audio file. Create a sequence from your Depthkit export.
  1. Find the clap in your video and audio for an accurate synchronization.
  1. You can now remove the clap from your clip so you only have the intended select to take into Unity.
  1. Export your clip. It is important to match the source settings from the original combined-per-pixelcombined-per-pixel - A video or image sequence export format, optimized for Unity playback that consists of the color video (top) and depth data (bottom) in a single export. This format provides a performance friendly playback of your volumetric data in the game engine. video file. Reducing the bitrate can impact the quality of the asset in Unity. Once exported, your combined-per-pixelcombined-per-pixel - A video or image sequence export format, optimized for Unity playback that consists of the color video (top) and depth data (bottom) in a single export. This format provides a performance friendly playback of your volumetric data in the game engine. clip with audio is ready for Unity with the poster image and metadata filemetadata file - A text file that holds the camera data of your capture. This file is required to play your recording in Unity..

📘

Color Management

Keep an eye on your color management settings when exporting your Depthkit clip from any video editing tool. Many video editing programs allow you to set your own color workspace. When exporting depth data, it is key to match the source settings of the combined-per-pixelcombined-per-pixel - A video or image sequence export format, optimized for Unity playback that consists of the color video (top) and depth data (bottom) in a single export. This format provides a performance friendly playback of your volumetric data in the game engine.. Introducing altered color settings may introduce artifacts when viewing in Unity. An easy way to avoid this is to export via Adobe Media Encoder, which will not pick up any custom color management settings that are commonly configured in tools like After Effects.