undo the bf and adjust rates for small/large
This commit is contained in:
parent
7317855d05
commit
f380334fe2
2 changed files with 2 additions and 4 deletions
4
pack-set
4
pack-set
|
@ -4,11 +4,11 @@ for INFILE in "$@"
|
||||||
do
|
do
|
||||||
echo "$INFILE"
|
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_SMALL="veryslow"
|
||||||
SPEED_LARGE="medium"
|
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"
|
LARGE="$COMMON --size=25m --preset=$SPEED_LARGE"
|
||||||
|
|
||||||
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-small.mp4"
|
pack-vid $SMALL "$INFILE" "${INFILE%.mp4}-small.mp4"
|
||||||
|
|
2
pack-vid
2
pack-vid
|
@ -246,7 +246,6 @@ function convert( $src, $dest, $options ) {
|
||||||
'-c:v', 'libx264',
|
'-c:v', 'libx264',
|
||||||
'-b:v', $bitrate,
|
'-b:v', $bitrate,
|
||||||
'-preset', $preset,
|
'-preset', $preset,
|
||||||
'-bf', '16',
|
|
||||||
'-pass', '1',
|
'-pass', '1',
|
||||||
'-passlogfile', $passlog,
|
'-passlogfile', $passlog,
|
||||||
'-g', $keyframeInt,
|
'-g', $keyframeInt,
|
||||||
|
@ -263,7 +262,6 @@ function convert( $src, $dest, $options ) {
|
||||||
'-c:v', 'libx264',
|
'-c:v', 'libx264',
|
||||||
'-b:v', $bitrate,
|
'-b:v', $bitrate,
|
||||||
'-preset', $preset,
|
'-preset', $preset,
|
||||||
'-bf', '16',
|
|
||||||
'-pass', '2',
|
'-pass', '2',
|
||||||
'-passlogfile', $passlog,
|
'-passlogfile', $passlog,
|
||||||
'-g', $keyframeInt,
|
'-g', $keyframeInt,
|
||||||
|
|
Loading…
Reference in a new issue