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

MP4 video rotation is wrong if inverted #532

Closed
amerson8s opened this issue Apr 6, 2021 · 2 comments · Fixed by #533
Closed

MP4 video rotation is wrong if inverted #532

amerson8s opened this issue Apr 6, 2021 · 2 comments · Fixed by #533

Comments

@amerson8s
Copy link
Contributor

First of all, lemme thank you guys for this great library, I was able to find the project through stack-overflow.

When a video is taken while the android camera is inverted, like upside down the value is wrong
i.e. it should be -90 instead of 90
after debugging I checked that the code does :
'Math.abs(right degree value);'
It's working fine with iPhone videos
you had this fix 6 months ago
961ad72

can you please apply it for the equivalent class in MP4
com.drew.metadata.mp4.boxes.TrackHeaderBox.addMetadata(Mp4Directory)

Thanks a lot

@drewnoakes
Copy link
Owner

@amerson8s thanks for pointing this out. Can you make a pull request?

@amerson8s
Copy link
Contributor Author

@amerson8s thanks for pointing this out. Can you make a pull request?

Okay, sure.

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

Successfully merging a pull request may close this issue.

2 participants