Preparing half-dome 360 degree video for vlc or youtube

I have a Kodak pixpro sp360. It takes 360×235 degree video. Almost 360 ‘vr’ but the image is dome – not a sphere. I can’t create a file that vlc will play using the vr/360 degre playback mode without creating terrible distortion.

The files it records look like this

When I open the files in vlc (which supports 360 playback) the files are no 360.

The internet suggested that the mp4 files do not have the required spherical video metadata, and to use google’s spherical-media metadata injector, which I did.

$ python2 -m spatialmedia -i /mnt/DCIM/100SP360/100_0002.MP4 test.mp4
Saved file settings
    Track 0
        Spherical = true
        Stitched = true
        StitchingSoftware = Spherical Metadata Tool
        ProjectionType = equirectangular
    Track 1

vlc will now play the test.mp4 in 360 mode but it is projected into a full sphere, not the hemisphere that I expected. The image is distorted and the edge is stitched together. The East and West edges of the dome are joined to form the bottom of the sphere and North and South are stretched.

How can I create a video the vlc and youtube will play using their VR/360 degree players without stretching the dome video to a sphere?

Leave a Reply

Your email address will not be published. Required fields are marked *