-
Notifications
You must be signed in to change notification settings - Fork 166
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
Error converting HEIC to JPEG #679
Comments
This issue was fixed mid-September: #604 Are you sure your container is up to date? |
I pulled whatever the latest image was on the 26th to resolve the 503 error with --Initialise. 2024-10-30 01:19:39 INFO ***** boredazfcuk/icloudpd container v1.0.987_25-10-2024 started ***** |
And you're seeing the conversion issue with this new build? The version of libheif in the container, which it was confirmed resolves the issue, is 1.18.2-r0. This version was released in August and hasn't changed since then. If you are still seeing the issue on the version you have installed, then the only thing I can think of, is that Apple have changed something again and it's resulting in the same issue. It will need to be fixed by the libheif package maintainers before I can include it here. |
I've now pulled the version released on 3 November, and it seems to be working fine now. Are you saying you didn't change anything between this 1.24.0 and 1.24.3 version? That's strange. 2024-11-06 21:31:15 INFO ***** boredazfcuk/icloudpd container v1.0.993_03-11-2024 started ***** |
Describe the bug
iOS 18 HEIC photos are unable to be converted by icloudpd when using parameter 'convert_heic_to_jpeg = True'.
Expected behaviour
HEIC images are converted to usable JPEG's and contained within same folder as HEIC.
Actual behaviour
Every image that conversion is attempted on results in the error "Invalid input: Unspecified: Metadata not correctly assigned to image (2.0) `/iCloud/2024/10/28/IMG_1516.HEIC' @ error/heic.c/IsHEIFSuccess/144." JPEG image is present in folder, but is 0kb in size and not an actual JPEG.
Quick Google brings up a bug report in another application using the libheif library - ImageMagick/ImageMagick#7426. Solution is to upgrade libheif - strukturag/libheif#1190
System (The following information must be entered or the issue will be closed):
QNAP QTS 5.2.0.2860
Container Station v3.0.8.981
Debug log file
2024-10-29 03:51:21 INFO Convert HEIC files to JPEG
2024-10-29 03:51:21 INFO Convert HEIC to JPEG...
2024-10-29 03:51:21 INFO Converting /iCloud/2024/10/28/IMG_1516.HEIC to /iCloud/2024/10/28/IMG_1516.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1516.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1516.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:21 INFO Converting /iCloud/2024/10/28/IMG_1513.HEIC to /iCloud/2024/10/28/IMG_1513.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1513.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1513.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:21 INFO Converting /iCloud/2024/10/28/IMG_1511.HEIC to /iCloud/2024/10/28/IMG_1511.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1511.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1511.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:21 INFO Converting /iCloud/2024/10/28/IMG_1510.HEIC to /iCloud/2024/10/28/IMG_1510.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1510.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1510.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1508.HEIC to /iCloud/2024/10/28/IMG_1508.JPG
convert: Invalid input: Unspecified: Too many auxiliary image references (2.0)
/iCloud/2024/10/28/IMG_1508.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1508.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1507.HEIC to /iCloud/2024/10/28/IMG_1507.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1507.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1507.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1506.HEIC to /iCloud/2024/10/28/IMG_1506.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1506.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1506.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1505.HEIC to /iCloud/2024/10/28/IMG_1505.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1505.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1505.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1504.HEIC to /iCloud/2024/10/28/IMG_1504.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1504.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1504.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1503.HEIC to /iCloud/2024/10/28/IMG_1503.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1503.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1503.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1502.HEIC to /iCloud/2024/10/28/IMG_1502.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1502.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1502.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1501.HEIC to /iCloud/2024/10/28/IMG_1501.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1501.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1501.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1500.HEIC to /iCloud/2024/10/28/IMG_1500.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1500.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1500.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1499.HEIC to /iCloud/2024/10/28/IMG_1499.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1499.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1499.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1498.HEIC to /iCloud/2024/10/28/IMG_1498.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1498.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1498.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1497.HEIC to /iCloud/2024/10/28/IMG_1497.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1497.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1497.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1496.HEIC to /iCloud/2024/10/28/IMG_1496.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1496.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1496.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1495.HEIC to /iCloud/2024/10/28/IMG_1495.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1495.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1495.JPG' @ error/convert.c/ConvertImageCommand/3362.2024-10-29 03:51:22 INFO Converting /iCloud/2024/10/28/IMG_1494.HEIC to /iCloud/2024/10/28/IMG_1494.JPG
convert: Invalid input: Unspecified: Metadata not correctly assigned to image (2.0)
/iCloud/2024/10/28/IMG_1494.HEIC' @ error/heic.c/IsHEIFSuccess/144. convert: no images defined
/iCloud/2024/10/28/IMG_1494.JPG' @ error/convert.c/ConvertImageCommand/3362.The text was updated successfully, but these errors were encountered: