This fork is designed to fake googles VR180 camera metadata. It uses Spherical Video V2 metadata with the left and right crop set to 1073741823 which is 0x3FFFFFFF or 1/4 of 0xFFFFFFFF.
Note Google may decide to break this as they do not seem to be interested in telling people how to do this.
It should now have have a working gui and should work again with 360 degree videos using the -d or --degree arguements.
To use it you need a copy of python 2.7 (I've not tried it with 3.x) and use the command line or GUI. It seems to work with top bottom and side by side layouts.
Typical usage:
python spatialmedia -i -s left-right -m equirectangular Test_180_3D.mp4 Test_STV2_180_3D.mp4
or
python spatialmedia -i -s top-bottom -m equirectangular Test_180_3D.mp4 Test_STV2_180_3D.mp4
This will take the first file, inject the metadata and write the result out to the second file.
or alternatively
cd spatialmedia python gui.py
to use the simple GUI.
This is basically kodabb/spatial-media sphericaltoolsv2 branch with some hacking around merged into master so anyone wanting to use this doesn't have to play around with branches.
THe original readme details below.
A collection of specifications and tools for 360° video and spatial audio, including:
- Spatial Audio metadata specification
- Spherical Video metadata specification
- Spherical Video V2 metadata specification
- Spatial Media tools for injecting spatial media metadata in media files
Try out Jump Inspector, an Android app for previewing VR videos with spatial audio.