Script

Motion Interpolation for Glitch Aesthetics using FFmpeg part 9

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=aobmc:me_mode=bilat:me=ds

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/033_mc_modeaobmc_me_modebilat_meds.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bilat:me=ds’” 033_mc_mode=aobmc_me_mode=bilat_me=ds.mp4[/code]

mc_mode=aobmc:me_mode=bilat:me=hexbs

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/034_mc_modeaobmc_me_modebilat_mehexbs.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bilat:me=hexbs’” 034_mc_mode=aobmc_me_mode=bilat_me=hexbs.mp4[/code]

mc_mode=aobmc:me_mode=bilat:me=epzs

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/035_mc_modeaobmc_me_modebilat_meepzs.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bilat:me=epzs’” 035_mc_mode=aobmc_me_mode=bilat_me=epzs.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 8

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=aobmc:me_mode=bilat:me=tss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/029_mc_modeaobmc_me_modebilat_metss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bilat:me=tss’” 029_mc_mode=aobmc_me_mode=bilat_me=tss.mp4[/code]

mc_mode=aobmc:me_mode=bilat:me=tdls

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/030_mc_modeaobmc_me_modebilat_metdls.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bilat:me=tdls’” 030_mc_mode=aobmc_me_mode=bilat_me=tdls.mp4[/code]

mc_mode=aobmc:me_mode=bilat:me=ntss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/031_mc_modeaobmc_me_modebilat_mentss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bilat:me=ntss’” 031_mc_mode=aobmc_me_mode=bilat_me=ntss.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 7

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=obmc:me_mode=bilat:me=hexbs

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/025_mc_modeobmc_me_modebilat_mehexbs.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bilat:me=hexbs’” 025_mc_mode=obmc_me_mode=bilat_me=hexbs.mp4[/code]

mc_mode=obmc:me_mode=bilat:me=epzs

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/026_mc_modeobmc_me_modebilat_meepzs.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bilat:me=epzs’” 026_mc_mode=obmc_me_mode=bilat_me=epzs.mp4[/code]

mc_mode=obmc:me_mode=bilat:me=umh

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/027_mc_modeobmc_me_modebilat_meumh.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bilat:me=umh’” 027_mc_mode=obmc_me_mode=bilat_me=umh.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 6

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=obmc:me_mode=bilat:me=tdls

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/021_mc_modeobmc_me_modebilat_metdls.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bilat:me=tdls’” 021_mc_mode=obmc_me_mode=bilat_me=tdls.mp4[/code]

mc_mode=obmc:me_mode=bilat:me=ntss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/022_mc_modeobmc_me_modebilat_mentss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bilat:me=ntss’” 022_mc_mode=obmc_me_mode=bilat_me=ntss.mp4[/code]

mc_mode=obmc:me_mode=bilat:me=fss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/023_mc_modeobmc_me_modebilat_mefss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bilat:me=fss’” 023_mc_mode=obmc_me_mode=bilat_me=fss.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 5

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=aobmc:me_mode=bidir:me=epzs

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/017_mc_modeaobmc_me_modebidir_meepzs.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bidir:me=epzs:’” 017_mc_mode=aobmc_me_mode=bidir_me=epzs.mp4[/code]

mc_mode=aobmc:me_mode=bidir:me=umh

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/018_mc_modeaobmc_me_modebidir_meumh.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bidir:me=umh’” 018_mc_mode=aobmc_me_mode=bidir_me=umh.mp4[/code]

mc_mode=obmc:me_mode=bilat:me=esa

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/019_mc_modeobmc_me_modebilat_meesa.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bilat:me=esa’” 019_mc_mode=obmc_me_mode=bilat_me=esa.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 4

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=aobmc:me_mode=bidir:me=ntss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/013_mc_modeaobmc_me_modebidir_mentss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bidir:me=ntss’” 013_mc_mode=aobmc_me_mode=bidir_me=ntss.mp4[/code]

mc_mode=aobmc:me_mode=bidir:me=fss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/014_mc_modeaobmc_me_modebidir_mefss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bidir:me=fss’” 014_mc_mode=aobmc_me_mode=bidir_me=fss.mp4[/code]

mc_mode=aobmc:me_mode=bidir:me=ds

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/015_mc_modeaobmc_me_modebidir_meds.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bidir:me=ds’” 015_mc_mode=aobmc_me_mode=bidir_me=ds.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 3

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=obmc:me_mode=bidir:me=umh

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/009_mc_modeobmc_me_modebidir_meumh.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bidir:me=umh’” 009_mc_mode=obmc_me_mode=bidir_me=umh.mp4[/code]

mc_mode=aobmc:me_mode=bidir:me=esa

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/010_mc_modeaobmc_me_modebidir_meesa.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bidir:me=esa’” 010_mc_mode=aobmc_me_mode=bidir_me=esa.mp4[/code]

mc_mode=aobmc:me_mode=bidir:me=tss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/011_mc_modeaobmc_me_modebidir_metss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=aobmc:me_mode=bidir:me=tss’” 011_mc_mode=aobmc_me_mode=bidir_me=tss.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 2

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=obmc:me_mode=bidir:me=fss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/005_mc_modeobmc_me_modebidir_mefss.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bidir:me=fss’” 005_mc_mode=obmc_me_mode=bidir_me=fss.mp4[/code]

mc_mode=obmc:me_mode=bidir:me=ds

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/006_mc_modeobmc_me_modebidir_meds.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bidir:me=ds’” 006_mc_mode=obmc_me_mode=bidir_me=ds.mp4[/code]

mc_mode=obmc:me_mode=bidir:me=hexbs

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/007_mc_modeobmc_me_modebidir_mehexbs.mp4”][/video] [code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bidir:me=hexbs’” 007_mc_mode=obmc_me_mode=bidir_me=hexbs.mp4[/code]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 1

Below are a few examples of how you can use FFmpeg’s minterpolate to create artworks with a glitch aesthetic.

You can read about how I used it for an artwork in this blog post. You can also grab the source file for these videos here. Give it a try yourself!

mc_mode=obmc:me_mode=bidir:me=esa

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/001_mc_modeobmc_me_modebidir_meesa.mp4”][/video]

[code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bidir:me=esa’” 001_mc_mode=obmc_me_mode=bidir_me=esa.mp4[/code]

mc_mode=obmc:me_mode=bidir:me=tss

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/002_mc_modeobmc_me_modebidir_metss.mp4”][/video]

[code]ffmpeg -i cat_rainbow_original.mp4 -filter:v “setpts=62.5*PTS,minterpolate=‘fps=25:mb_size=16:search_param=400:vsbmc=0:scd=none:mc_mode=obmc:me_mode=bidir:me=tss’” 002_mc_mode=obmc_me_mode=bidir_me=tss.mp4[/code]

mc_mode=obmc:me_mode=bidir:me=tdls

[video width=“1920” height=“1080” mp4=“https://www.hellocatfood.com/wp-content/uploads/2020/02/003_mc_modeobmc_me_modebidir_metdls.mp4”][/video]

Motion Interpolation for Glitch Aesthetics using FFmpeg part 0

As you may have seen in this blog post I made use of FFmpeg’s minterpolate motion interpolation options to make all of the faces morph. There’s quite a few options for minterpolate and many different combinations of options that can be used. i had to consult Wikipedia to figure out exactly what the different motion estimation algorithms were but even with that information I couldn’t visualise how it would change the output. To add to this how I’m using minterpolate isn’t a typical use case.

Emojify all the things

There’s no doubt that emoji is here to stay and will infiltrate your artwork, desktop, phone screens and inboxes if it hasn’t already done so. In a similar vein to ASCII art, recently apps have been released to convert pixels in images and video to emoji. Emoji Video and Emojify are two iOS apps that can convert content to emoji, with the former appearing to be able to do this in realtime with video.

Glitch Webcam

Glitch Webcam* is a small script that was developed during my time at Databit.me as part of the Open Camera project, which aimed at finding inexpensive ways to take images. Since then it has been in the MEMIC exhibition in November 2012 and usually makes an appearance wherever my laptop goes.

At only five lines of code and ~254 bytes, this script is a very quick way to glitch photos taken automatically by a webcam. The project was originally demoed using a Raspberry Pi/Raspbian and a digital photo frame, though problems with USB have prevented me from doing that since.

Scripted Bends

Recently there’s been a trend amongst glitch artists to do more video glitches. I’ve been pretty quiet on that front whilst I work on my techniques. Here’s the first results of my experiments using Chris Cunningham’s short film Rubber Johnny as a test subject

Just from these tests I can see the opportunities that using video presents, especially when using audio. I can definitely see more of my work being like this

Echobender

Myself and Mez recently finished a script called Echobender that automatically databends images.

[caption id=“attachment_1766” width=“500” caption=“Click to view on GitHub”] [/caption]

To use it you’ll need:

  • A computer with Linux installed. I don’t have a Windows or Mac PC so I can’t test it on those
  • Sox. On Ubuntu you can install it via sudo apt-get install sox
  • Convert, which is part of ImageMagick. On Ubuntu you can install it via sudo apt-get install imagemagick

Once you have those installed just execute ./echobender.sh from the terminal and then drop a .jpg or .bmp file into it. The output will be in a folder called “echo”.

Family Build Up

One of the most common questions I, and possibly any other digital artist gets when they present their work is how they do it. I occasionally reveal some of my methods in my tutorials but otherwise I like to show screenshots taken at various stages. I came across this build up script a few months back and have now finally got it to work! Here’s my previous family portrait being reconstructed:

This script isn’t a true reflection of how I drew it but gives a good idea about the amount of detail I go into with my work. The reason I didn’t finish it is that I had already had the script running for ten hours and it was only half finished! Luckily there’s options to resume, but at this rate I’ll be doing it until February!