libheif icon indicating copy to clipboard operation
libheif copied to clipboard

Animated HEIC/HEIF

Open Jay123210599 opened this issue 1 year ago • 6 comments

How do I make lossless animated HEIC files out of PNG/JPG image sequences using libheif? I am on Windows and used vcpkg to install the tool, but I don't know which directory I should add to system PATH.

https://github.com/strukturag/libheif?tab=readme-ov-file#windows

Jay123210599 avatar Nov 06 '24 20:11 Jay123210599

Adding image sequence support is planned, but not yet fully implemented.

See #949, #537, #57 etc for different versions of this.

bradh avatar Nov 07 '24 02:11 bradh

Adding image sequence support is planned, but not yet fully implemented.

See #949, #537, #57 etc for different versions of this.

What about videos?

Jay123210599 avatar Nov 07 '24 15:11 Jay123210599

If you asking if HEIF is a video format, then the answer is no. That would be MP4.

If you asking for videos of how to make HEIF files, I don't know of any but I guess there are some on the net.

bradh avatar Nov 07 '24 20:11 bradh

If you're asking how to make a regular video gifv/mp4 out of an image sequence, you can do so fairly easily with ffmpeg. The exact command line depends on what you want. It won't be HEIF, but it sounds like it'd be good enough for your use case.

silverbacknet avatar Nov 07 '24 22:11 silverbacknet

@bradh @silverbacknet I'm asking if there's any way I can make animated heif/heic files.

Jay123210599 avatar Nov 11 '24 13:11 Jay123210599

@bradh @silverbacknet I'm asking if there's any way I can make animated heif/heic files.

Presumably there are many ways, but libheif does not currently have a tool to do this. See https://github.com/strukturag/libheif/issues/1371#issuecomment-2461186605

bradh avatar Nov 11 '24 21:11 bradh