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-07 08:35:43 +00:00
|
|
|
COMMON="--exposure=-2.5 --peak=141 --fps=60000/1001"
|
2023-05-07 08:20:25 +00:00
|
|
|
SPEED_SMALL="veryslow"
|
|
|
|
SPEED_LARGE="medium"
|
2023-04-24 02:28:30 +00:00
|
|
|
|
2023-05-16 19:14:49 +00:00
|
|
|
SMALL="$COMMON --size=4m --preset=$SPEED_SMALL"
|
2023-05-07 08:20:25 +00:00
|
|
|
LARGE="$COMMON --size=25m --preset=$SPEED_LARGE"
|
2023-04-24 02:28:30 +00:00
|
|
|
|
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
|