pack-vid/pack-set
Brion Vibber f772f4a618 hackfix for hdr
go based on the surface type which sucks
but will be good enough for now
2023-06-10 18:32:35 -07:00

24 lines
468 B
Bash
Executable file

#!/bin/sh
OPTS=""
if [ "$1" == "--no-audio" ]
then
OPTS="--no-audio"
shift
fi
for INFILE in "$@"
do
echo "$INFILE"
#COMMON="$OPTS --exposure=-2.5 --peak=141"
COMMON="$OPTS"
SPEED_SMALL="slow"
SPEED_LARGE="slow"
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