A Ruby library to destroy your AVI files.
Find a file
2024-07-19 09:08:35 +09:00
.github/workflows Some fixes on ruby.yml 2024-07-08 10:51:22 +09:00
bin Some internal changes 2024-07-08 17:23:21 +09:00
lib Version 0.2.2 2024-07-19 09:08:35 +09:00
spec Version 0.2.2 2024-07-19 09:08:35 +09:00
.gitignore Refined test fixtures 2021-09-05 11:58:03 +09:00
.rspec Some minor changes. 2014-10-30 13:09:24 +09:00
aviglitch.gemspec Fix settings 2021-08-22 18:18:26 +09:00
ChangeLog.md Version 0.2.2 2024-07-19 09:08:35 +09:00
Gemfile Fix settings 2021-08-22 18:18:26 +09:00
LICENSE Version 0.2.2 2024-07-19 09:08:35 +09:00
Rakefile Version 0.1.4 2014-04-07 15:23:42 +09:00
README.md Version 0.2.0 2021-09-12 21:11:52 +09:00

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.