editly icon indicating copy to clipboard operation
editly copied to clipboard

Video speedFactor relative to currentLayerStart and nextLayerStart.

Open timurguseynov opened this issue 3 years ago • 1 comments

  • [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

@mifi If layer has the start attribute and another layer after also has the start attribute the video is playing with the speedFactor of the clipDuration * (cutTo - cutFrom). Maybe it's possible in this case to do (nextLayerStart - currentLayerStart) * (cutTo - cutFrom).

timurguseynov avatar Aug 23 '21 17:08 timurguseynov

@mifi I think I solved it by using stop and adding speedFactor = layerDuration / inputDuration; if layerDuration isn't equal to userClipDuration

timurguseynov avatar Aug 23 '21 21:08 timurguseynov