mifi / editly

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

feat: add "loop" video option #280

Open BowgartField opened 1 month ago

BowgartField commented 1 month 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 1 month ago

There is the error:

Capture d’écran 2024-05-05 à 22 13 11
BowgartField commented 1 month 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