I'm not familiar with this code, but I needed this change to get anything to work. Basically the limit was larger than the size of the breakpoints slice, so it ended up with a zero at the end for segmentTimes. This cause the ffmpeg call to fail because the end time is zero.
If it matters, I'm testing with very short videos (~10s)
I'm not familiar with this code, but I needed this change to get anything to work. Basically the
limit
was larger than the size of the breakpoints slice, so it ended up with a zero at the end forsegmentTimes
. This cause the ffmpeg call to fail because the end time is zero. If it matters, I'm testing with very short videos (~10s)