From ed422ffda477c1ddb965c99841fc2cc5789584cb Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 16 Dec 2019 13:02:28 +0100 Subject: [PATCH] update stabilise --- mybashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mybashrc b/mybashrc index a2645e6..e20b263 100644 --- a/mybashrc +++ b/mybashrc @@ -706,7 +706,7 @@ _STABILISE_VIDEO() { for i in "$PWD"/*.MP4; do echo "Processing vid $i ...${i%.*}" ffmpeg -i "$i" -vf vidstabdetect=stepsize=6:shakiness=4:accuracy=15:result=/tmp/transform_vectors.trf -f null - - ffmpeg -i "$i" -vf vidstabtransform=input=/tmp/transform_vectors.trf:zoom=2:smoothing=10,unsharp=5:5:0.8:3:3:0.4 -c:v libx265 -crf 28 -c:a aac -b:a 128k "${i%.*}-stable.mp4" + ffmpeg -i "$i" -vf vidstabtransform=input=/tmp/transform_vectors.trf:zoom=2:smoothing=10,unsharp=5:5:0.8:3:3:0.4 -c:v libx264 -preset slow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p -movflags +faststart "${i%.*}-stable.mp4" rm /tmp/transform_vectors.trf done