Opened 20 months ago
Closed 20 months ago
#11297 closed defect (duplicate)
Unable to convert heic to jpg taken with iPhone 16 Pro iOS 18
| Reported by: | elelievreberna | Owned by: | |
|---|---|---|---|
| Priority: | critical | Component: | ffmpeg |
| Version: | git-master | Keywords: | |
| Cc: | elelievreberna | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Cannot convert heic images taken with iPhone 16 Pro iOS 18
% ./ffmpeg -i iOS18-image.heic iOS18-image.jpg
ffmpeg version N-117676-g87068b9600-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2024 the FFmpeg developers
built with Apple clang version 16.0.0 (clang-1600.0.26.4)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libharfbuzz --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil 59. 46.100 / 59. 46.100
libavcodec 61. 22.100 / 61. 22.100
libavformat 61. 9.100 / 61. 9.100
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 6.100 / 10. 6.100
libswscale 8. 9.101 / 8. 9.101
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8ac31041c0] Derived Image item of type tmap is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'iOS18-image.heic':
Metadata:
major_brand : heic
minor_version : 0
compatible_brands: mif1MiHBMiHAheixMiHEMiPrheicmiaftmap
Duration: N/A, start: 0.000000, bitrate: N/A
Stream group #0:0[0x31]: Tile Grid: hevc (Main Still Picture) (hvc1 / 0x31637668), yuvj420p(pc, smpte170m/smpte432/bt709), 4032x3024 (default)
Stream group #0:1[0x58]: Tile Grid: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(pc, smpte170m/smpte432/linear), 2880x2160
Side data:
ICC Profile
Stream group #0:2[0x65]: Tile Grid: hevc (Rext) (hvc1 / 0x31637668), gray(pc), 2016x1512
Stream #0:48[0x32]: Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(pc), 1024x768, 1 fps, 1 tbr, 1 tbn
Stream #0:49[0x33]: Video: hevc (Rext) (hvc1 / 0x31637668), gray(pc), 2016x1512, 1 fps, 1 tbr, 1 tbn
Stream #0:50[0x35]: Video: hevc (Rext) (hvc1 / 0x31637668), gray(pc), 2016x1512, 1 fps, 1 tbr, 1 tbn
Stream #0:51[0x37]: Video: hevc (Rext) (hvc1 / 0x31637668), gray(pc), 2016x1512, 1 fps, 1 tbr, 1 tbn
Stream #0:52[0x39]: Video: hevc (Main Still Picture) (hvc1 / 0x31637668), yuvj420p(pc, smpte170m/smpte432/bt709), 320x240, 1 fps, 1 tbr, 1 tbn
Side data:
ICC Profile
Stream mapping:
Stream #0:49 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[swscaler @ 0x7f8aa8190000] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'iOS18-image.jpg':
Metadata:
major_brand : heic
minor_version : 0
compatible_brands: mif1MiHBMiHAheixMiHEMiPrheicmiaftmap
encoder : Lavf61.9.100
Stream #0:0: Video: mjpeg, yuvj444p(pc, progressive), 2016x1512, q=2-31, 200 kb/s, 1 fps, 1 tbn
Metadata:
encoder : Lavc61.22.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[image2 @ 0x7f8ac31f0a80] The specified filename 'iOS18-image.jpg' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x7f8ac31f0a80] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[out#0/image2 @ 0x7f8ac31f09c0] video:35KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame= 1 fps=0.0 q=2.4 Lsize=N/A time=00:00:01.00 bitrate=N/A speed=16.7x
Attachments (1)
Note:
See TracTickets
for help on using tickets.



HEIC photo taken with iPhone 16 Pro iOS 18