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