5,337
edits
Line 181: | Line 181: | ||
<pre> | <pre> | ||
ffmpeg -i input.mp4 -vf "v360=e:rectilinear:h_fov=90:v_fov=90" output.mp4 | ffmpeg -i input.mp4 -vf "v360=e:rectilinear:h_fov=90:v_fov=90" output.mp4 | ||
</pre> | |||
====Metadata=== | |||
To add 360 video metadata, you should use [https://github.com/google/spatial-media Google's spatial-media]. | |||
This will add the following sidedata which you can see using <code>ffprobe</code>: | |||
<pre> | |||
Side data: | |||
spherical: equirectangular (0.000000/0.000000/0.000000) | |||
</pre> | </pre> | ||