Node.js Fluent-FFMPEG Example to Trim or Cut Videos Based on Start & End Time in Command Line Using Javascript

 

 

npm i fluent-ffmpeg

 

 

index.js

 

 

 

 

Here as you can see we are setting the start time using setStartTime() method and then the duration of the output video using the

 

setDuration() method

 

Leave a Reply