Wednesday, October 14, 2015

How to Make a Title Card Movie out of a static image: Part 2- ADDING BLUR

While converting text images to titles, you can blur the edges minimally to smooth out jaggies:



#!/bin/bash

for i in *.png;
do
ffmpeg -y -loop 1 -f image2 -i $i -f lavfi -i anullsrc -t 00:00:05 -s 1280x720 -aspect 16:9 -acodec pcm_s24le -b:a 128k -vcodec qtrle -b:v 1024k -filter_complex 'boxblur=1:1, fade=in:0:10, fade=out:110:10' -f mov ${i%%.png}.mov

done


This uses "boxblur", but you can also use "smartblur".


No comments:

Post a Comment