Opened 17 months ago

Last modified 2 months ago

#6521 open enhancement

HEIF support

Reported by: mateo Owned by: mateo
Priority: wish Component: avformat
Version: git-master Keywords: mov heif
Cc: ismail@i10z.com, audvare@gmail.com, james@vidmob.com, silverbacknet@gmail.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 (4)

IMG_4453.HEIC (1.3 MB) - added by cehoyos 14 months ago.
IMG_4454.HEIC (1.2 MB) - added by cehoyos 14 months ago.
IMG_4478.HEIC (1.2 MB) - added by cehoyos 14 months ago.
IMG_4479.HEIC (1.0 MB) - added by cehoyos 14 months ago.

Change History (15)

comment:1 Changed 14 months ago by aviram

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 Changed 14 months ago by cehoyos

  • Keywords isom removed
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

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

Changed 14 months ago by cehoyos

Changed 14 months ago by cehoyos

Changed 14 months ago by cehoyos

Changed 14 months ago by cehoyos

comment:3 Changed 14 months ago by donmez

  • Cc ismail@i10z.com added

comment:4 Changed 12 months ago by kurosh

Hello +1

Kodi is depending on this.

Thanks for the great work so far.

comment:5 Changed 12 months ago by audvare

  • Cc audvare@gmail.com added

comment:6 Changed 11 months ago by james-vidmob

+1 on this from VidMob?

Last edited 11 months ago by james-vidmob (previous) (diff)

comment:7 Changed 11 months ago by james-vidmob

  • Cc james@vidmob.com added

comment:8 Changed 9 months ago by silverbacknet

  • Cc silverbacknet@gmail.com added

comment:9 Changed 8 months ago by kurosh

Hi,

Is anyone working on this?

comment:10 Changed 6 months ago by mojing1999

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 Changed 2 months ago by kurosh

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

Note: See TracTickets for help on using tickets.