1
0
Fork 0

remove original

This commit is contained in:
VirtuBox 2019-12-20 13:39:07 +01:00
parent 1fcd2aa31d
commit cd781420c6
Signed by: virtubox
GPG Key ID: 22EB296C97BAD476
1 changed files with 1 additions and 0 deletions

View File

@ -708,6 +708,7 @@ _STABILISE_VIDEO() {
ffmpeg -i "$i" -vf vidstabdetect=stepsize=6:shakiness=4:accuracy=15:result=/tmp/transform_vectors.trf -f null - 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 libx264 -preset slow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p -movflags +faststart "${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 rm /tmp/transform_vectors.trf
rm -f "$i"
done done
} }