As you may know Facebook open sourced its ffmpeg filter to convert 360° videos. The source code is available on GitHub and has to be compiled into ffmpeg. This is quite a hassle if you just want to a quick check of the tools capability.
To save you some trouble I converted a test video in every available output layout. Kudos to Finwe for releasing their 360° test images and videos and giving me permission to publish the transformed images.
I converted the equirectangular input video with following command:
ffmpeg -i Orion360_test_video_2048x1024.mp4 -vcodec rawvideo -vf transform=input_stereo_format=MONO:cube_edge_length=512:output_layout=cubemap out.avi
Some of the videos got distorted but I think setting the width
and height
parameters should solve this issue.
Input


Output
cubemap

cubemap_32

cubemap_180

flat_fixed

plane_cubemap

plane_cubemap_32

plane_poles

plane_poles_6

plane_poles_cubemap

Update 27.01.2016
I uploaded a stereo (top/bottom) version too. As far as I can tell the filter is just stacking both eyes on top of each other. I had to downscale some of the stereo images because of their file size.
Dominic
January 26, 2016 — 8:07 pm
None of these are stereoscopic. Anyone tried that?
Miracula
January 27, 2016 — 8:32 pm
Not yet. I would need another demo video/image and a little bit of time 😉
Miracula
January 27, 2016 — 10:41 pm
Okay, I just improvised a test video. Stereo handling seems to be pretty straightforward.
Sacha Griffin
February 4, 2016 — 4:36 pm
The plane_poles are for cylindrical videos with viewing limits top and bottom. So no need to include the nadir/zenith bad data and just get extra overall resolution.
Daniel Morgado
August 3, 2016 — 8:15 am
Is it possible to use this filter the other way around?
cube map -> equirectangular
Miracula
August 4, 2016 — 2:31 pm
I’m afraid that is not possible right now.
John
October 31, 2016 — 10:11 pm
Any information on the Offset Cube Map format?
Miracula
November 1, 2016 — 9:47 pm
I’m not sure what you mean exactly. These 9 formats are all that are currently supported.