-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Video Playback Failure on Older Devices #11689
Comments
For me videos with Resolution higher or equal 4K are also not played. It comes a greyished picture. Ok- I have no transformation added - this is ok. but the problem is, that after this no video will bot more played, also smaller videos which worked before! |
I face the same behavior. Happy to help debug this @alextran1502 . I think this is related to https://www.reddit.com/r/immich/comments/1e31v52/screen_going_gray_when_playing_some_videos_in_app/ |
I am getting a similar/same issue on Android. I only noticed it recently. I am using 1.115.0. New videos, shot on iPhone but viewed on Android, result in a Flutter error and greyed-out screen. Old videos --- which worked before --- continue to work, even though there is no change in transcoding settings. I downloaded the transcoded videos on desktop and verified both are transcoded appropriately (h264 mp4, 720p, aac) --- but the new one just doesn't play through the Immich app on Android. Videos play fine on Android via browser, and are fine on iOS and desktop browser too. |
Tried logging out, clearing cache, and logging in again on Android; same behavior. |
I'm seeing the same issue using v1.116.2 server. The problematic videos are shot from iPhone and can't be view on Android app. |
I'm experiencing the same issue. Videos uploaded without modification from an iPhone 13 will not play through the Immich app on a Google Pixel 7 Pro. The same grey screen is shown with the media controls. Occurs on v1.117.0. |
The issue is the Android player doesn't support Dolby HDR recording from iOS |
@alextran1502 Ok that makes sense. Is there something I can change within Immich to allow playback on Android? |
We will need to experiment with some transcoding options to make it compatible with Android player |
I am able to get videos to play by switching from h264 to HEVC. (This leads to the expected issue that it doesn't work on desktop due to poor HEVC browser support.) |
Same issue here - iOS video uploads get greyed out on android app. Playback works fine on desktop chrome. Videos uploaded on iPhone 13 mini. The most recent video from that phone that works is 9/13/2024 and the first broken video is 9/17/2024. I think this phone upgraded to ios18 probably on 9/16, so thats the smells like the smoking gun. |
At the risk of sounding crazy, would "multiple transcode targets" be a viable option? For me, h264 works fine on desktop (and mobile via browser), while h265 works fine on mobile app, so everything would be solved if videos could be transcoded twice. Long-term, this seems like a cool feature, as for example low/medium/high quality could be selected, and a higher efficiency codec could be used for mobile. |
I face the same issue with 1080p videos. Web browser works fine though! |
I can say that I am dealing with the same issue. I've changed and played with the transcoding settings, which should make the video work, but I'm still getting the consistent error on all videos from iOS. The web app works to play them and if I download the video directly to my phone I can play it on the device. But they won't play in the Immich app. |
@Deldion Yeah, this ticket was a dupe of a bunch of other tickets, and I think the title is a little misleading --- it's not AFAIK related to the age of the Android, it's related to HDR iPhone videos being transcoded into an unsupported format for the Android player used in the Immich app (but like you said, the device/web browser support the videos just fine). I'm guessing changing the app's video player library is a real pain, so I think the solution that's been mentioned is to play with the transcoder settings until something works. (Unless the app's video player library gets updated, which would be great.) |
I am also seeing that I cannot download from the android app. Can my issue be relevant to this? |
This issue should be fixed in the next release. When |
Works for me on I am using RKMPP hwaccel, h264, and freshly transcoded videos will play on both browser and Android 🥳 |
@bbklopfer Great news! I'm re-encoding everything now and expect the same results. |
I re-encoded my entire video library and still have the same issue , grey video playback on my Android devices.
Result:
|
@x-real-ip Do you have a sample video that you can zipup and post here? |
@x-real-ip I can upload and play video on the Pixel 8 as well as the iPhone 16. I wonder if you have different transcoding settings? Can you reset your transcoding settings to default? |
@alextran1502 Thanks for checking this out! Weird that it doesn't work on my side I have Pixel 7 with LineageOS. I also tested this after a setting reset but without success, still seeing the grey screen and error in the app log
|
also I get this on Galaxy S24+ |
The bug
I installed the Immich app on an older Android phone (Samsung A40), and after viewing a few videos, it refuses to load. I tried to replicate the issue on other phones, but I couldn't; it only happens on this particular device. I assume it might be related to the phone's RAM or other hardware limitations.
The OS that Immich Server is running on
Truenas Scale
Version of Immich Server
v1.111.0
Version of Immich Mobile App
v1.111.0 build.152
Platform with the issue
Your docker-compose.yml content
N/A
Your .env content
Reproduction steps
Relevant log output
Additional information
The text was updated successfully, but these errors were encountered: