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

Vignesh Venkat vigneshv at google.com
Wed Oct 4 19:36:23 EEST 2023


On Tue, Oct 3, 2023 at 9:40 PM Vittorio Giovara
<vittorio.giovara at gmail.com> wrote:
>
>
>
> On Wed, Oct 4, 2023 at 12:02 AM Vignesh Venkat via ffmpeg-devel <ffmpeg-devel at ffmpeg.org> wrote:
>>
>> On Tue, Oct 3, 2023 at 6:32 PM Vittorio Giovara
>> <vittorio.giovara at gmail.com> wrote:
>> >
>> > On Tue, Oct 3, 2023 at 8:30 PM Steven Liu <lingjiujianke at gmail.com> wrote:
>> >
>> > > > > 2.42.0.515.g380fc7ccd1-goog
>> > > > >
>> > > >
>> > > > Any comments/objections on merging this?
>> > >
>> > >
>> > > Can this patch support tiled hevc coded or sequence heif?=
>> > >
>> >
>> > I believe that will be possible only after AVStreamGroup is implemented.
>> >
>>
>> Yes, this patch only supports still HEIC images that don't have alpha
>> and grids (tiles).
>>
>> Tiles and Alpha support will be possible only after AVStreamGroup is
>> implemented. I will look into HEIC sequences in a follow-up.
>>
>> > Vignesh is there a sample available? Could we add a test?
>>
>> I tested it from the files in
>> https://github.com/nokiatech/heif/tree/gh-pages/content/images. I am
>> not sure about HEVC licensing and if we are allowed to copy some of
>> those files in the ffmpeg fate server. Would generating a random image
>> with ffmpeg and encoding it as HEIC be good enough?
>
>
> I would prefer a real world example and FATE has a bunch of conformance samples already.
> Adding the ones from https://github.com/nokiatech/heif_conformance shouldn't be a problem.
> Ideally the sample test should be added to this same patch.

Great, i have added two samples. Can you please upload C002.heic and
C003.heic from the heif_conformance repository to the fate server
under the "heif-conformance" sub-directory. I have also attached those
two files in this email for reference. I will update the patch with
the fate tests.

> --
> Vittorio



-- 
Vignesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: C002.heic
Type: image/heif
Size: 111897 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231004/aa15e70c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: C003.heic
Type: image/heif
Size: 224452 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231004/aa15e70c/attachment-0001.bin>


More information about the ffmpeg-devel mailing list