immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
39.43k stars 1.86k forks source link

Transcoded videos don’t play any more in Mac Safari #10814

Open Str1atum opened 1 week ago

Str1atum commented 1 week ago

The bug

Since 1.107 the recoded videos don’t play in Mac Safari 17.5 any more. File itself is loaded and can be downloaded, but it is not playable. Chrome on same machine works fine.

The OS that Immich Server is running on

Ubuntu 24.04

Version of Immich Server

1.107.2

Version of Immich Mobile App

1.107.2

Platform with the issue

Your docker-compose.yml content

Standard

Your .env content

Standard

Reproduction steps

1. Open a video in Mac Safari
2.
3.
...

Relevant log output

No response

Additional information

No response

alextran1502 commented 1 week ago

Do you use iOS 18? Do older videos work, or just newly updated ones?

mmomjian commented 1 week ago

How are you connecting? Using any proxy?

Str1atum commented 1 week ago

Do you use iOS 18? Do older videos work, or just newly updated ones?

Just on Mac, iOS works fine. All videos affected.

Str1atum commented 1 week ago

How are you connecting? Using any proxy?

Traefik 3.0.4 with let’s encrypt certificate

mmomjian commented 1 week ago

Please connect directly to ipaddress:2283

Str1atum commented 1 week ago

Please connect directly to ipaddress:2283

tried that and disabled Traefik - direct connect with only HTTP - still the same error, just a spinning wheel and the video doesn't play.

elisiariocouto commented 1 week ago

I'm having the same issue. Safari 18.0 on macOS 15 Developer Beta 2. Cloudflare Proxy + Caddy. If I copy the video URL and open it in a new tab, it works. In Safari's developer tools, I can see some 206 but with an error color:

Screenshot 2024-07-04 at 19 55 36

Seems like the same behaviour as https://github.com/immich-app/immich/issues/1197

EliasMarine commented 1 week ago

I am having the same issue, running immich v1.107.2 on Unraid v6.12.10, Safari version 17.5 (19618.2.12.11.6) and macOS Sonoma 14.5.

When previewing the thumbnail in safari, the video plays fine.

No playback issues using Brave/chrome browsers.