HEIC/HEIF image decoder

Hi,
OSMC cannot display the iphone photo file with the extension .heic
I see that there is an image decodef for that at GitHub - xbmc/imagedecoder.heif: HEIF image decoder add-on for Kodi i wonder if somebody has compiled it for the vero4k?
thanks,
Panagiotis

Just tried it, it compiled with a bunch of warnings. Installed it, but there is issues with it, just tested with a couple of files but there is problems with color mappings (blue tint in everything) and it crashed a few times (might be the folder containing over 5k items from the wife’s phone)

Worth mentioning is that it take quite few seconds from selecting image to display, 15-ish seconds for me

Will see if I can get this in for the next release

Sam

1 Like

that would be great!!
Thanks

Hi all

I’m running OSMC on a rbpi and try to find a HEIC image decoder. There should be a decoder, I found it on Kodi Wiki, but I can’t find it in the standard repos and installing the downloaded zip doesn’t work as well…
Any hints on what I’m doing wrong would be appreciated…

Thank you

Moved your post to this existing topic

Hi

I was able to add imagedecoder.raw and imagedecoder.mpo.
Some more changes are needed to get imagedecoder.heif working.

This is available in the June update.

Sam

Hello

I have a vero 4k+. So .heic file can not be read ? Do you have an idea about when it will be available

Thank you for your great job !

Sorry to ask the question again ?

Sorry - I don’t have news. When I tried to add this for ARM based platforms there were a number of problems.

It is still on my list though so I will look again in the near future.

1 Like

This is now available with our Kodi v19 test builds. Depending on your device, you can find the appropriate test build thread and install this as of today.

2 Likes

Hello

I am now using the latest osmc build. Is this feature already enabled ? Do we have to install the add on ?
I am not able to find it ?

Thank you for your help

Hi,

It’s been included by default for some time. There’s no need to install anything extra.

Sam

Thank you Sam

So my question is

Where I can test that ?

I tried to read a folder where there are both jpg and heic file using the menu images.

On my side it seems that Kodi “reads” only the jpg.

Maybe there is another place to do that ?

You might need to enable the add-on.

I am not able to find it. I searched on every category of add-on.

Maybe I miss some information somewhere

It should be available “build in”.
You can check the log file ./kodi/temp/kodi.log and you should see

2022-04-22 05:53:27.892 T:8428    DEBUG <general>: CAddonInfoBuilder::ParseXMLTypes: Binary addon found: imagedecoder.heif

I will test if it can read heif pictures

Ok I have this line in this file.

My file are with the extension .heic

Tell me how you test on your side. This way I can test the same way

Thanks

You may have been looking in the Kodi repository. This add-on is installed but disabled by default. You would need to navigate to add-ons>my add-ons>image decoder>heif image decoder. When you click on it the information window should popup and then you would just need to click the “enable” button.

Just by adding a HEIC/HEIF picture and browsing to it.
So far I didn’t had success but only had 5 minutes to test.

As @darwindesign wrote you need to enable it then it will show the Images but so far I only get a black screen, will need to check tomorrow what could be the issue.