Hoch 2
Creative Coding
Reimplementing an old project with new acquired skills
While experimenting in my terminal and using the Homebrew package manager to manipulate my files, I stumbled upon an old project I created last year. Back then, it didn’t quite meet my creative standards. With the new skills I’ve gained since, I was finally able to bring my original vision to life: exploring how to split light and play with reflections in ways I couldn’t achieve before, but this time in a digital space.
Code:
ffmpeg
-i input_video.mp4 -filter:v „setpts=0.2*PTS“ -an output_vi-deo2.mp4
Later on converting it to a GIF
Code:
magick
output.gif -define distort:viewport=125x125-25-25 \ -filter point -distort SRT 0 +repage koala_viewport_2.gif
Code:
ffmpeg -i looped_output.gif -filter_complex „[0:v]geq=‘if(gt(mod (X\,80)\,40)\,255\,30) * if(gt(mod(Y\,80)\,40)\,255\,90)‘“ looped_out-put2.gif
Code:
magick
output_video3.gif -define distort:view-port=1280x720-240-160-240-160\
-filter point -distort SRT 0 +repage koala_viewport_4.gif
Code (mirror):
ffmpeg-i output_video4.gif -filter_complex \ „[0:v]split=2[in1][in2]; \
[in1]pad=iw*2:ih[left]; \
[in2]hflip[right]; \
[left][right]overlay=W/2:0“ \ output_mirrored.mp4