[英]How to rotate video portrait to landscape
I am playing video with MPMoviePlayer in my application. 我正在应用程序中使用MPMoviePlayer播放视频。 How i rotate video in my iphone landscape to portrait and vice versa. 我如何将iPhone风景中的视频旋转到人像,反之亦然。
You can't, without using a private API call, but you can synthesize it - you need a pre-rotated video file. 您不能不使用私有API调用而将其合成-您需要预先旋转的视频文件。
You can also look at playing the video in a UIWebView 您也可以在UIWebView中观看播放视频
For details see this thread http://www.iphonedevsdk.com/forum/iphone-sdk-development/2146-can-you-force-movie-play-portrait-mode.html#post125287 有关详细信息,请参见此线程http://www.iphonedevsdk.com/forum/iphone-sdk-development/2146-can-you-force-movie-play-portrait-mode.html#post125287
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.