VideoStitch
VideoStitch copied to clipboard
Cannot remove segment that starts from 00:00:00
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
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.