ffmpuzzle
Puzzle #44 · Standard · 5 params

H.264 · Bitrate 15M · 2160p · AAC · MP4

The scenario

VR 360-degree video for Oculus/Meta Quest headset. H.264 at 4K equirectangular at 15 Mbps (Meta recommends H.264 for Quest 2 compatibility), AAC/MP4 for the Meta platform. The viewer only sees ~90 degrees at a time.

The answer

Video CodecH.264
Bitrate15M
Resolution2160p
AudioAAC
ContainerMP4

The command

ffmpeg -i input.mp4 -c:v libx264 -b:v 15M -vf "v360=equirect:cubemap" -c:a aac -b:a 192k -movflags +faststart output.mp4

Why

360-degree video is wasteful by design: the viewer only sees about 25% of the frame at any time, meaning 75% of pixels are decoded but never displayed. This is why Meta and Apple are pushing for viewport-adaptive streaming.

Play

A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.

$ play today's puzzle

← all puzzles