Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

360 degree video in MPMoviePlayerController

I am trying to develop an iphone application which needs to show a 360 degree video like the one and rotate the video as per the phone movement. How can i do this? Is it possible to do this with normal MPMovieplayer controller?

like image 997
MobX Avatar asked Aug 02 '11 04:08

MobX


1 Answers

I don't think you can do this with a normal MPMoviePlayerController, but there are several libraries out there to achieve this. Have a look here:

  • PanoramaGL
  • Panorama 360

They work with OpenGL and you can embed them in your Objective-C code.

EDIT: As @Mangesh Vyas kindly pointed out those are intended to use with fixed images only. However they might be a suitable starting point for embedding video as well, if you modify the code accordingly. They already do the handling of direction, accelerometer etc. so you don't have to implement all that yourself.

like image 143
Stefan Avatar answered Oct 13 '22 01:10

Stefan