1
0
Fork 0

change output options

This commit is contained in:
Christopher Latza 2020-06-12 15:19:57 +02:00
parent 6ba0094666
commit ef54e8f233
1 changed files with 1 additions and 1 deletions

View File

@ -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 -i '.$StreamURL.' -vframes 150 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 '.$fileName);
system('ffmpeg -i '.$StreamURL.' -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 -t 5 '.$fileName);
if(is_file($fileName))
{