The technique takes flat frames, turns them spheres and places them inside a pyramid. It puts the highest resolution image at the base of the pyramid, while the sides gradually decrease in quality as you go up. In all, each pyramid contains 30 different views, and Facebook creates five streams in various resolutions for each one. The website then saves all 150 versions of your video on its servers and only streams the ones you're looking at, depending on your internet speed. You can see a sample of an image processed using pyramid geometry above.

When 360-degree videos were first launched, Facebook used cube mapping instead of pyramid for the encoding process. That method reduces file sizes, as well, but only by 25 percent. If you have the tech know-how and would like to apply a custom cube filter to videos on your own, Facebook has released its code on Github.

Finally, the company has replaced its video processing system with Streaming Video Engine (SVE). It splits files into several parts in order to upload and encode them separately all at once, speeding up both the encoding process and the playback by 10 times. Bottom line is, the social network continues to refine its features to entice more people to post and consume videos on the site. Not surprising, considering its putting money in ads, and videos are showing tremendous potential.

[Image credit: USA Today/Facebook]