Skip to content

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

@CNHarrySun

Description

@CNHarrySun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions