From 0860e2e1fc67668b4afd232ccef41c8f05fcc951 Mon Sep 17 00:00:00 2001 From: Christopher Latza Date: Fri, 12 Jun 2020 17:21:53 +0200 Subject: [PATCH] change image typ --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index 959a015..34a524b 100644 --- a/start.php +++ b/start.php @@ -17,7 +17,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 -r 90 -t 4 -i '.$StreamURL.' -vf "fps=10,scale=350:-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" -pattern_type glob -loop 0 '.$fileName); + system('ffmpeg -r 90 -t 4 -i '.$StreamURL.' -vf "fps=10,scale=400:-1" -loop 0 '.$fileName); if(is_file($fileName)) {