mifi / mifi/editly

Include GIF animation with still images in slideshow

Open
#289 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
5.5k
Forks
374
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the issue. Start by locating the slideshow image and GIF handling, then trace how clip duration is selected for animated images. Done means mixed still-image and GIF slideshows preserve still-image behavior while each GIF plays for its full duration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.