开发者

Getting iOS Video Asset orientation

How can you get the orientation of a video from the assets library?

All the information I get out of the video file开发者_高级运维 shows me the property for orientation is always 0.

Is there anyone who has checked the video orientation from videos that were created using the camera? I'm looking for any solution.

Thanks, D


this is because orientation 0 - Portrait with the home button at the bottom 1 = Portrait (top home button) 2 = Landscape (left home button) 3 = Landscape (right home button)

looks like all the videos you have watched so far have been recorded at orientation 0, which is having the device in portrait mode. lol i record all my videos like that so i guess my videos will also have the 0 property.

PK

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜