16 lines
378 B
Bash
Executable file
16 lines
378 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="slow"
|
|
#SPEED="veryfast"
|
|
|
|
SMALL="$COMMON --size=4m --preset=$SPEED"
|
|
LARGE="$COMMON --size=25m --preset=$SPEED"
|
|
|
|
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-small.mp4"
|
|
pack-vid $LARGE "$INFILE" "${INFILE%.mp4}-large.mp4"
|
|
done
|