Closed legend1998 closed 8 months ago
my video was 28 sec, i gave startTime 0, duration 10 (to get first 10 secs) but it returned first 18 secs. Seems like duration is for cutting, but i don't know why it cut 10 secs from end
+1
It's not intuitive but I think duration = time (seconds) to trim from the end of the video.
Well seems like @angelogullotta is right. closing this is issue.
I suppose this parameter instruction is updated on newer upcoming versions.
there is lack of info of duration parameter, whether it takes milliseconds or seconds, the problem is duration parameter takes seconds as input and compressed video duration is not in seconds .
for example
i compressed a video of 67 seconds duration and gave start parameter 0, and duration parameter 60, the output compressed video is 6 second duration.
Any suggestion or hint may work for me.