SideBySideToMVHEVC Sample converted spatial video not work on visionOS 2 beta 3

https://developer.apple.com/documentation/avfoundation/media_reading_and_writing/converting_side-by-side_3d_video_to_multiview_hevc_and_spatial_video

While using this sample project to convert SBS video into Spatial MVHEVC video, it cannot be recognized as spatial video on visionOS 2.0 Beta 3.

Answered by Vision Pro Engineer in 795166022

The sample code project shows how to generate both an MVHEVC video, and a spatial video (which is an an MVHEVC video with additional metadata). Only spatial videos will play back in the Photos app in the visionOS 2.0 betas. Please make sure you're setting the spatial flags when exporting your video (For example, --spatial --baseline 64.0 --fov 80.0 --disparityAdjustment 0.02)

Accepted Answer

The sample code project shows how to generate both an MVHEVC video, and a spatial video (which is an an MVHEVC video with additional metadata). Only spatial videos will play back in the Photos app in the visionOS 2.0 betas. Please make sure you're setting the spatial flags when exporting your video (For example, --spatial --baseline 64.0 --fov 80.0 --disparityAdjustment 0.02)

SideBySideToMVHEVC Sample converted spatial video not work on visionOS 2 beta 3
 
 
Q