Vidar
A video editor for developers
Vidar is a completely in-browser video-editing framework. Similar to GUI-based video-editing software, it lets you layer media and other content on a timeline. Audio, image, video and other tracks are supported, along with powerful video and audio manipulation to existing tracks. Being very flexible and extendable, you can choose to only use the core components or define your own.
Features
- Export video to blob
- Write your own layers and effects
- Write a function for a property
- Keyframes
- Built-in hardware accelerated visual effects
- More coming soon
Installation
npm install vidar
Usage
You can use CommonJS syntax:
import vd from 'vidar'
Or include it as a global vd
:
<script src="node_modules/vidar/dist/vidar-iife.js"></script>
Then, to create a movie (a Vidar "project")
var movie = new vd.Movie(canvas);
Then, add layers
movie
.addLayer(new vd.layer.Visual(0, 3, {background: 'blue'}))
.addLayer(new vd.layer.Video(2.5, video, {mediaX: 10, mediaY: -25}));
Finally, start the movie
movie.play();
Further Reading
Contributing
See the contributing guide
License
Distributed under GNU General Public License v3. See LICENSE
for more information.