audio tweaks etc

* pass --no-audio through from pack-set to pack-vid
* don't reserve bitrate for audio if there's no audio track
This commit is contained in:
Brooke Vibber 2023-05-16 16:54:36 -07:00
commit 97a21bd75f
2 changed files with 20 additions and 7 deletions

View file

@ -1,10 +1,17 @@
#!/bin/sh
OPTS=""
if [ "$1" == "--no-audio" ]
then
OPTS="--no-audio"
shift
fi
for INFILE in "$@"
do
echo "$INFILE"
COMMON="--exposure=-2.5 --peak=141 --fps=60000/1001"
COMMON="$OPTS --exposure=-2.5 --peak=141 --fps=60000/1001"
SPEED_SMALL="veryslow"
SPEED_LARGE="medium"