### Install AviGlitch Gem Source: https://github.com/ucnv/aviglitch/blob/master/README.md Install the AviGlitch gem using the standard RubyGems command. This is a prerequisite for using the library programmatically or via its command-line tools. ```sh gem install aviglitch ``` -------------------------------- ### Create Keyframes Removed Video with datamosh Source: https://github.com/ucnv/aviglitch/blob/master/README.md Utilize the command-line tool 'datamosh' to create a video with removed keyframes. Specify the input AVI file and the output file path. ```sh $ datamosh /path/to/your.avi -o /path/to/broken.avi ``` -------------------------------- ### Programmatically Glitch AVI File Source: https://github.com/ucnv/aviglitch/blob/master/README.md Use this snippet to open an AVI file, apply a glitch effect by replacing digits with '0' in frame data, and save the modified file. Ensure the 'aviglitch' gem is required. ```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') ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.