This commit is contained in:
Brooke Vibber 2025-10-05 16:44:25 -07:00
commit 4c115c76e6

View file

@ -376,7 +376,7 @@ function convert( $src, $dest, $options ) {
$vcodec = [ $vcodec = [
'-vcodec', $options['vcodec'] '-vcodec', $options['vcodec']
]; ];
switch ( $options['vcode'] ) { switch ( $options['vcodec'] ) {
case 'libvpx-vp9': case 'libvpx-vp9':
$vcodec[] = '-row-mt'; $vcodec[] = '-row-mt';
$vcodec[] = 1; $vcodec[] = 1;
@ -407,7 +407,7 @@ function convert( $src, $dest, $options ) {
'-i', $src, '-i', $src,
'-vf', $vf, '-vf', $vf,
'-fpsmax', $fps, '-fpsmax', $fps,
'-c:v', $vcodec, ], $vcodec, [
'-b:v', $bitrate, '-b:v', $bitrate,
], $preset, [ ], $preset, [
'-pass', '2', '-pass', '2',