pack-vid/pack-set

15 lines
440 B
Text
Raw Normal View History

2023-04-22 00:57:17 +00:00
#!/bin/sh
2023-04-23 18:30:24 +00:00
INFILE="$1"
2023-04-23 22:14:27 +00:00
COMMON="--quality=0.67 --exposure=-3 --peak=80"
2023-04-23 22:14:37 +00:00
SMALL="$COMMON --size=4m --preset=slow"
LARGE="$COMMON --size=25m --preset=slow"
2023-04-23 22:14:27 +00:00
(
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"
) &
2023-04-22 00:57:17 +00:00
wait