add suroot
This commit is contained in:
parent
f7c7fc9fe4
commit
678debf8eb
3
mybashrc
3
mybashrc
|
@ -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…
Reference in New Issue