A Ruby library to destroy your AVI files.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib Version 0.1.5 Dec 12, 2014
spec
.gitignore
.rspec
.travis.yml
ChangeLog.md Version 0.1.5 Dec 12, 2014
Gemfile
LICENSE
README.md
Rakefile
aviglitch.gemspec

README.md

AviGlitch

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;

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

Copyright

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