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

Immich web portrait videos play upside down on Chrome (although thumbnail is the right side up) #14853

Closed
1 of 3 tasks
akshayrvnkr opened this issue Dec 21, 2024 · 3 comments
Closed
1 of 3 tasks

Comments

@akshayrvnkr
Copy link

The bug

Some videos in portrait mode display upside down during playback on Chrome Web (these videos seem to play in HDR mode with full brightness). This issue does not occur on Safari Web, although even this plays the video in HDR.

Non-HDR-like videos play right side up.

The OS that Immich Server is running on

Debian 12 (TrueNAS App)

Version of Immich Server

v1.123.0

Version of Immich Mobile App

1.123.0 build.186

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

TrueNAS internal

Your .env content

TrueNAS internal

Reproduction steps

Just uploaded a video from my iPhone 15 pro max using the app (1.123.0 build.186) and viewed the uploaded result on the web.

The problem seems to occur with videos playing in HDR.

Original thumbnail (right side up):
image
Actual preview and playback is a bit funny:
When it is playing back, it plays in HDR with full brightness upside down, but if I try to take a screenshot of that video playing, it shows up right side up.
image

macOS: Sequoia 15.0
Chrome: 131.0.6778.141

Relevant log output

No response

Additional information

No response

@alextran1502
Copy link
Contributor

Did you modify the transcoding settings? If so, how?

The issue you describe is often because the user choose not to encode the video

@Zvirovyi
Copy link

Zvirovyi commented Dec 22, 2024

Same issue on the Arc browser (Chromium) + macOS 15.2. And yea, all the video transcoding is disabled (can't see any benefits to transcode videos in already efficient HEVC codec). Issue was introduced with the HDR support update.

@alextran1502
Copy link
Contributor

Without transcoding, the browser might not interpretation the metadata correctly, thus the issue you are seeing

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

No branches or pull requests

3 participants