go back to fpsmax
This commit is contained in:
parent
b29d0a9fac
commit
a982d7d812
1 changed files with 5 additions and 4 deletions
9
pack-vid
9
pack-vid
|
@ -8,6 +8,7 @@
|
||||||
// Picks bitrate to match
|
// Picks bitrate to match
|
||||||
// Picks resolution based on bitrate target
|
// Picks resolution based on bitrate target
|
||||||
// 2-pass encoding with libx264 veryslow
|
// 2-pass encoding with libx264 veryslow
|
||||||
|
// fps limiter: warning requires newer ffmpeg than debian-buster
|
||||||
|
|
||||||
$args = $_SERVER['argv'];
|
$args = $_SERVER['argv'];
|
||||||
$self = array_shift( $args );
|
$self = array_shift( $args );
|
||||||
|
@ -233,8 +234,8 @@ function convert( $src, $dest, $options ) {
|
||||||
array_merge( [
|
array_merge( [
|
||||||
'-i', $src,
|
'-i', $src,
|
||||||
'-f', 'mp4',
|
'-f', 'mp4',
|
||||||
//'-fpsmax', $fps,
|
'-fpsmax', $fps,
|
||||||
'-r', $fps,
|
//'-r', $fps,
|
||||||
'-vf', $vf,
|
'-vf', $vf,
|
||||||
'-c:v', 'libx264',
|
'-c:v', 'libx264',
|
||||||
'-b:v', $bitrate,
|
'-b:v', $bitrate,
|
||||||
|
@ -250,8 +251,8 @@ function convert( $src, $dest, $options ) {
|
||||||
array_merge( [
|
array_merge( [
|
||||||
'-i', $src,
|
'-i', $src,
|
||||||
'-vf', $vf,
|
'-vf', $vf,
|
||||||
//'-fpsmax', $fps,
|
'-fpsmax', $fps,
|
||||||
'-r', $fps,
|
//'-r', $fps,
|
||||||
'-c:v', 'libx264',
|
'-c:v', 'libx264',
|
||||||
'-b:v', $bitrate,
|
'-b:v', $bitrate,
|
||||||
'-preset', $preset,
|
'-preset', $preset,
|
||||||
|
|
Loading…
Reference in a new issue