~robertgzr/corrupter

9b24839bf19ee271a5f36c6ac982e97d97f76da7 — Robert Günzler 1 year, 3 months ago 76bcd32
Add script that can convert to jpg

Signed-off-by: Robert Günzler <r@gnzler.io>
1 files changed, 7 insertions(+), 0 deletions(-)

A tojpg.sh
A tojpg.sh => tojpg.sh +7 -0
@@ 0,0 1,7 @@
#!/bin/sh
# -mag 15 -lag 0.1 -stdabber 8 -add 0
in=$1
shift
exec ffmpeg -i "$in" -c:v png -f image2pipe - |
	"$(dirname "$0")"/corrupter "$@" - |
	ffmpeg -i - ~/pictures/glitch.jpg