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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.1
    3
  • 0.3.0
    0
  • 0.2.0
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i aviglitch

Weekly Downloads

3

Version

0.3.1

License

MIT

Unpacked Size

29.6 kB

Total Files

13

Last publish

Collaborators

  • fand