Skip to content

Include GIF animation with still images in slideshow #289

@nomaam

Description

@nomaam

Is it possible to include a GIF animation in a slideshow with images?

I have a folder with a mix of images and GIFs, when I try to make them into a slideshow only the first frame of the GIF is being used. I tried leaving out duration, but that makes no difference. I would like the GIF to play its full duration, which could be different for each GIF.

Is this possible?

Thanks.

{
"outPath": "./output.mp4",
"clips": [
{ "duration": 5, "layers": [{ "type": "image", "path": "/test/img-01.jpeg" }] },
{ "duration": 5, "layers": [{ "type": "image", "path": "/test/img-02.png" }] },
{ "duration": 5, "layers": [{ "type": "image", "path": "/test/img-03.jpeg" }] },
{ "duration": 5, "layers": [{ "type": "image", "path": "/test/img-04.png" }] },
{ "duration": null, "layers": [{ "type": "image", "path": "/test/img-05.gif" }] }
]
}

  • [ x] I have tried with the newest version of editly: npm i -g editly or npm i editly@latest
  • [ x] I have tried ffmpeg newest stable version
  • [ x] I have searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions