Error loading image with Motion Photo (Pixel photos)
I got a problem with Immich (v2.2.3 build 19104095433) loading my photos made with Pixel - they look just fine in other photo apps (albeit often not loading the "motion" part due to lack of support) but Immich doesn't generate thumbnails nor does it display anything unfortunately. Just "Error loading image" error. Also doesn't load metadata.
Log from immich-server that I believe is related to this error:
Some additional info:
- Server has enabled quicksync HW acceleration
- ML service has OpenVino HW acceleration
Should I create an Issue on GitHub or maybe someone has some idea on what's wrong?
10 Replies
:wave: Hey @Crad,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs docs
- Container Status: docker ps -a docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close command, and re-open it later if needed.I am aware of this GH issue: https://github.com/immich-app/immich/issues/11886, but I haven't used immich-go, just straight upload through the web interface (or actually - tried both).
If it's related issue and it's already known then I suppose I might try to submit a PR myself, although I've never worked with TS and Dart before :/
[Issue] Android motion pictures aren't recognized correcty, and the app has an unconsistant behavior (immich-app/immich#11886)
Looks like you have some corrupt source images based on the logs, if that ID is the image in question
I don't really think that's the case - like I've mentioned, every other app opens the image correctly. Pixel photo library opens the animation correctly, so do other file browsers and photo viewers. Motion Photo Viewer (https://github.com/dj0001/Motion-Photo-Viewer) also opens the included animations just fine.
I don't mind sharing a link to example photo (to my selfhosted filebrowser)
If you want to share an example, you'd have to zip up the original and add it here (or share a download link)
FYI a lot of image viewer applications ignore corruptions and instead just show the corrupted image
If only a small bit is corrupted you wouldn't notice it
Attaching two MP photos
A followup question: is support for corrupted images considered? I did notice that I have one corrupted normal JPG file that doesn't display in immich (in other browsers it has this cut off gray area at the bottom)
we are not considering supporting corrupt source images.
Gotcha, not a problem, just asked out of curiosity
You can try using the invalid images env var actually
https://docs.immich.app/install/environment-variables/#general