From 81a3e927cea213eed34ef7122b4753517b515793 Mon Sep 17 00:00:00 2001 From: Christopher Latza Date: Fri, 12 Jun 2020 16:44:13 +0200 Subject: [PATCH] rase framerate --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index 088fa33..ff4c04a 100644 --- a/start.php +++ b/start.php @@ -16,7 +16,7 @@ while(TRUE) echo "Checking stream and creating image...\n"; //system("ffmpeg -i ".$StreamURL." -vframes 1 -q:v 2 -vf scale=535:346 ".$fileName); - system('ffmpeg -t 3 -i '.$StreamURL.' -t 3 -vf "fps=10,scale=535:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 '.$fileName); + system('ffmpeg -r 90 -t 4 -i '.$StreamURL.' -vf "fps=10,scale=400:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 '.$fileName); if(is_file($fileName)) {