2023-04-22 00:57:17 +00:00
|
|
|
#!/bin/sh
|
2023-04-24 02:28:30 +00:00
|
|
|
|
|
|
|
for INFILE in "$@"
|
|
|
|
do
|
|
|
|
echo "$INFILE"
|
|
|
|
|
2023-05-01 01:43:08 +00:00
|
|
|
COMMON="--quality=0.75 --exposure=-2.5 --peak=141 --fps=60000/1001"
|
2023-04-24 02:28:30 +00:00
|
|
|
SPEED="slow"
|
|
|
|
#SPEED="veryfast"
|
|
|
|
|
|
|
|
SMALL="$COMMON --size=4m --preset=$SPEED"
|
|
|
|
LARGE="$COMMON --size=25m --preset=$SPEED"
|
|
|
|
|
2023-04-25 04:24:51 +00:00
|
|
|
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-small.mp4"
|
|
|
|
pack-vid $LARGE "$INFILE" "${INFILE%.mp4}-large.mp4"
|
2023-04-24 02:28:30 +00:00
|
|
|
done
|