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

I found that the result of getting the video direction is not very accurate. #97

Open
CNHarrySun opened this issue Oct 31, 2019 · 0 comments

Comments

@CNHarrySun
Copy link

Hello,I found that the result of getting the video direction is not very accurate.
Have you tried Vertical shooting, Horizontal screen recording, Horizontal shooting and Game moment?

It's my test log:

CGAffineTransform transform = videoTrack.preferredTransform;
Vertical screen recording:
a CGFloat 1
b CGFloat 0
c CGFloat 0
d CGFloat 1
tx CGFloat 0
ty CGFloat 0

Vertical shooting:
a CGFloat 0
b CGFloat 1
c CGFloat -1
d CGFloat 0
tx CGFloat 1080
ty CGFloat 0

Horizontal screen recording:
a CGFloat 0
b CGFloat -1
c CGFloat 1
d CGFloat 0
tx CGFloat 0
ty CGFloat 0

Horizontal shooting:
a CGFloat 1
b CGFloat 0
c CGFloat 0
d CGFloat 1
tx CGFloat 0
ty CGFloat 0

Game moment:
a CGFloat 1
b CGFloat 0
c CGFloat 0
d CGFloat 1
tx CGFloat 0
ty CGFloat 0

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

1 participant