From 50256a3e767b85884cbc3177b9884e41602865a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20V=C3=A1squez=20P=C3=A9rez?= Date: Tue, 25 Jul 2017 19:43:56 -0700 Subject: [PATCH] ffmpeg script to make a qt animation out of an image sequence with alpha --- bash/make_anim+.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bash/make_anim+.sh diff --git a/bash/make_anim+.sh b/bash/make_anim+.sh new file mode 100755 index 0000000..f212719 --- /dev/null +++ b/bash/make_anim+.sh @@ -0,0 +1,7 @@ +#!/bin/bash +bg_color=#5d5d5d +size=1920x1080 +base=smoke1 +for i; +do ffmpeg -f lavfi -i color=c=$bg_color:s=$size -i $base.%04d.png -filter_complex "[0:v][1:v]overlay=shortest=1,format=yuv420p[out]" -map "[out]" -c:v qtrle -q 0 $base"_Animation+.mov"; +done