A node.js porting of aviglitch rubygem by ucnv.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
src
test
.babelrc
.eslintrc
.gitignore
.npmignore
.travis.yml
README.md
index.js
package.json
yarn.lock

README.md

AviGlitch

Build Status Coverage Status

NPM

A fork of ruby AviGlitch gem by ucnv.

AviGlitch destroys your AVI files.

Usage

import AviGlitch from 'aviglitch';
const avi = AviGlitch.open('/path/to/your.avi');
avi.glitch('keyframe', (frame) => {
  return new Buffer(frame.toString('ascii').replace(/\d/, ''));
});
avi.output('/path/to/broken.avi');

This library also includes a command line tool named datamosh. It creates the keyframes removed video.

$ datamosh /path/to/your.avi -o /path/to/broken.avi

Installation

$ npm install -g aviglitch