From f0286b220a0c310530a757ec198d6ab1cf9e9521 Mon Sep 17 00:00:00 2001 From: Christopher Latza Date: Fri, 12 Jun 2020 17:24:33 +0200 Subject: [PATCH] change image size --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index 992e7e3..2ab1d4b 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=8,scale=350:-1" -loop 0 -pix_fmt yuv420p '.$fileName); + system('ffmpeg -r 90 -t 4 -i '.$StreamURL.' -vf "fps=8,scale=400:-1" -loop 0 -pix_fmt yuv420p '.$fileName); if(is_file($fileName)) {