Opened 7 years ago
Last modified 9 days ago
#6521 open enhancement
HEIF support
Reported by: | mateo | Owned by: | mateo |
---|---|---|---|
Priority: | wish | Component: | avformat |
Version: | git-master | Keywords: | mov heif bounty |
Cc: | ismail@i10z.com, audvare@gmail.com, james@vidmob.com, silverbacknet@gmail.com, ccom@randomderp.com | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
With the upcoming iOS 11 release, Apple will use the HEIF format instead of the JPEG one as its default photo format.
I've started working on adding this support to lavf/mov. I open this ticket to track my progress (and will update it accordingly).
Attachments (5)
Change History (28)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Keywords: | isom removed |
---|---|
Priority: | normal → wish |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
This patch does not work for any of the files attached:
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-August/215003.html
by , 7 years ago
Attachment: | IMG_4453.HEIC added |
---|
by , 7 years ago
Attachment: | IMG_4454.HEIC added |
---|
by , 7 years ago
Attachment: | IMG_4478.HEIC added |
---|
by , 7 years ago
Attachment: | IMG_4479.HEIC added |
---|
comment:3 by , 7 years ago
Cc: | added |
---|
comment:5 by , 7 years ago
Cc: | added |
---|
comment:7 by , 7 years ago
Cc: | added |
---|
comment:8 by , 7 years ago
Cc: | added |
---|
comment:10 by , 7 years ago
I write heif demux plugin for ffmpeg, it can work with vfilter
./ffmpeg -y -f heif -i ~/data/media/heif/IMG_4454.HEIC -vf "tile=8x6:48:0:0:blue, crop=4032:3024:0:0" heif2jpeg_2.jpg
./ffplay -f heif -i ~/data/media/heif/IMG_4454.HEIC -vf "tile=8x6, crop=4032:3024:0:0"
comment:11 by , 6 years ago
Hello, is there any update / progress on HEIF support now that IOS 12 is out?
comment:12 by , 6 years ago
Hi,
Any update on this?
Is anyone working on this?
Is it on your releases plans?
Thanks
comment:14 by , 6 years ago
To elaborate, we as an organization don't generally plan milestones. Things just happen when they do. I don't know if there are plans to work on this because I can't speak for others. The only set release plans are a loose schedule of release dates. Progress depends on contributions from interested individuals, and anyone is welcome and encouraged to do so.
The best way to get something included into FFmpeg is to participate in development. You can submit patches, fix bugs, review patches, etc. You can also post a bounty or offer to sponsor development.
comment:16 by , 5 years ago
I stopped waiting for the support in ffmpeg to appear.
I use for the photo a separate excellent solution with HEIF supported.
https://github.com/libvips/libvips
comment:17 by , 4 years ago
Cc: | added |
---|
comment:18 by , 3 years ago
Please note that (my issue) https://github.com/strukturag/libheif/issues/533 is not longer producing lossless images. Just FYI.
comment:19 by , 3 years ago
HEIC container for HEIF/AVIF is done here. https://trac.ffmpeg.org/ticket/7621#comment:10 maybe we can just move to jpeg-xl, patches are on the mailing list.
comment:20 by , 19 months ago
Even though the format is a mess, we still need (at least basic) support for it, as it is used extensively almost everywhere now.
comment:21 by , 14 months ago
I wonder if this helps: libheif
https://github.com/strukturag/libheif
Would it be possible for ffmpeg to use it to deal with HEIF and AVIF ?
ffmpeg perhaps may be currently falling behind in this regard since newer phones produce it, which means there'd be an increasing volume of images etc using it.
With fingers crossed, submitting this for your consideration.
comment:22 by , 11 months ago
This is now partially fixed in a0821345eb31b727d93c9c3ed7d74d2774c73afa
comment:23 by , 9 days ago
Thankyou Balling.
I use the MABS build system to build a standalone x64 ffmpeg executable for use in Win11 ...
Which heif library does ffmpeg recognise and would need to be built and provided to ffmpeg at built time for ffmpeg to recognise and "use" it at runtime ? Is it https://github.com/strukturag/libheif ?
If so I guess it could be build by MABS (I am unsure if a heif lib is or isn't currently built as a part of the ffmpeg build process, and will look it up given your advice).
EDIT: Ah, sorry, please ignore this comment. Somewhat clarified over at https://github.com/m-ab-s/media-autobuild_suite/issues/2516#issuecomment-2477980138
To help with this, here is a zip with some photos, videos and photo bursts I took myself with an iPhone 7+:
https://avi.alkalay.net/clipboard/HEIF-iOS-11.zip
Currently, this is what ffmpeg 3.3.3 on Fedora Linux knows about HEIF/HEIC: