How to play 360 mp4 video?

I have been delighted with 360 videos on YouTube recently. I would like to develop an example application for Android that can play 360 videos and have the ability to pan and scroll with it, as well as the ability to use an accelerator / gyroscope.

A few questions:

  • What file format is 360 videos? Where can I download a sample 360 ​​video?
  • Is it possible to use the Android library to play 360 videos? If so, which player do I need to use to “play” 360 videos?
  • How can I handle panning / scrolling for 360 video played by the main player?
  • Is it possible to play an existing video on YouTube 360 ​​using my own Android Android player? And at the same time be able to handle panning / swype / gyro?

Please provide sample code. Thanks!

+4
source share
1 answer

360 Videos are just videos recorded by a 360 camera. What separates them from regular videos is just metadata.

Use the panframe library for Android / iOS. http://www.panframe.com

+7
source

Source: https://habr.com/ru/post/1626479/


All Articles