aviglitch

0.3.1 • Public • Published

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

Package Sidebar

Install

npm i aviglitch

Weekly Downloads

4

Version

0.3.1

License

MIT

Unpacked Size

29.6 kB

Total Files

13

Last publish

Collaborators

  • fand