Skip to content

Instantly share code, notes, and snippets.

@ucnv
Created September 1, 2010 21:10
Show Gist options
  • Save ucnv/561370 to your computer and use it in GitHub Desktop.
Save ucnv/561370 to your computer and use it in GitHub Desktop.
require 'aviglitch'
a = AviGlitch.open ARGV.shift
a.glitch :keyframe do |f|
nil
end
a.glitch :audioframe do |f|
f.gsub /\d/, "0"
end
a.output 'o.avi'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment