udias-task-video-editing
v0.9.0
Published
Task for the udias platform to edit a video
Downloads
2
Readme
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)