Skip to content
Vargol edited this page Jan 20, 2022 · 4 revisions

Welcome to the spatial-media wiki!

Nothing much to put here except I occasionally get asked about webm and spatial metadata.. This tool will not work with webm, you can use mkvmerge from the mkvtoolnix https://mkvtoolnix.download

For a equirectangular 360 3D video use...

mkvmerge --webm --output new3603Dvideo.webm --projection-type 0:1 --projection-private 0:0x000000000x000000000x000000000x000000000x00000000 --stereo-mode 0:top_bottom_left_first flattened360video:webm

For a equirectangular 360 2D video use...

mkvmerge --webm --output new360video.webm --projection-type 0:1 --projection-private 0:0x000000000x000000000x000000000x000000000x00000000 --stereo-mode 0:mono flattened360video:webm

For a equirectangular 180 3D video use...

mkvmerge --webm --output new180video.webm --projection-type 0:1 --projection-private 0:0x000000000x000000000x000000000x3fffffff0x3fffffff --stereo-mode 0:side_by_side_left_first input_file.webm

For a VR180 (i.e. fisheye 3D) video

mkvmerge -o outvr180.mp4 @vr180_projection.json

vr180_projection.json is included in the github repository snd download.

They should work with mkv too if you remove the -webm.

Clone this wiki locally