Use the AviGlitch Ruby Gem ([url removed, login to view]) to create a command line script that works as follows
ruby [url removed, login to view] --amount 60 --output [url removed, login to view] [url removed, login to view]
- "amount" is a number between 0-100 and defines how "glitched" the video becomes. 0 means no glitch at all and 100 means almost completely destroyed. This is open to some interpretation/creativity. The examples on the website above illustrate 2 different ways to "glitch" a video: 1) removing keyframes and 2) repeating frames. Ideally, the script will use both and create the most visually pleasing result possible.
- output is the output result
- [url removed, login to view] is an input video
- If you aren't familiar with the concept of datamoshing, please read the following: [url removed, login to view]
- Use the following script as a starting point: [url removed, login to view]
- If you'd like to offer more options (but still satisfy the basic functionality described above), please feel free
- If you'd like to use pyMosh ([url removed, login to view]) instead, I'd actually prefer this, but I haven't been able to get it to achieve results as good as aviGlitch and keep the audio intact
- The audio must remain intact in the output video
- Code must be well commented
I had a look at AviGlitch and pymosh - cool projects. I'm a Ruby dev by day, would be up for this project. Do you have a sample video you'd want to use?