feat: cleanup .local/bin

This commit is contained in:
ange 2024-10-22 16:33:50 +07:00
parent 757b759b4a
commit 87d37712dd
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
21 changed files with 69 additions and 86 deletions

View file

@ -2,7 +2,7 @@
in="$1"; shift
out="$1"; shift
smalside="${1:-480}"; shift || true
smallside="${1:-720}"; shift || true
if ! [ -r "$in" ]; then
echo "error: can't read '$in'" >&2
@ -15,5 +15,5 @@ if [ -z "$out" ]; then
fi
set -x
#ffmpeg -i "$in" -r 24 -vcodec libx265 -vf "scale=-2:$smalside,setpts=0.5*PTS" "$@" "$out"
ffmpeg -i "$in" -r 24 -vcodec libx265 -vf "scale=-2:$smalside" "$@" "$out"
#ffmpeg -i "$in" -r 24 -vcodec libx265 -vf "scale=-2:$smallside,setpts=0.5*PTS" "$@" "$out"
ffmpeg -i "$in" -r 24 -vcodec libx265 -vf "scale=-2:$smallside" "$@" "$out"