From e41c71324edee6e068a10fe0fc3d179d661a7270 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 28 Apr 2017 10:19:01 +0200 Subject: Use rounded rescaling. --- bin/decode+edit+loop+encode+stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/decode+edit+loop+encode+stream') diff --git a/bin/decode+edit+loop+encode+stream b/bin/decode+edit+loop+encode+stream index b7cc5d5..6b469a5 100755 --- a/bin/decode+edit+loop+encode+stream +++ b/bin/decode+edit+loop+encode+stream @@ -31,7 +31,7 @@ ffmpeg -hide_banner -threads auto -re \ -f lavfi -i "movie=filename=$INPUT:loop=$ITERATIONS, setpts=N/(FRAME_RATE*TB)" \ -i "$LOGO" \ -filter_complex \ - "[0:v]scale=-1:$HEIGHT[bg]; + "[0:v]scale=-2:$HEIGHT[bg]; [bg][1:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20[v]" \ -map '[v]' \ -pix_fmt yuv420p \ -- cgit v1.2.3