Browse Source

add suroot

master
VirtuBox 7 months ago
parent
commit
678debf8eb
Signed by: virtubox GPG Key ID: 22EB296C97BAD476
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mybashrc

+ 2
- 1
mybashrc View File

@ -703,7 +703,7 @@ _STABILISE_VIDEO() {
for i in "$PWD"/*; 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 vidstabdetect=stepsize=6:shakiness=5: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 copy -pix_fmt yuv420p -movflags +faststart "${i%.*}-stable.mp4"
rm /tmp/transform_vectors.trf
rm -f "$i"
@ -812,3 +812,4 @@ alias delete-all-site=_DELETE_WO_SITES
alias stabilise-video=_STABILISE_VIDEO
alias yt-encode=_YOUTUBE_ENCODE
alias mp4convert=_MP4_CONVERT
alias suroot='sudo su - root'

Loading…
Cancel
Save