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.
| Video Codec | H.264 |
| Bitrate | 15M |
| Resolution | 2160p |
| Audio | AAC |
| Container | MP4 |
ffmpeg -i input.mp4 -c:v libx264 -b:v 15M -vf "v360=equirect:cubemap" -c:a aac -b:a 192k -movflags +faststart output.mp4
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.
A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.