Skip to content

Commit

Permalink
Follow the FB specification
Browse files Browse the repository at this point in the history
  • Loading branch information
DanieL authored and DanieL committed Nov 3, 2022
1 parent fb2b504 commit a31e514
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions plugin/Live/standAloneFiles/restreamer.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,9 @@ function startRestream($m3u8, $restreamsDestinations, $logFile, $robj, $tries =
. '-c:a copy -ac 1 -ar 44100 -b:a 128k '
. '-vcodec libx264 '
. '-pix_fmt yuv420p '
. '-vf scale=1080:-1 -r '.$global_fps.' -g 60 '
//. '-tune zerolatency '
. '-vf scale=-1:1080 '
. '-r '.$global_fps.' -g 60 '
. '-tune zerolatency '
. '-f flv -maxrate '.$global_maxbitrate.'k -preset veryfast -f flv "' . $value . '" ';
}
} else {
Expand All @@ -513,8 +514,9 @@ function startRestream($m3u8, $restreamsDestinations, $logFile, $robj, $tries =
. "-c:a copy -ac 1 -ar 44100 -b:a 128k "
. "-vcodec libx264 "
. "-pix_fmt yuv420p "
. "-vf scale=1080:-1 -r {$global_fps} -g 60 "
//. "-tune zerolatency "
. "-vf scale=-1:1080 "
. "-r {$global_fps} -g 60 "
. "-tune zerolatency "
. "-f flv -maxrate {$global_maxbitrate}k -preset veryfast -f flv \"{$restreamsDestinations[0]}\"";
}
}
Expand Down

0 comments on commit a31e514

Please sign in to comment.