HEIF Format Support?
#1
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.
Reply
#2
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.
Reply
#3
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...
Reply
#4
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...15003.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.
Reply
#5
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.
Reply
#6
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.
Reply
#7
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!
Reply
#8
(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?
Reply
#9
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.
Reply
#10
(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.
Reply
#11
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 :|
Reply
#12
Status is unchanged, requires ffmpeg support first.
Reply
#13
not really true, i have a somewhat working draft at https://github.com/notspiff/imagedecoder.heif
Reply
#14
will be available for installation from repo in v18.
Reply
#15
(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?
Reply

Logout Mark Read Team Forum Stats Members Help
HEIF Format Support?0