A Ruby library to destroy your AVI files.
Clone or download
Latest commit 0a1def0 Dec 11, 2014
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Fix datamosh to show file-does-not-exist error Mar 30, 2014
lib Version 0.1.5 Dec 12, 2014
spec Some minor changes. Oct 30, 2014
.gitignore Fixes for documents. Nov 3, 2014
.rspec Some minor changes. Oct 30, 2014
.travis.yml Some minor changes. Oct 30, 2014
ChangeLog.md Version 0.1.5 Dec 12, 2014
Gemfile Changed environment for bundler Mar 29, 2014
LICENSE Update documents. Mar 29, 2014
README.md Version 0.1.5 Dec 12, 2014
Rakefile Version 0.1.4 Apr 7, 2014
aviglitch.gemspec Version 0.1.5 Dec 12, 2014



Build Status

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 http://ucnv.github.com/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;


  require 'aviglitch'

  avi = AviGlitch.open('/path/to/your.avi')
  avi.glitch(:keyframe) do |data|
    data.gsub(/\d/, '0')

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.


  gem install aviglitch


Copyright (c) 2009 - 2014 ucnv. See LICENSE for details.