ffmpeg-splice
Splice videos with ffmpeg
input: 'video.avi' splices: start: 10 * 1000 duration: 10 * 1000 start: 30 * 1000 duration: 5 * 1000 output: 'spliced_video.avi' // will be the concatenation // of the specified segments. tmpFolder: '/tmp' { iferr console else console }
You need ffmpeg up and running to use this module.