Kodi Community Forum
Solved HEIC image fails to load DLL to decode - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Picture Support (https://forum.kodi.tv/forumdisplay.php?fid=265)
+--- Thread: Solved HEIC image fails to load DLL to decode (/showthread.php?tid=359023)

Pages: 1 2


HEIC image fails to load DLL to decode - koawmfot - 2020-12-09

Hello

I am running the latest nightly with the HEIC plugin installed.

HEIC files will not render as the DLL fails to load.  iPhone 11, IOS 14.2

debug log:  https://paste.kodi.tv/erunagedep.kodi

sample file:  https://ufile.io/erot3p8o

Let me know what you guys think// THANKS

2020-12-08 17:53:10.153 T:4584    DEBUG <general>: CInputManager::HandleKey: up (0xf080) pressed, action is Up
2020-12-08 17:53:10.234 T:5268    DEBUG <general>: ADDON: Dll Initializing - HEIF image decoder
2020-12-08 17:53:10.234 T:5268    DEBUG <general>: SECTION:LoadDLL(C:\Users\doug\AppData\Roaming\Kodi\addons\imagedecoder.heif\imagedecoder.heif.dll)
2020-12-08 17:53:10.243 T:5268    ERROR <general>: AddOnLog: imagedecoder.heif: Unsupported feature: Unsupported codec
2020-12-08 17:53:10.243 T:5268    DEBUG <general>: CTexture::LoadFromFileInternal - Load of smb://cronos/cronos_full/pictures/IMG_7137.HEIC failed.
2020-12-08 17:53:10.243 T:5268    DEBUG <general>: SECTION:UnloadDll(C:\Users\doug\AppData\Roaming\Kodi\addons\imagedecoder.heif\imagedecoder.heif.dll)
2020-12-08 17:53:10.244 T:5268     INFO <general>: ADDON: Dll Destroyed - HEIF image decoder
2020-12-08 17:53:10.246 T:6032    DEBUG <general>: CTextureCache::CTextureCache::CacheImage - Return NULL texture because cache is not ready


RE: HEIC image fails to load DLL to decode - spiff - 2021-01-27

i tried this. it works fine on linux, so i'm a little confused why it would fail on windows. i have no windows dev env so i can't look into it more sadly.


RE: HEIC image fails to load DLL to decode - ralfonat - 2021-01-30

(2021-01-27, 21:18)spiff Wrote: i tried this. it works fine on linux, so i'm a little confused why it would fail on windows. i have no windows dev env so i can't look into it more sadly.

hey spiff, I have probably a similar problem, here is my log:

Code:
2021-01-30 15:27:59.175 T:235320   DEBUG: ADDON: Dll Initializing - HEIF image decoder
2021-01-30 15:27:59.175 T:235320   DEBUG: SECTION:LoadDLL(C:\Users\xx\AppData\Roaming\Kodi\addons\imagedecoder.heif\imagedecoder.heif.dll)
2021-01-30 15:27:59.177 T:235320   ERROR: AddOnLog: HEIF image decoder: Unsupported feature: Unsupported codec
2021-01-30 15:27:59.177 T:235320   DEBUG: CBaseTexture::LoadFromFileInternal - Load of smb://xxxxxxxxxxxxx.HEIC failed.
2021-01-30 15:27:59.177 T:235320   DEBUG: SECTION:UnloadDll(C:\Users\xx\AppData\Roaming\Kodi\addons\imagedecoder.heif\imagedecoder.heif.dll)
2021-01-30 15:27:59.177 T:235320    INFO: ADDON: Dll Destroyed - HEIF image decoder

Could this be related?
https://github.com/strukturag/libheif/issues/90

Otherwise, any way to help out with more logging or with debugging environment?


RE: HEIC image fails to load DLL to decode - jjd-uk - 2021-01-30

No idea but perhaps more likely https://github.com/strukturag/libheif/issues/208 which was fixed by https://github.com/strukturag/libde265/pull/257


RE: HEIC image fails to load DLL to decode - ralfonat - 2021-01-30

(2021-01-30, 16:50)jjd-uk Wrote: No idea but perhaps more likely https://github.com/strukturag/libheif/issues/208 which was fixed by https://github.com/strukturag/libde265/pull/257

Thank you, that sounds plausible. In my case these pictures are from iOS devices as well.


RE: HEIC image fails to load DLL to decode - jjd-uk - 2021-01-31

Maybe that issue could give @spiff a clue as to what could be going wrong, assuming it is connected that is.


RE: HEIC image fails to load DLL to decode - ralfonat - 2021-02-08

I tried building the official addon in github xbmc repo for Leia but with 1.0.8 libde265 instead of 1.0.5. However the only thing I end up with is "%1 is not a valid Win32 ...." while loading the DLL for picture display in Kodi... Help...


RE: HEIC image fails to load DLL to decode - ralfonat - 2021-02-17

(2021-02-08, 22:50)ralfonat Wrote: I tried building the official addon in github xbmc repo for Leia but with 1.0.8 libde265 instead of 1.0.5. However the only thing I end up with is "%1 is not a valid Win32 ...." while loading the DLL for picture display in Kodi... Help...

OK seems like that was due to trying a 32bit DLL on 64bit kodi.

Finally have HEIC/HEIF pics from iPhone working in Kodi Leia. Here is the commit: https://github.com/kongomongo/imagedecoder.heif/commit/1e6740a058c967229e8481b63290592a4c348942

I am not sure anymore if the bump to libheif or the libde265 made it working due to tedious build issues as a newb...

But its finally working.


HEIC image fails to load DLL to decode - Klojum - 2021-02-17

Thread marked solved.


RE: HEIC image fails to load DLL to decode - koawmfot - 2021-02-17

how will this make it into the nightlies?  should be in tonights compile?


RE: HEIC image fails to load DLL to decode - deedee7 - 2021-02-25

(2021-02-17, 13:41)ralfonat Wrote:
(2021-02-08, 22:50)ralfonat Wrote: I tried building the official addon in github xbmc repo for Leia but with 1.0.8 libde265 instead of 1.0.5. However the only thing I end up with is "%1 is not a valid Win32 ...." while loading the DLL for picture display in Kodi... Help...

OK seems like that was due to trying a 32bit DLL on 64bit kodi.

Finally have HEIC/HEIF pics from iPhone working in Kodi Leia. Here is the commit: https://github.com/kongomongo/imagedecoder.heif/commit/1e6740a058c967229e8481b63290592a4c348942

I am not sure anymore if the bump to libheif or the libde265 made it working due to tedious build issues as a newb...

But its finally working.
Hi,
can you please tell me how to download and install https://github.com/kongomongo/imagedecoder.heif/commit/1e6740a058c967229e8481b63290592a4c348942 ?
I don't see "download" button anywhere. 
Many thanks
Dawid


RE: HEIC image fails to load DLL to decode - deedee7 - 2021-02-25

I installed git hub browser but it cannot find git hub user kongomongo from your link. Can you please tell me how to download/install this decoder?


RE: HEIC image fails to load DLL to decode - alfa756 - 2021-02-28

(2021-02-25, 10:01)deedee7 Wrote:
(2021-02-17, 13:41)ralfonat Wrote:
(2021-02-08, 22:50)ralfonat Wrote: I tried building the official addon in github xbmc repo for Leia but with 1.0.8 libde265 instead of 1.0.5. However the only thing I end up with is "%1 is not a valid Win32 ...." while loading the DLL for picture display in Kodi... Help...

OK seems like that was due to trying a 32bit DLL on 64bit kodi.

Finally have HEIC/HEIF pics from iPhone working in Kodi Leia. Here is the commit: https://github.com/kongomongo/imagedecoder.heif/commit/1e6740a058c967229e8481b63290592a4c348942

I am not sure anymore if the bump to libheif or the libde265 made it working due to tedious build issues as a newb...

But its finally working.
Hi,
can you please tell me how to download and install https://github.com/kongomongo/imagedecoder.heif/commit/1e6740a058c967229e8481b63290592a4c348942 ?
I don't see "download" button anywhere. 
Many thanks
Dawid



RE: HEIC image fails to load DLL to decode - alfa756 - 2021-02-28

Could you please compile a zip to be installed on Windows 10 Kodi 18?


RE: HEIC image fails to load DLL to decode - ralfonat - 2021-04-11

(2021-02-28, 00:48)alfa756 Wrote: Could you please compile a zip to be installed on Windows 10 Kodi 18?

While I don't feel great putting binaries up, if you trust this you can try these (install via "install zip addon")

Kodi 18 
http://a.pomf.cat/lpfdiu.zip

Kodi 19 matrix
http://a.pomf.cat/xjrmou.zip