feat: huge update
This commit is contained in:
parent
9c621760cf
commit
757b759b4a
47 changed files with 221 additions and 286 deletions
19
.local/bin/ffreduce
Executable file
19
.local/bin/ffreduce
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
in="$1"; shift
|
||||
out="$1"; shift
|
||||
smalside="${1:-480}"; shift || true
|
||||
|
||||
if ! [ -r "$in" ]; then
|
||||
echo "error: can't read '$in'" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$out" ]; then
|
||||
echo "error: output file name can't be empty" >&2
|
||||
exit 1
|
||||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue