All Projects → maelswarm → datamosher

maelswarm / datamosher

Licence: other
Datamosh your videos.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to datamosher

moshpit
A powerful cross-platform command-line tool for datamoshing.
Stars: ✭ 74 (+85%)
Mutual labels:  datamoshing
datamosh
✨💾 Edit images via buffers. 💯✨
Stars: ✭ 23 (-42.5%)
Mutual labels:  datamoshing

datamosher

Datamosh your videos.

Image

Image

Supported File Types

  • mp4
  • mkv
  • avi

Quick Start

npm install datamosher

Methods

glitchMP4(value, freq, repeat, start, end, left, right); //default values (0, 0, 1, 0, 100, 10, 90)

glitchAVI(offset, value, freq, repeat, start, end); //default values (10000, 0, 0, 1, 0, 100)

glitchMKV(offset, value, freq, repeat, start, end); //default values (10000, 0, 0, 1, 0, 100)

generate(newFilename); //default value <filename>_glitched.<filetype>

Properties

fileName

fileType

rawData //hex buffer

data //string buffer

Example

//simple datamoshing program

var dmosh = require("datamosher");
var file = new dmosh("video.mp4");
file.glitchMP4();
file.generate();

console.log(file.rawData);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].