undo the bf and adjust rates for small/large

This commit is contained in:
Brooke Vibber 2023-05-07 01:35:43 -07:00
parent 7317855d05
commit f380334fe2
2 changed files with 2 additions and 4 deletions

View file

@ -4,11 +4,11 @@ for INFILE in "$@"
do
echo "$INFILE"
COMMON="--quality=0.75 --exposure=-2.5 --peak=141 --fps=60000/1001"
COMMON="--exposure=-2.5 --peak=141 --fps=60000/1001"
SPEED_SMALL="veryslow"
SPEED_LARGE="medium"
SMALL="$COMMON --size=4m --preset=$SPEED_SMALL"
SMALL="$COMMON --size=4m --preset=$SPEED_SMALL --quality=0.75"
LARGE="$COMMON --size=25m --preset=$SPEED_LARGE"
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-small.mp4"

View file

@ -246,7 +246,6 @@ function convert( $src, $dest, $options ) {
'-c:v', 'libx264',
'-b:v', $bitrate,
'-preset', $preset,
'-bf', '16',
'-pass', '1',
'-passlogfile', $passlog,
'-g', $keyframeInt,
@ -263,7 +262,6 @@ function convert( $src, $dest, $options ) {
'-c:v', 'libx264',
'-b:v', $bitrate,
'-preset', $preset,
'-bf', '16',
'-pass', '2',
'-passlogfile', $passlog,
'-g', $keyframeInt,