How/where to encode MV-HEVC stereo video?

Where can I find sample video, sample encoding apps, viewing apps, etc?

I see specs, high level explanations, etc. but not finding any samples or command lines or app documentation to explain how to make and view these files.

Thank you, looking forward to promoting a spatial video rich future.

Post not yet marked as solved Up vote post of richoncode Down vote post of richoncode
2.2k views

Replies

Also curious on this. The visionOS (beta 3) SDK does include a sample Spatial Photo in the Photos app, but I've not come across any sample MV-HEVC videos or tools to convert any media into MV-HEVC. It's worth nothing that there are some AVAssetExportPresets that support MV-HEVC (such as this AVAssetExportPresetMVHEVC1440x1440, but I've not been able to get it to work with any media; it just throws an error off the bat.

  • Same on my end. Have you gotten any progress?

  • Has anyone gotten this to work yet? I am having the same issue where trying to use the MV-HEVC presets throws an error.

Add a Comment

Not sure if this is it, but when you open a movie in quicktime, you can do export > 4k> and choose HEVC. I used that to convert a video which I'm trying to show as a 360 video using the script from here: https://developer.apple.com/forums/thread/734081 Although it seems strange that there is no better way to show 360 content to the user, let alone stereoscopic 360 content. @Apple, any tips?

You can encode a left/right stereoscopic video into MV-HEVC on Halocline, https://haloclinetech.com. I am directly involved in the app's production, so I would be happy to help out with any of your needs.

  • This is a developer forum. As such, a helpful answer would include how to perform the task using APIs, SDKs, etc. Not advertising (what I'm sure is a good) commercial service. What APIs are you using at Halocline to do the conversion, for example?

  • @Altidor It would be helpful if the MV-HEVC to Stereo function maintained the source file name in the output and appended _SBS. The app generated file names are random and can't be associated with the originals.

Add a Comment

Hi, I would like read the left and right image from an apple 3D Spatioal Video (mv-hevc). I have a code for read 2D Videos with AVAssetImageGenerator. Can you help me with Xcode, Objective C?

NSURL *inputVideoURL = [NSURL fileURLWithPath:inputVideoPath]; AVURLAsset *inputAsset = [AVURLAsset URLAssetWithURL:inputVideoURL options:nil]; AVAssetImageGenerator *imageGenerator = [AVAssetImageGenerator assetImageGeneratorWithAsset:inputAsset]; for (int i=1;i<=maxx;i++) { CMTime time = CMTimeMake(i, (int32_t)frameRate); //CMTimeMakeWithSeconds(i * (1.0 / frameRate), CGImageRef imageRef = [imageGenerator copyCGImageAtTime:time actualTime:NULL error:&error]; UIImage *image=nil; image = [UIImage imageWithCGImage:imageRef];
}

Has anybody found a way to convert Full Side by Side 3D videos to the MV-HEVC format in 4K? I've used the app Spatialify to convert my 3D content to 1080P MV-HEVC but am not finding anything that will do this for 4K. Is it Possible? With the Vision Pro launching Friday, I'd think there would be an official Apple converter to use to perform this task

  • Have you found anything on this yet? I'm searching everywhere but I can't find any program to convert to mv hevc.

  • Spatial Media Toolkit on the Mac and VisionOS App store does it

Add a Comment

If you want the end of this video (around 8:20) https://www.youtube.com/watch?v=BHtKOxGEiAw

You'll see the 3D guru Hugh Hou talk about using this free command line tool from Mike Swanson:

https://blog.mikeswanson.com/spatial

It works ready well.

The Spatialfy app works too, but I like the control, performance and overall look of the final product using the command line.