Browse Source

fix stabilise

master
VirtuBox 1 year ago
parent
commit
d6c79230a0
Signed by: virtubox GPG Key ID: 22EB296C97BAD476
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mybashrc

+ 1
- 1
mybashrc View File

@ -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 copy -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
done


Loading…
Cancel
Save