#!/bin/sh INFILE="$1" shift COMMON="--quality=0.67 --exposure=-3 --peak=100 --preset=slow" pack-vid $COMMON --size=4m "$INFILE" "${INFILE%.mp4}-small.mp4" & pack-vid $COMMON --size=25m "$INFILE" "${INFILE%.mp4}-large.mp4" & wait