whee
This commit is contained in:
parent
6d47987367
commit
688827cbb8
1 changed files with 20 additions and 13 deletions
33
pack-set
33
pack-set
|
@ -1,14 +1,21 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
INFILE="$1"
|
|
||||||
COMMON="--quality=0.67 --exposure=-3 --peak=80"
|
for INFILE in "$@"
|
||||||
SMALL="$COMMON --size=4m --preset=slow"
|
do
|
||||||
LARGE="$COMMON --size=25m --preset=slow"
|
echo "$INFILE"
|
||||||
(
|
|
||||||
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-letterbox-small.mp4"
|
COMMON="--exposure=-2.5 --peak=141"
|
||||||
pack-vid $LARGE "$INFILE" "${INFILE%.mp4}-letterbox-large.mp4"
|
SPEED="slow"
|
||||||
) &
|
#SPEED="veryfast"
|
||||||
(
|
|
||||||
pack-vid $SMALL --crop "$INFILE" "${INFILE%.mp4}-crop-small.mp4"
|
SMALL="$COMMON --size=4m --preset=$SPEED"
|
||||||
pack-vid $LARGE --crop "$INFILE" "${INFILE%.mp4}-crop-large.mp4"
|
LARGE="$COMMON --size=25m --preset=$SPEED"
|
||||||
) &
|
LETTERBOX="--quality=0.75"
|
||||||
wait
|
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
|
||||||
|
|
Loading…
Reference in a new issue