pack-vid/pack-set
2023-04-23 15:14:27 -07:00

14 lines
448 B
Bash
Executable file

#!/bin/sh
INFILE="$1"
COMMON="--quality=0.67 --exposure=-3 --peak=80"
SMALL="$COMMON --size=4m --preset=veryslow"
LARGE="$COMMON --size=25m --preset=veryslow"
(
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-letterbox-small.mp4"
pack-vid $LARGE "$INFILE" "${INFILE%.mp4}-letterbox-large.mp4"
) &
(
pack-vid $SMALL --crop "$INFILE" "${INFILE%.mp4}-crop-small.mp4"
pack-vid $LARGE --crop "$INFILE" "${INFILE%.mp4}-crop-large.mp4"
) &
wait