What Glitch? scripts By Antonio Roberts www.hellocatfood.com GNU/GPL.
The What Glitch? scripts were made to demonstrate the wide variety of glitches and compression artifacts you can find in image file formats. The method used in most of the scripts is to find and replace parts of text within the image file, although reducing the bit depth can also produce commonly seen glitch visuals.
Sed avconv GIMP Imagemagick
The scripts have only been tested on Ubuntu 10.10 and 12.04. If you are able to get them working with other operating systems please feel free to share your techniques
As this scripts processes each frame of a video file it will take a very long time to complete. It is recommended for use only on short video clips!