VideoStitch icon indicating copy to clipboard operation
VideoStitch copied to clipboard

Cannot remove segment that starts from 00:00:00

Open dkfox opened this issue 3 years ago • 1 comments

It seems that videoStitch does not cover the following case where the target segment starts from the beginning of the file.

videoCut({...})
  .original({...})
  .exclude([
    {
      "startTime": "00:00:00",
      "duration": "00:00:10"
    }, ...
])

It works fine if the start time is not set to "00:00:00". so temporary I changed all the "00:00:00" to "00:00:01" which leaves (unwanted) the first one second of the video though. Since trimming out some length of beginning is one of the common case, this looks like a bug

dkfox avatar Jul 28 '21 01:07 dkfox

Do you want to take a look at the code and submit a pull request? From your description, it does look like a bug but should be a relatively easy one to fix.

ArsalanDotMe avatar Sep 14 '21 09:09 ArsalanDotMe