whee
This commit is contained in:
parent
669e817341
commit
53fd306c6a
2 changed files with 12 additions and 5 deletions
15
pack-set
15
pack-set
|
@ -1,7 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
INFILE="$1"
|
INFILE="$1"
|
||||||
shift
|
COMMON="--quality=0.67 --exposure=-3 --peak=80"
|
||||||
COMMON="--quality=0.67 --exposure=-3 --peak=80 --preset=slow"
|
SMALL="$COMMON --size=4m --preset=veryslow"
|
||||||
pack-vid $COMMON --size=4m "$INFILE" "${INFILE%.mp4}-small.mp4" &
|
LARGE="$COMMON --size=25m --preset=veryslow"
|
||||||
pack-vid $COMMON --size=25m "$INFILE" "${INFILE%.mp4}-large.mp4" &
|
(
|
||||||
|
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
|
wait
|
||||||
|
|
2
pack-vid
2
pack-vid
|
@ -20,7 +20,7 @@ $options = [
|
||||||
'no-audio' => false,
|
'no-audio' => false,
|
||||||
'exposure' => '0', // stops
|
'exposure' => '0', // stops
|
||||||
'peak' => '1000', // '10000' is max
|
'peak' => '1000', // '10000' is max
|
||||||
'preset' => 'slow',
|
'preset' => 'medium',
|
||||||
'fps' => '60000/1001',
|
'fps' => '60000/1001',
|
||||||
'size' => $maxBytes,
|
'size' => $maxBytes,
|
||||||
'quality' => 1.0,
|
'quality' => 1.0,
|
||||||
|
|
Loading…
Reference in a new issue