pack-vid/pack-set

17 lines
388 B
Text
Raw Normal View History

2023-04-22 00:57:17 +00:00
#!/bin/sh
2023-04-24 02:28:30 +00:00
for INFILE in "$@"
do
echo "$INFILE"
COMMON="--exposure=-2.5 --peak=141 --fps=60000/1001"
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"
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