pack-vid/pack-set
Brion Vibber 7317855d05 fixes
* add 540p between 480p and 720p
* use veryslow for small and medium for large
* fix max bitrate for lower resolutions
* throw in more b-frames for fun (may not be relevant)
2023-05-07 01:21:19 -07:00

16 lines
403 B
Bash
Executable file

#!/bin/sh
for INFILE in "$@"
do
echo "$INFILE"
COMMON="--quality=0.75 --exposure=-2.5 --peak=141 --fps=60000/1001"
SPEED_SMALL="veryslow"
SPEED_LARGE="medium"
SMALL="$COMMON --size=4m --preset=$SPEED_SMALL"
LARGE="$COMMON --size=25m --preset=$SPEED_LARGE"
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-small.mp4"
pack-vid $LARGE "$INFILE" "${INFILE%.mp4}-large.mp4"
done