[FFmpeg-devel] [PATCH v3] avformat/mov: Add support for demuxing still HEIC images

James Almer jamrial at gmail.com
Tue Jan 9 14:39:29 EET 2024


On 10/4/2023 1:40 PM, Vignesh Venkatasubramanian via ffmpeg-devel wrote:
> They are similar to AVIF images (both use the HEIF container).
> The only additional work needed is to parse the hvcC box and put
> it in the extradata.
> 
> With this patch applied, ffmpeg (when built with an HEVC decoder)
> is able to decode the files in
> https://github.com/nokiatech/heif/tree/gh-pages/content/images
> 
> Also add a couple of fate tests with samples from
> https://github.com/nokiatech/heif_conformance/tree/master/conformance_files
> 
> Partially fixes trac ticket #6521.
> 
> Signed-off-by: Vignesh Venkatasubramanian <vigneshv at google.com>
> ---
>   libavformat/isom.h                            |  2 +
>   libavformat/mov.c                             | 41 ++++++++++++++++++-
>   tests/fate/mov.mak                            |  6 +++
>   .../fate/mov-heic-demux-still-image-1-item    | 11 +++++
>   .../mov-heic-demux-still-image-multiple-items | 11 +++++
>   5 files changed, 70 insertions(+), 1 deletion(-)
>   create mode 100644 tests/ref/fate/mov-heic-demux-still-image-1-item
>   create mode 100644 tests/ref/fate/mov-heic-demux-still-image-multiple-items

This seems to have been forgotten, so I'll apply it soon.


More information about the ffmpeg-devel mailing list