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

你好,录完视频压缩后,视频方向不对,请问怎么修改?竖屏拍摄的变为横屏的了 #2

Open
hms040717007 opened this issue Jun 25, 2020 · 3 comments

Comments

@hms040717007
Copy link

No description provided.

@hms040717007
Copy link
Author

而且我发现改了宽高后拍摄,视频底部会有发绿的一条线

@BearRan
Copy link

BearRan commented Apr 10, 2021

在videoTrack的声明后面加CGAffineTransform tmpTransform = videoTrack.preferredTransform;
在videoInput的声明后面加videoInput.transform = tmpTransform;

@zilaiyedaren
Copy link

CGAffineTransform tmpTransform = videoTrack.preferredTransform;
videoInput.transform = tmpTransform;

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

3 participants