Follow

@pixelflowers try this ( on linux) ffmpeg -f x11grab -follow_mouse centered -framerate 10 -video_size 960x540 -i :0.0 -f x11grab -follow_mouse centered -framerate 10 -video_size 960x540 -i :0.0 -lavfi "[1]split[x][y],[0][x][y]displace" -f rawvideo -pix_fmt yuv420p - | ffplay -f rawvideo -pix_fmt yuv420p -s 960x540 -

· · Web · 2 · 0 · 2

@glitchbyte did you come up with this amazing oneliner?
One could spin it like "Instant Gateway Drug to Video Glitch Art for Linux Users" 😄

wow, it's so beautiful 🤤

@pixelflowers its a combination of the version of the displacement script that you came up with with some further research into ffplay , simply speaking you can open windows as feedback loops using x11grab . I'm using it a lot at the moment in my work ! ie this 'ffplay -f x11grab -follow_mouse centered -framerate 10 -video_size 640x480 -i :0.0'

@glitchbyte ...replacing one input with a capture card connected to the rest of the equipment...
so promising!

#ffmpeg #code #video #videofeedback
ffmpeg -threads 4 -f x11grab -follow_mouse centered -framerate 10 -video_size 720x576 -i :0.0 -i /dev/video0 -lavfi "[0]split[x][y],[1][x][y]displace" -f rawvideo -pix_fmt yuv420p - | ffplay -threads 4 -f rawvideo -pix_fmt yuv420p -s 720x576 -

@pixelflowers the - threads 4 part , is that allocating cpu threads ?

Sign in to participate in the conversation
Mastodon

This is a brand new server run by the main developers of the project as a spin-off of mastodon.social 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!