Create Little Planet Video with FFmpeg v360 Filter

This guide explains how to use the FFmpeg v360 video filter to convert a standard equirectangular 360-degree video into a “little planet” (stereographic) projection. You will learn the exact command-line syntax, key parameters for adjusting the camera angle, and tips for optimizing the output visual quality.

The Basic FFmpeg Command

To generate a little planet effect, you must map the input video from an equirectangular format to a stereographic output format, and then rotate the virtual camera downward.

Run the following command in your terminal:

ffmpeg -i input_360.mp4 -vf "v360=in=equirect:out=stereographic:pitch=-90:h_fov=300:v_fov=300" output_little_planet.mp4

Parameter Breakdown

Customizing the Projection

You can modify the parameters within the filter string to change the look of your video:

Inverted Planet (Sky Cave)

If you want the sky to be in the center and the ground to wrap around the outer edges, change the pitch to a positive angle:

-vf "v360=in=equirect:out=stereographic:pitch=90:h_fov=300:v_fov=300"

Rotating the Planet (Yaw)

To change which direction the camera is facing horizontally, use the yaw parameter (measured in degrees from -180 to 180):

-vf "v360=in=equirect:out=stereographic:pitch=-90:yaw=45:h_fov=300:v_fov=300"

Zooming In and Out

To change the size of your planet, adjust the field of view (h_fov and v_fov) values: * Zoom Out (Smaller Planet): Increase the FOV values (e.g., h_fov=330:v_fov=330). * Zoom In (Larger Planet): Decrease the FOV values (e.g., h_fov=240:v_fov=240). Keep both values identical to maintain a 1:1 aspect ratio for the circular planet.