Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to play 360 mp4 vids?

I'm fascinated by the 360 videos on YouTube as of recently. I'd like to develop a sample Android application that can play a 360 video and be able to pan/swipe with it along with being able to use accelerator/gyroscope.

Few questions:

  1. What file format is 360 video? Where can I download sample 360 video?
  2. Is it even possible to use Android library to play 360 video? If so, what player would I need to use to "play" 360 video?
  3. How can I handle pan/swipe for a 360 video played by the native player?
  4. Is it possible to play an existing YouTube 360 video using Android native Player? And at the same time be able to handle pan/swype/gyro?

Please provide a code sample. Thanks!

like image 970
code Avatar asked Jan 29 '16 05:01

code


People also ask

Can VLC play 360 videos?

How to playback the 360° video. Open VLC Media Player and go to Media ‣ Open File and browse to the directory of the video file and double click to open it (or) Press Ctrl+O and choose the video file to open it. After opening the file, you can experience the 360° video by using any one these methods.

How can I watch 360 videos on my phone?

More videos on YouTubeOpen your YouTube app on your mobile phone. Proceed to the 360Video House Channel and search for “#360Video” and visit the channel. You're in the right channel if you see this avatar. Choose a video you want to play on the channel then start playback.


1 Answers

360 Videos are just videos recorded by a 360 camera. What separates them from a normal video is just the meta data.

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

like image 147
Salman Tariq Avatar answered Nov 15 '22 09:11

Salman Tariq