0.9.0 • Published 9 years ago

udias-task-video-editing v0.9.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Task - Video Editing

This module is used as a task for the udias platform.

Edit videos to retrieve shorter clips

Usage

import { work } from 'udias-task-video-editing'

const video = readFileSync('./video.mp4')

const source = {
  name: 'video.mp4',
  data: video
}

const target = {
  name: 'highlights.mp4'
  start: 0,
  duration: 20
}

work(source, target).then((clip) => {
  console.log('clip buffer:', clip)
})
.catch(::console.error)