media icon indicating copy to clipboard operation
media copied to clipboard

Videos filmed vertically are rotated 90 degrees on Android 9

Open giejay opened this issue 2 years ago • 0 comments

Version

Media3 1.2.1

More version details

I developed an Android TV app: https://github.com/giejay/Immich-Android-TV

Unfortunately, a user discovered a bug when playing videos which are filmed vertically (yes I know, deadly sin). The videos are rotated 90 degrees, but the viewscope is correct. I tried different "solutions" with rotating the video but it's not working for me.

Bug is described here: https://github.com/giejay/Immich-Android-TV/issues/7

Devices that reproduce the issue

Sony Bravia with Android 9

Devices that do not reproduce the issue

Emulators with Android 11-14

Reproducible in the demo app?

Not tested

Reproduction steps

It's reproducible by installing the Android TV app (https://play.google.com/apps/testing/nl.giejay.android.tv.immich) and playing the video in the Test Vertical Video album of the demo environment.

Expected result

Media plays in correct rotation

Actual result

Video is played rotated

Media

https://photos-demo.giejay.nl/share/yI3IO4JBVT_FJojSFNxUunHwGAVlaQ_78fhWMzYL2wDz5sRNapxUcr8nIVSCJ2smkaA

Bug Report

  • [X] You will email the zip file produced by adb bugreport to [email protected] after filing this issue.

giejay avatar Feb 04 '24 13:02 giejay