ffmpeg-splice

0.1.0 • Public • Published

ffmpeg-splice

Splice videos with ffmpeg

 
require('ffmpeg-splice')({
 
  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',
 
}, function(err) {
 
  if(err) console.log(err)
  else console.log('done')
 
})
 

You need ffmpeg up and running to use this module.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1

Package Sidebar

Install

npm i ffmpeg-splice

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • alexbinary