pack-vid/pack-set

22 lines
574 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"
SPEED="slow"
#SPEED="veryfast"
SMALL="$COMMON --size=4m --preset=$SPEED"
LARGE="$COMMON --size=25m --preset=$SPEED"
LETTERBOX="--quality=0.75"
CROP="--crop"
pack-vid $SMALL $CROP "$INFILE" "${INFILE%.mp4}-crop-small.mp4"
pack-vid $SMALL $LETTERBOX "$INFILE" "${INFILE%.mp4}-letterbox-small.mp4"
pack-vid $LARGE $CROP "$INFILE" "${INFILE%.mp4}-crop-large.mp4"
pack-vid $LARGE $LETTERBOX "$INFILE" "${INFILE%.mp4}-letterbox-large.mp4"
done