Opened 4 years ago

Last modified 12 months 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)

IMG_4453.HEIC (1.3 MB ) - added by Carl Eugen Hoyos 4 years ago.
IMG_4454.HEIC (1.2 MB ) - added by Carl Eugen Hoyos 4 years ago.
IMG_4478.HEIC (1.2 MB ) - added by Carl Eugen Hoyos 4 years ago.
IMG_4479.HEIC (1.0 MB ) - added by Carl Eugen Hoyos 4 years ago.
Growing_1024x1024.heic (876.6 KB ) - added by marcusj0015 16 months ago.
Lossless Sample 1024x1024 RGB 8 bit

Change History (22)

comment:1 by Avi Alkalay, 4 years ago

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:

$ ffprobe IMG_4449.HEIC
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x558604647da0] moov atom not found
IMG_4449.HEIC: Invalid data found when processing input

comment:2 by Carl Eugen Hoyos, 4 years ago

Keywords: isom removed
Priority: normalwish
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

This patch does not work for any of the files attached:
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-August/215003.html

by Carl Eugen Hoyos, 4 years ago

Attachment: IMG_4453.HEIC added

by Carl Eugen Hoyos, 4 years ago

Attachment: IMG_4454.HEIC added

by Carl Eugen Hoyos, 4 years ago

Attachment: IMG_4478.HEIC added

by Carl Eugen Hoyos, 4 years ago

Attachment: IMG_4479.HEIC added

comment:3 by İsmail Dönmez, 4 years ago

Cc: ismail@i10z.com added

comment:4 by Kurosh Jadali, 3 years ago

Hello +1

Kodi is depending on this.

Thanks for the great work so far.

comment:5 by Andrew Udvare, 3 years ago

Cc: audvare@gmail.com added

comment:6 by james-vidmob, 3 years ago

+1 on this from VidMob

Last edited 3 years ago by james-vidmob (previous) (diff)

comment:7 by james-vidmob, 3 years ago

Cc: james@vidmob.com added

comment:8 by Joshua Bowman, 3 years ago

Cc: silverbacknet@gmail.com added

comment:9 by Kurosh Jadali, 3 years ago

Hi,

Is anyone working on this?

comment:10 by Justin Mo, 3 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 Kurosh Jadali, 3 years ago

Hello, is there any update / progress on HEIF support now that IOS 12 is out?

comment:12 by yosefarr, 2 years ago

Hi,
Any update on this?
Is anyone working on this?
Is it on your releases plans?

Thanks

comment:13 by richardpl, 2 years ago

No,
No,
No.

comment:14 by llogan, 2 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:15 by Jason, 2 years ago

Keywords: bounty added

I put up a $300 bounty on this.

by marcusj0015, 16 months ago

Attachment: Growing_1024x1024.heic added

Lossless Sample 1024x1024 RGB 8 bit

comment:16 by S.A.N, 12 months 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 Christopher Degawa, 12 months ago

Cc: ccom@randomderp.com added
Note: See TracTickets for help on using tickets.