1
0
Fork 0

fix mybashrc

This commit is contained in:
VirtuBox 2019-12-16 12:51:56 +01:00
parent 8d9058a563
commit 011a22351a
Signed by: virtubox
GPG Key ID: 22EB296C97BAD476
1 changed files with 2 additions and 1 deletions

View File

@ -703,12 +703,13 @@ _CLEAN_PPA() {
_STABILISE_VIDEO() { _STABILISE_VIDEO() {
for i in $PWD/*.MP4; do for i in "$PWD"/*.MP4; do
echo "Processing vid $i ...${i%.*}" 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 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 libx265 -crf 28 -c:a aac -b:a 128k "${i%.*}-stable.mp4"
rm /tmp/transform_vectors.trf rm /tmp/transform_vectors.trf
done done
} }
# enable color support of ls and also add handy aliases # enable color support of ls and also add handy aliases