Skip to content

NickJokic/video-tracer

Repository files navigation

Video Tracer

Video Tracer - electron-vue desktop app, which traces input videos and creates vector-styled videos using the Potrace algorithm.

Screenshot 1

Screenshot 2

Features

  • converts input video into a vector-styled video
  • users can adjust: colors, threshold (detail), output format & resolution

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites

Before you run the app in development, be sure you have these downloaded/installed on your machine:

  • npm
  • Node.js
  • Cairo & Pango (node-canvas dependencies):

Cairo & Pango installation

Mac Os X

Homebrew:

brew install pkg-config cairo pango libpng jpeg giflib

MacPorts:

port install pkgconfig cairo pango libpng jpeg giflib

Linux

Ubuntu:

sudo apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++

Fedora:

sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel

Solaris: pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto

Windows

Instructions on wiki

Installing (build setup)

# install dependencies
npm install

# serve with hot reload
npm run dev

# build electron application for production
npm run build

Built With

  • Electron - Build cross platform desktop apps with JavaScript, HTML, and CSS
  • Vue - JavaScript framework for building UI on the web
  • base64-img - Convert img to base64, or convert base64 to img
  • Bluebird - Bluebird is a full featured promise library with unmatched performance
  • Fluent ffmpeg - A fluent API to FFMPEG
  • node-potrace - JavaScript port of Potrace, for NodeJS
  • svg2img - A high-performance in-memory converter to convert svg to png/jpeg images for Node

This project was generated with electron-vue using vue-cli. Documentation about the original structure can be found here.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

Create vector-styled videos! Built with Electron-Vue.

Resources

License

Stars

Watchers

Forks

Packages

No packages published