diff --git a/start.php b/start.php index ff4c04a..959a015 100644 --- a/start.php +++ b/start.php @@ -16,7 +16,8 @@ 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=400:-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=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); if(is_file($fileName)) {