Kodi Community Forum
HEIF Format Support? - 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: HEIF Format Support? (/showthread.php?tid=321757)

Pages: 1 2


HEIF Format Support? - jamieburchell - 2017-09-19

Is there any current or planned support for the new HEIF format? I can't see it listed in the Wiki so I assume no. HEVC is supported of course.

Given the recent release of iOS 11 with photos being set to this format by default, I imagine this question will get asked frequently when people try to playback their photos.


RE: HEIF Format Support? - Klojum - 2017-09-20

As you noticed from the Wiki, there is no HEIF support yet.
But it has already been mentioned within the Kodi Team.
It's on the radar, but no ETA for an implementation yet.


RE: HEIF Format Support? - ironic_monkey - 2017-09-21

it seems to be a rather messy situation at this point; i did some initial code and stopped when the ios created files doesn't want to demux with what appears to be the reference heif implementation...


RE: HEIF Format Support? - jjd-uk - 2017-09-21

From what I've been told if ffmpeg supports it then it could be fairly easy to add.

However the current situation with ffmpeg seems to be that there's only partial support, there was a patch to introduce support by http://ffmpeg.org/pipermail/ffmpeg-devel/2017-August/215003.html which worked with the patch authors samples, but he notes it may not work for others which is confirmed by https://trac.ffmpeg.org/ticket/6521 as none of the attached samples there work.

Perhaps this is due to the mess ironic_monkey refers to.


RE: HEIF Format Support? - ironic_monkey - 2017-09-21

the patch is very wip. i've gotten a bit further, got shit demuxed using reference heif code, and tossed the data at ffmpeg for decode and conversion to rgb. haven't inspected the results yet, but i think i can grok this into something that will work temporarily.

of course the statically linked ffmpeg will once again bite us badly, so making it portable will be a mostly impossible. and the license for the reference implementation is riddled with patent crap so the add-on will not be distributable.


RE: HEIF Format Support? - ironic_monkey - 2017-09-21

nah, i'm back to giving up on this shit for now. every file i have at hand claims that block 8 should have 512x512 res but the hevc decoder spits out 320x240 complaining that the data is invalid and the given decoded data is garbage. for all the other blocks, i get a part of the picture. i'm missing some piece to this puzzle and i'm not very motivated since this is apple crap. if somebody wants to take over i can share my hacks.


RE: HEIF Format Support? - kurosh - 2017-10-25

Hello,

Been a bit quiet on the subject, anyone aware of any update on plans / ambitions supporting HEIF? Just downloaded v17.5 and it's still not supported as far as I can tell.

Thanks for a fantastic product I cannot live without!


RE: HEIF Format Support? - kurosh - 2017-11-23

(2017-10-25, 11:49)kurosh Wrote: Hello,

Been a bit quiet on the subject, anyone aware of any update on plans / ambitions supporting HEIF? Just downloaded v17.5 and it's still not supported as far as I can tell.

Thanks for a fantastic product I cannot live without!
 Hello anyone?


RE: HEIF Format Support? - jjd-uk - 2017-11-23

We can't do anything until these files are properly supported in the ffmpeg project, so it's https://trac.ffmpeg.org/ticket/6521 you need to keep an eye on.


RE: HEIF Format Support? - kurosh - 2017-11-23

(2017-11-23, 17:39)jjd-uk Wrote: We can't do anything until these files are properly supported in the ffmpeg project, so it's https://trac.ffmpeg.org/ticket/6521 you need to keep an eye on.
 Oh ok thanks. Sorry didn't realise it was a dependency on them.


RE: HEIF Format Support? - kurosh - 2018-09-17

Hello, any news on this? Got nothing from the ffmeg link, wondered if anyone here knew anything? Will this work in Kodi 18? Don't get any indication this will be resolved any time soon, we're on IOS 12 now :|


RE: HEIF Format Support? - jjd-uk - 2018-09-17

Status is unchanged, requires ffmpeg support first.


RE: HEIF Format Support? - spiff - 2018-09-26

not really true, i have a somewhat working draft at https://github.com/notspiff/imagedecoder.heif


RE: HEIF Format Support? - spiff - 2018-10-24

will be available for installation from repo in v18.


RE: HEIF Format Support? - rd1979 - 2018-10-25

(2018-10-24, 10:39)spiff Wrote: will be available for installation from repo in v18.

I have very little understanding about the format other than it being the image variant of HEVC, but why does it have to be an addon instead of a native function of Kodi? Was it a legal issue?


This forum uses Lukasz Tkacz MyBB addons.