heic not showing up
-
I am experiencing this weird bug where images from an iPhone will not show up on an android device or the online UI if they are heic files. Is immich missing a necessary package here or does anyone have an idea whats wrong?
-
@andreasdueren said in heic not showing up:
I am experiencing this weird bug where images from an iPhone will not show up on an android device or the online UI if they are heic files. Is immich missing a necessary package here or does anyone have an idea whats wrong?
When I manually trigger thumbnail creation my logs get spammed with this stuff:
Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 1b81885f-d8f3-4da3-8906-db3486206347 Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to trigger object detection pipe line Error: getaddrinfo ENOTFOUND immich-machine-learning Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: ca7ae830-6b29-42a7-a2cb-c6473b32c1c3 Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 9877c8f2-1285-4510-ac5f-809c808a58ba Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 6402974a-b685-470b-b65e-7454c5e47e6a Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: d2adef2d-0966-442b-8624-fda4484f81e5 Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: f8c8fff7-c6b7-46ca-946d-40d15ffdf55f Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 05e25ebc-4d9f-4ef5-b359-81be79935ed5 Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to trigger object detection pipe line Error: getaddrinfo ENOTFOUND immich-machine-learning Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 50c6230b-99a7-4e06-b1ce-317e06967b81
-
N nebulon marked this topic as a question on
-
So what I found so far is that immich is using https://www.npmjs.com/package/sharp for thumbnail generation which in turn uses https://github.com/libvips/libvips which should be setup for heic in the package, still so far I had not succeeded to let it generate thumbnails. Have to debug this further. For the interested, the upstream change adding heic support was https://github.com/immich-app/immich/commit/38c968d47e8f24237228a6204de59aac3c601313
-
Looks like this is still not working well https://github.com/immich-app/immich/issues/3943
Also though it might be not of too much use actually given https://caniuse.com/?search=HEIC