mifi / editly

Slick, declarative command line video editing & API
MIT License
4.8k stars 313 forks source link

feat: add "loop" video option #280

Open BowgartField opened 6 months ago

BowgartField commented 6 months ago

Hi, This PR add the loop (boolean) option to a layer of type video.

✅ Infinit loop on a video layer type. ✅ Fmmpeg stream not gently closed causing error at the end of the encoding (not critical) ❌ Should check that clip have just one video layer

BowgartField commented 6 months ago

There is the error:

Capture d’écran 2024-05-05 à 22 13 11
BowgartField commented 6 months ago

maybe -stream_loop should be changed to -vf loop=loop:start=xxx:end=xxx to allow cutFrom and cutTo ?

EDIT: Not working. Need to find a way to determine frame index of cutTo and cutFrom time