mifi / editly

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

Layer as screenshot of a video #202

Closed belavina closed 2 years ago

belavina commented 2 years ago

I couldn't find this in the docs (sorry if I missed it) -- but is it possible to get a screenshot of a video as a layer type? I've tried:

              {
                type: 'video',
                cutFrom: 2,
                cutTo: 2,
                path: 'some-video.mp4',
              }

But editly complains about it with a messagecutFrom must be lower than cutTo. I can always simply use ffmpeg but it would be nicer if it was supported out of the box with editly.

mifi commented 2 years ago

hi. i don't think that's supported without some custom code

belavina commented 2 years ago

Alright, thanks!