Project

aviglitch

0.11
Low commit activity in last 3 years
No release in over a year
A Ruby library to destroy your AVI files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.2.10
>= 12.3.3
>= 0
 Project Readme

AviGlitch

Gem Version test

AviGlitch destroys your AVI files.

I can't explain why they're going to destroy their own data, but they do.

You can find a short guide at https://ucnv.github.io/aviglitch/. It provides a way to manipulate the data in each AVI frames. It will mostly be used for making datamoshing videos. It parses only container level structure, doesn't parse codecs.

See following urls for details about visual glitch;

Usage

  require 'aviglitch'

  avi = AviGlitch.open('/path/to/your.avi')
  avi.glitch(:keyframe) do |data|
    data.gsub(/\d/, '0')
  end
  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

For more practical usages, please check https://github.com/ucnv/aviglitch-utils/tree/master/bin.

Installation

  gem install aviglitch

License

This library is distributed under the terms and conditions of the MIT license.