How to rotate video portrait to landscape

泄露秘密 提交于 2019-12-11 21:15:55

问题


I am playing video with MPMoviePlayer in my application. How i rotate video in my iphone landscape to portrait and vice versa.


回答1:


You can't, without using a private API call, but you can synthesize it - you need a pre-rotated video file.

You can also look at playing the video in a UIWebView

For details see this thread http://www.iphonedevsdk.com/forum/iphone-sdk-development/2146-can-you-force-movie-play-portrait-mode.html#post125287



来源:https://stackoverflow.com/questions/2855149/how-to-rotate-video-portrait-to-landscape

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!