I
Immich2y ago
Frey

Heic files not being rendered and are looking like they are corrupted

So I have a problem: I uploaded my whole library using CLI importing tool along with mobile app on my iphone, and some of heic (live) photos are working all good, but there are many of them not being rendered (See attached images). Although if I download an image and change its extension from .heic to .mov, it is being played as a videofile. Is there anything I can do to have my files rendered in immich, even if only as a video file? Thank you!
No description
No description
14 Replies
Frey
FreyOP2y ago
My docker-compose:
Frey
FreyOP2y ago
my env:
Frey
FreyOP2y ago
bo0tzz
bo0tzz2y ago
Are the background jobs still running?
Frey
FreyOP2y ago
Nope, they are done days ago
bo0tzz
bo0tzz2y ago
Have you tried rerunning them? Are there any errors in the microservices logs?
Frey
FreyOP2y ago
I tried rerunning them but I didn't look to logs at the moment of rerun. Which jobs should I rerun to be able to provide more info on this?
bo0tzz
bo0tzz2y ago
Thumbnail generation should be the main one
Frey
FreyOP2y ago
Got it, I'll restart it and will be back with some logs, thank you So basically all the errors on heic files are looking like this:
[Nest] 1 - 07/11/2023, 2:32:27 PM ERROR [JobService] Unable to run job handler: Error: Input file has corrupt header: magickload: Magick: improper image header `upload/library/admin/2023/2023-06-25/2019-01-17 19-28-18_1577306611.HEIC' @ error/tga.c/ReadTGAImage/239 (null)
[Nest] 1 - 07/11/2023, 2:32:27 PM ERROR [JobService] Error: Input file has corrupt header: magickload: Magick: improper image header `upload/library/admin/2023/2023-06-25/2019-01-17 19-28-18_1577306611.HEIC' @ error/tga.c/ReadTGAImage/239 (null)
[Nest] 1 - 07/11/2023, 2:32:27 PM ERROR [JobService] Object:
{
"id": "99323bd6-0159-4b89-98ad-516cff5f91ba"
}
[Nest] 1 - 07/11/2023, 2:32:27 PM ERROR [JobService] Unable to run job handler: Error: Input file has corrupt header: magickload: Magick: improper image header `upload/library/admin/2023/2023-06-25/2019-01-17 19-28-18_1577306611.HEIC' @ error/tga.c/ReadTGAImage/239 (null)
[Nest] 1 - 07/11/2023, 2:32:27 PM ERROR [JobService] Error: Input file has corrupt header: magickload: Magick: improper image header `upload/library/admin/2023/2023-06-25/2019-01-17 19-28-18_1577306611.HEIC' @ error/tga.c/ReadTGAImage/239 (null)
[Nest] 1 - 07/11/2023, 2:32:27 PM ERROR [JobService] Object:
{
"id": "99323bd6-0159-4b89-98ad-516cff5f91ba"
}
Alex Tran
Alex Tran2y ago
Hmm this is strange, can you remove those files from the web interface and upload them from the mobile app again?
Frey
FreyOP2y ago
Okay, it seems more of an issue than I thought. I thought maybe HEIC files are corrupted or something and because of this Immich couldn't properly process them, but then I shot a short video on my Iphone, uploaded it using mobile app and here is what I got: [Nest] 1 - 07/14/2023, 12:04:43 AM ERROR [JobService] Unable to run job handler: Error: Input file is missing: upload/library/admin/2023/2023-07-12/FullSizeRender+2.jpg [Nest] 1 - 07/14/2023, 12:04:43 AM ERROR [JobService] Error: Input file is missing: upload/library/admin/2023/2023-07-12/FullSizeRender+2.jpg
No description
No description
No description
Frey
FreyOP2y ago
Whan I download the file from Immich, it is being properly played as .mov file (and names as FullSizeRender.mov)
Frey
FreyOP2y ago
Also here is the downloaded file for broader context:

Did you find this page helpful?