Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ucnv/aviglitch
A Ruby library to destroy your AVI files.
https://github.com/ucnv/aviglitch
Last synced: 3 days ago
JSON representation
A Ruby library to destroy your AVI files.
- Host: GitHub
- URL: https://github.com/ucnv/aviglitch
- Owner: ucnv
- License: mit
- Created: 2009-08-01T16:17:32.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2024-07-19T00:18:36.000Z (4 months ago)
- Last Synced: 2024-11-07T11:56:42.467Z (6 days ago)
- Language: Ruby
- Homepage:
- Size: 1.58 MB
- Stars: 235
- Watchers: 16
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# AviGlitch
[![Gem Version](https://badge.fury.io/rb/aviglitch.svg)](https://badge.fury.io/rb/aviglitch)
[![test](https://github.com/ucnv/aviglitch/actions/workflows/ruby.yml/badge.svg)](https://github.com/ucnv/aviglitch/actions/workflows/ruby.yml)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 .
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;
* vimeo
* wikipedia## Usage
```ruby
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.```sh
$ datamosh /path/to/your.avi -o /path/to/broken.avi
```For more practical usages, please check .
## Installation
```sh
gem install aviglitch
```## License
This library is distributed under the terms and conditions of the [MIT license](LICENSE).