Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

视频比例不是16:9的时候出现bug #12

Closed
Tuluobo opened this issue Aug 25, 2016 · 4 comments
Closed

视频比例不是16:9的时候出现bug #12

Tuluobo opened this issue Aug 25, 2016 · 4 comments

Comments

@Tuluobo
Copy link

Tuluobo commented Aug 25, 2016

我做的是手机屏幕录制,录出来的视频横屏的时候就会出现一半的效果,你的约束应该是对于设置的size中心对齐,宽高以最大的那个缩放,oc的项目也有这个问题。

@Tuluobo
Copy link
Author

Tuluobo commented Aug 25, 2016

http://tuluobo-com.oss-cn-hangzhou.aliyuncs.com/20160825-163206.mp4
一个测试视频,可以测试一下。

@BrikerMan
Copy link
Owner

应该是 AVLayerVideoGravity 设置的问题,最新版本已支持修改该属性,你试试看看。

@BrikerMan
Copy link
Owner

@Tuluobo 给个反馈呗

@Tuluobo
Copy link
Author

Tuluobo commented Nov 22, 2016

@BrikerMan 谢谢 嗯 是可以正确使用了,前面主要用是的frame,修改成SnapKit设置就正常了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants