You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: