Videos are playing upside down in the web client #5340

Closed
opened 2026-02-05 11:21:50 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @mike12806 on GitHub (Feb 9, 2025).

The bug

Hi - i'm seeing a recurring bug - original GH issue here: https://github.com/immich-app/immich/issues/13519

Some videos are playing upside down (180 degrees rotated). Seems to be impacting new videos taken since the 1.25.7 upgrade I think....

The OS that Immich Server is running on

Ubuntu / Kubernetes

Version of Immich Server

v1.125.7

Version of Immich Mobile App

v1.125.7

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

I'm using Kubernetes and installing via helm chart

Your .env content

N/A

Reproduction steps

Video was taken on an iphone 15 pro max (1080 x 1920 resolution; .mov file type)

Relevant log output

N/A

Additional information

No response

Originally created by @mike12806 on GitHub (Feb 9, 2025). ### The bug Hi - i'm seeing a recurring bug - original GH issue here: https://github.com/immich-app/immich/issues/13519 Some videos are playing upside down (180 degrees rotated). Seems to be impacting new videos taken since the 1.25.7 upgrade I think.... ### The OS that Immich Server is running on Ubuntu / Kubernetes ### Version of Immich Server v1.125.7 ### Version of Immich Mobile App v1.125.7 ### Platform with the issue - [ ] Server - [x] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML I'm using Kubernetes and installing via helm chart ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps Video was taken on an iphone 15 pro max (1080 x 1920 resolution; .mov file type) ### Relevant log output ```shell N/A ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Feb 9, 2025):

Do you have transcoding enabled?

@alextran1502 commented on GitHub (Feb 9, 2025): Do you have transcoding enabled?
Author
Owner

@mike12806 commented on GitHub (Feb 9, 2025):

Do you have transcoding enabled?

Yes I do but I don’t believe this video would’ve met the criteria for transcoding.

@mike12806 commented on GitHub (Feb 9, 2025): > Do you have transcoding enabled? Yes I do but I don’t believe this video would’ve met the criteria for transcoding.
Author
Owner

@mike12806 commented on GitHub (Feb 9, 2025):

Oh. Just seeing this.

“HDR videos will always be transcoded” - then yes it would be subject to transcoding as I record in 1080p 60 FPS with HDR on

@mike12806 commented on GitHub (Feb 9, 2025): Oh. Just seeing this. “HDR videos will always be transcoded” - then yes it would be subject to transcoding as I record in 1080p 60 FPS with HDR on
Author
Owner

@alextran1502 commented on GitHub (Feb 9, 2025):

Is there a sample video you can post or if you can try on a different browser?

@alextran1502 commented on GitHub (Feb 9, 2025): Is there a sample video you can post or if you can try on a different browser?
Author
Owner

@mike12806 commented on GitHub (Feb 9, 2025):

Happens in desktop chrome (will have to grab version, but should be latest) but not on mobile safari. I think the video likely has identifiable metadata (geolocation) so I'd rather not post publicly. Do you have somewhere else I can send it that's a bit more private?

Seems like possibly a chrome issue though....

@mike12806 commented on GitHub (Feb 9, 2025): Happens in desktop chrome (will have to grab version, but should be latest) but not on mobile safari. I think the video likely has identifiable metadata (geolocation) so I'd rather not post publicly. Do you have somewhere else I can send it that's a bit more private? Seems like possibly a chrome issue though....
Author
Owner

@mike12806 commented on GitHub (Feb 10, 2025):

@alextran1502 sorry meant to post back yesterday; I re-transcoded and all seems well now. I'm OK with closing unless you want to explore further?

@mike12806 commented on GitHub (Feb 10, 2025): @alextran1502 sorry meant to post back yesterday; I re-transcoded and all seems well now. I'm OK with closing unless you want to explore further?
Author
Owner

@brentkearney commented on GitHub (Feb 18, 2025):

Requesting this issue be re-opened, because I am seeing this as well, with v1.126.1 and uploads of portrait oriented videos from an iPhone 15 pro, 2160x3840, HEVC. No issues with landscape ones from the same device, but the two portrait orientation ones consistently get inverted. They are probably HDR, I'm not sure. Here is the Codec Details from VLC:

Image

Here is a link to one of the videos that this is happening with, (52.8MB) from my cloud storage service.

If I choose "Refresh encoded videos" that does not help. @mike12806 is that what you meant by "re-transcoded", or did you do something else?

If I transcode it myself with Handbrake from the original .mov container to an h.264 .mp4 file, and replace with upload, then the orientation stays upright.

@brentkearney commented on GitHub (Feb 18, 2025): Requesting this issue be re-opened, because I am seeing this as well, with v1.126.1 and uploads of portrait oriented videos from an iPhone 15 pro, 2160x3840, HEVC. No issues with landscape ones from the same device, but the two portrait orientation ones consistently get inverted. They are _probably_ HDR, I'm not sure. Here is the Codec Details from VLC: ![Image](https://github.com/user-attachments/assets/3f9f126d-7fc7-4982-8a77-28eda6d45d10) Here is a [link to one of the videos](https://mega.nz/file/d580WKyA#J2Ik7u5KPD6lhipSJg84gxGBjl5AqD-UVQm9C8BMJ4k) that this is happening with, (52.8MB) from my cloud storage service. If I choose "Refresh encoded videos" that does not help. @mike12806 is that what you meant by "re-transcoded", or did you do something else? If I transcode it myself with Handbrake from the original .mov container to an h.264 .mp4 file, and replace with upload, then the orientation stays upright.
Author
Owner

@cpetzel commented on GitHub (Mar 6, 2025):

I also am seeing this issue with ios portrait videos. I am on immich v1.129.0. I have transcoding disabled.

@cpetzel commented on GitHub (Mar 6, 2025): I also am seeing this issue with ios portrait videos. I am on immich v1.129.0. I have transcoding disabled.
Author
Owner

@alextran1502 commented on GitHub (Mar 6, 2025):

I have transcoding disabled.

This will cause that issue since each browser handles MOV files differently

@alextran1502 commented on GitHub (Mar 6, 2025): > I have transcoding disabled. This will cause that issue since each browser handles MOV files differently
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#5340